This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Link time checking for incompatible flags
- From: Ian Lance Taylor <ian at wasabisystems dot com>
- To: Mike Stump <mrs at apple dot com>
- Cc: Alan Modra <amodra at bigpond dot net dot au>, Rahul Joshi <rujoshi at uiuc dot edu>, gcc at gcc dot gnu dot org
- Date: 22 Apr 2004 08:17:35 -0400
- Subject: Re: Link time checking for incompatible flags
- References: <D1A770FD-9453-11D8-97F8-003065BDF310@apple.com>
Mike Stump <mrs@apple.com> writes:
> Ah, but it can still be done. It does compare size, so one merely has
> to encode the value into the size instead of the contents of the
> section.
The resulting warning message would definitely leave something to be
desired. The user would have to tie
ld: foo.o: warning: duplicate section `.gcc.options.fshort-enums' has different size
back to what really happened.
Ian