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

Bug#634200: gcc -Wall -Werror -lncurses fails to link wide-character ncursesw functions.



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 07/18/2011 02:31 AM, Kalle Olavi Niemitalo wrote:
> Ray Dillinger <bear@sonic.net> writes:
> 
>> display.c starts with the lines:
>>
>>
>> #define _X_OPEN_SOURCE_EXTENDED
> 
> There is an extra underscore after the X.
> Correcting that fixes the implicit-declaration error for me.

D'oh!  Okay, that's embarrassing, but it explains the whole
thing.  With the variable undefined, link warnings and errors
were generated, and either -Wall or -Werror was enough to catch
them and stop the build.

So, no bug?  Are we just looking at the agreed-upon semantics?

				Bear



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJOJEAgAAoJEAOzWkqOibfNA7YH/ih4BOZaYW4S3EO8HRjNMRiq
Rnp2E1+cyv3Bb7EqfkyXEL2y2RaudGPKZsioFoDVZq6+ONEpkmUCo2ygA0qZZiLB
Ega5h5AQtqO44Nm9Rq8QtUA7komQrQyVTC3Sj9Sy7H2VahIL2r6bgznbkaIQyLfb
8I8f5yr9QL6w2rTC/nU5J5L+LO5lASMG7g7kX5x/a9G4gWDM6gnbanx0mN2dEm1k
ZEj+02r0xk6fHS8hBqTNCXfsITD06Tjpj8G/vhgetysVHI2hsYZbJpFJpM/OeeL9
/4fw4NB1LsVwBQzaGdi7da4ke83+MvEbCbouAbaiWb9YhfwB42H5RvYi7Ie2F7w=
=QWry
-----END PGP SIGNATURE-----



Reply to: