comparison dmd/attrib.c @ 1372:229e02867307

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).
author Frits van Bommel <fvbommel wxs.nl>
date Sun, 17 May 2009 00:15:25 +0200
parents e961851fb8be
children 336faed34424
comparison
equal deleted inserted replaced
1371:967d28b7febe 1372:229e02867307
981 { 981 {
982 sc->module->llvmForceLogging = true; 982 sc->module->llvmForceLogging = true;
983 } 983 }
984 else 984 else
985 { 985 {
986 error("command '%s' invalid"); 986 error("command '%s' invalid", expr->toChars());
987 fatal(); 987 fatal();
988 } 988 }
989 } 989 }
990 990
991 // pragma(llvm_inline_asm) { templdecl(s) } 991 // pragma(llvm_inline_asm) { templdecl(s) }