http://sourceware.org/bugzilla/show_bug.cgi?id=12017
Kib <slave2bob at yahoo dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |slave2bob at yahoo dot com --- Comment #1 from Kib <slave2bob at yahoo dot com> 2012-01-16 04:36:57 UTC --- (In reply to comment #0) > When building code that calls tmpnam, the compiler generates this warning: > "warning: the use of `tmpnam' is dangerous, better use `mkstemp'" It is actually the linker, not the compiler, generating the warning. And it is actually the C library, not the linker, that is the source of the warning: http://forum.osdev.org/viewtopic.php?p=20043#p20043 Nevertheless, you're correct that there needs to be a way to disable this warning, even if it's a mechanism that simply suppresses all warnings the libraries recommend. -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils