[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: build error kdelibs3.5.1 kio
From: David Faure <faure () kde ! org>
Date: 2006-02-01 11:23:10
Message-ID: 200602011223.10563.faure () kde ! org
[Download RAW message or body]
On Wednesday 01 February 2006 10:46, Thiago Macieira wrote:
> Tobias wrote:
> > In file included from global.cpp:19,
> > from libkiocore_la.all_cpp.cpp:11:
> > ../../config.h: At global scope:
> > ../../config.h:900: error: expected constructor, destructor, or type
> > conversion before
> > "extern"
> > ../../config.h:900: error: expected `,' or `;' before "extern"
>
> What's on config.h line 900? Does it work if you build without
> --enable-final?
See #121105. I was able to investigate the pre-processed file and find out that \
config.h:900 isn't the problem at all, the problem comes from a stray "_PATH_MNTTAB" \
in global.cpp (and since it's the last thing before config.h, the parsing fails on \
config.h:900). No idea where that _PATH_MNTTAB comes from though (can anyone who \
reads pre-processed stuff better than me look at #121105?).
Looking at the pre-processed sources I noticed that the prototypes in config.h are \
seen many many times... To speed up compilation, shouldn't config.h have an include \
guard (#ifndef CONFIG_H_INCLUDED/#define CONFIG_H_INCLUDED)? Well maybe not possible
with autoconf, but something to do with the new build system(s) :)
--
David Faure, faure@kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic