bug-gnulib
[Top][All Lists]
Advanced

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

Re: Undefined reference to list module functions


From: Eric Blake
Subject: Re: Undefined reference to list module functions
Date: Sat, 27 Oct 2007 13:30:41 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.6) Gecko/20070728 Thunderbird/2.0.0.6 Mnenhy/0.7.5.666

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

According to iobrain ... on 10/27/2007 11:55 AM:
> I answer myself. I missed include config.h at begining of file. However,
> I think it could add at begining of gl_list.h, of the same way gl_list.c do!
> Thanks anyway and excuse me.

No, the gnulib policy is that <config.h> must be included first in all .c
files, and never in gnulib's .h files.  If you consistently follow this
rule in your projects, then you won't run into problems with inconsistent
parsing of gnulib .h files.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHI5Hh84KuGfSFAYARAhEvAKCDH8gqlJ2EhqV23dVW6N+jRsl0mACeKJRT
y4V0e/mFu9tBlXTiKx73G1c=
=4zWM
-----END PGP SIGNATURE-----




reply via email to

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