Removal of -pedantic and -pedantic-errors from acinclude.m4.in

thiago at macieira.info thiago at macieira.info
Fri Aug 15 18:14:38 BST 2003


Alex Zepeda <zipzippy at sonic.net> wrote:
> I'd like to see those flags removed from acinclude.m4.in.
> 
> For whatever reason (like gcc sucking) gcc will trip over system
> headers
> on FreeBSD when -pedantic is used.  This has been the case for a
> while,
> but with the advent of gcc 3.3 these warnings needlessly became
> errors.
> 
> IMO there's no real reason why everyone should be forced to use
> -pedantic, 
> and it can always be specified with CFLAGS or CXXFLAGS if so desired.

I second that. Using gcc 3.3.1 on a standard Linux system, with glibc 2.3, a 
couple of modules in KDE don't get compiled because of errors. Removing the -
pedantic option from the command line solved the problem. I don't remember 
anymore whether the problem occurred within kernel headers included by glibc's 
includes or whether it was glibc headers. In any event, they are errors that 
shouldn't be happening.

--
Thiago
(using webmail while moving back to Brazil)




More information about the kde-core-devel mailing list