diff options
| author | Tor Aamodt <[email protected]> | 2012-07-27 21:56:35 -0800 |
|---|---|---|
| committer | Andrew Boktor <[email protected]> | 2014-08-14 13:48:53 -0700 |
| commit | 13d2ba3af71a4110dbe24772555cdc3d341425a8 (patch) | |
| tree | 6c8412bc8971d17f4028b7c0168dd453d6f071f0 /cuobjdump_to_ptxplus/elf.l | |
| parent | 72633ca8a03300577cb2c175cddd9e7e88c0704f (diff) | |
- can compile on MacOSX (tested on Lion)... no regression testing done on Mac
- ptxplus ... edits to eliminate some warnings with older gcc about printfs without string literal
- eliminate warning about map (just too annoying while testing on Mac)
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 13560]
Diffstat (limited to 'cuobjdump_to_ptxplus/elf.l')
| -rw-r--r-- | cuobjdump_to_ptxplus/elf.l | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cuobjdump_to_ptxplus/elf.l b/cuobjdump_to_ptxplus/elf.l index 28c9752..61c4d02 100644 --- a/cuobjdump_to_ptxplus/elf.l +++ b/cuobjdump_to_ptxplus/elf.l @@ -129,14 +129,14 @@ hexdigit [[:digit:]abcdef] void elf_error(const char* message) { printf(" "); - printf(message); + printf("%s",message); printf(" near \""); - printf(yytext); + printf("%s",yytext); printf("\""); printf(" on line "); char line[5]; sprintf(line, "%i", yylineno); - printf(line); + printf("%s",line); printf("\n"); abort(); } |
