mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-04-12 06:49:02 +02: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:
@@ -9,7 +9,7 @@ std::set<IrDsymbol*> IrDsymbol::list;
|
||||
|
||||
void IrDsymbol::resetAll()
|
||||
{
|
||||
Logger::println("resetting %u Dsymbols", list.size());
|
||||
Logger::println("resetting %zu Dsymbols", list.size());
|
||||
std::set<IrDsymbol*>::iterator it;
|
||||
for(it = list.begin(); it != list.end(); ++it)
|
||||
(*it)->reset();
|
||||
|
||||
Reference in New Issue
Block a user