libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Status of the MSYS/MSVC port


From: Peter Rosin
Subject: Re: Status of the MSYS/MSVC port
Date: Fri, 30 Jan 2009 12:26:17 +0100
User-agent: Thunderbird 2.0.0.19 (Windows/20081209)

Den 2009-01-30 05:35 skrev Charles Wilson:
Ralf Wildenhues wrote:
Guys, if all you're working around is -Werror, then stop right now.
Just eliminate -Werror from $LTCC $LTCFLAGS and be done with it.
The cwrapper machinery, if it needs anything, then become simpler
and less work to maintain, not more.

Err...you're missing the point. We're trying to eliminate warnings under
std=c89 and std=c99 (and, for that matter, under "normal" conditions).
The way to detect whether we have successfully done so is to use std=c89
+ -Werror, and detect the failure.

"stripping out" -Werror...kinda makes eliminating warnings in cwrapper a
little difficult,

*snip*

                Client should either (a) stop telling us -std=c89, or
(b) update mingw-runtime. Either way, it's not *our* problem.

*snip*

The point as I see it, is that the cwrapper should just get out of the
way as much as possible. The user has supplied -std=c89 -Werror etc etc
*not* for cwrapper, but for the code (s)he is really compiling. So it
makes perfect sense to strip out -Werror -WX -std=c89 -Wall etc etc etc
when we are building the cwrapper program. But of course, it would be
useful to be able manipulate cwrapper flags in case of failure or for
testing purposes.

$1/50

Cheers,
Peter





reply via email to

[Prev in Thread] Current Thread [Next in Thread]