[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: Removal of -pedantic and -pedantic-errors from acinclude.m4.in
From:       thiago () macieira ! info
Date:       2003-08-15 17:14:38
[Download RAW message or body]

Alex Zepeda <zipzippy@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)
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic