From kde-core-devel Fri Aug 15 17:14:38 2003 From: thiago () macieira ! info Date: Fri, 15 Aug 2003 17:14:38 +0000 To: kde-core-devel Subject: Re: Removal of -pedantic and -pedantic-errors from acinclude.m4.in X-MARC-Message: https://marc.info/?l=kde-core-devel&m=106096809232241 Alex Zepeda 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)