Bug 28519 - unkillable, nonstandard warning
Summary: unkillable, nonstandard warning
Status: RESOLVED INVALID
Alias: None
Product: gcc
Classification: Unclassified
Component: c (show other bugs)
Version: 4.1.1
: P3 trivial
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-27 22:29 UTC by R. Clint Whaley
Modified: 2006-07-27 22:49 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description R. Clint Whaley 2006-07-27 22:29:39 UTC
My users are griping about the large numbers of warnings like:
>warning: the use of `tmpnam' is dangerous, better use `mkstemp'
that gcc generates on every single link.  Throwing the -w flag does not repress this message.  I am limited to ANSI C standard routines only, and so cannot make the switch to the non-standard routine mkstemp.  If gcc insists on warning about ANSI C standard function calls, it would be nice to have a way of turning them off.

Thanks,
Clint
Comment 1 Andrew Pinski 2006-07-27 22:49:31 UTC
GCC is not what is warning.  ld is warning because glibc tells it to warn.