mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-02-11 09:23:13 +01:00
Fix format-string bugs by adding __attribute__((__format__)) in all applicable
places and fixing all warnings my gcc produced. Among other things, this should fix several segfaults (including one I just ran into).
This commit is contained in:
@@ -876,7 +876,7 @@ int main(int argc, char** argv)
|
||||
delete stripMD;
|
||||
|
||||
if(linker.LinkInModule(llvmModules[i], &errormsg))
|
||||
error(errormsg.c_str());
|
||||
error("%s", errormsg.c_str());
|
||||
delete llvmModules[i];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user