This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PR bootstrap/19818: fix libcpp warnings



On 09/02/2005, at 4:35 AM, Paolo Bonzini wrote:


I don't see why you added getopt and basename to the AC_CHECK_DECLS
list.  It's lbasename and getopt_long that are used, and the macros
that you defined are not referenced anywhere.

They are used in libiberty.h and getopt.h respectively. You have to add the AC_CHECK_DECLS otherwise they are declared as K&R function declarations and you get a "missing prototype" warning.


Please run the gengtype changes by Geoff Keating.

CCed now.

See the previous discussion on why you can't make GCed stuff 'const'.


Attachment: smime.p7s
Description: S/MIME cryptographic signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]