cygwin dbus port patches

Thiago Macieira thiago at kde.org
Sun Jun 13 11:38:21 PDT 2010


Em Domingo 13. Junho 2010, às 19.27.51, Yaakov (Cygwin/X) escreveu:
> > > Why did you add -Werror?
> 
> There are some flags which GCC allows but have no effect on Cygwin and
> therefore generate warnings as such.  This includes -fPIC and
> -fvisibility*.  Adding the -Werror to cc_supports_flag makes sure that
> the flag is truly supported and necessary.

The problem is that this will cause false-negatives when building code that is 
valid.

I've seen this before, that in maintainer mode there are a couple of extra 
warnings enabled like the prototype warning.

If adding an option produces a warning, then the option is supported.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
  Senior Product Manager - Nokia, Qt Development Frameworks
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freedesktop.org/archives/dbus/attachments/20100613/fb8c67f4/attachment-0001.pgp>


More information about the dbus mailing list