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

List:       kde-core-devel
Subject:    Re: subdir "new" in kfile
From:       Stephan Kulow <coolo () kde ! org>
Date:       2000-01-08 13:25:49
[Download RAW message or body]

Mirko Sucker wrote:
> 
> Hello,
> somehow the subdirectory "new" in kdelibs/kfile confuses gcc. See:
> -------
> g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../kfile -I../kio -I../qk -I../dcop
>  -I../kdecore -I../kdeui -I/home/mirko/local/qt/include -I.
> -I/home/Mirko/local/kde/include -g -fno-exceptions -fno-rtti -fno-check-new
> -instances=explicit -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes
> -Wwrite-strings -Wno-long-long -frtti -Wp,-MD,.deps/kabapi.pp -c kabapi.cc
> -fPIC -DPIC -o kabapi.lo In file included from
> /usr/local/lib/gcc-lib/i586-pc-linux-gnu/2.95.1/../../../../include/g++-3/stl_algobase.h:52,
> from
> /usr/local/lib/gcc-lib/i586-pc-linux-gnu/2.95.1/../../../../include/g++-3/list:30,
> from addressbook.h:27,
> from kabapi.h:16,
> from kabapi.cc:14:
> /usr/local/lib/gcc-lib/i586-pc-linux-gnu/2.95.1/include/new.h:6: directory
> `../kfile/new' specified in #include
> ------
> It seems there is a include file named "new" in the g++ distribution. After
> renaming the subdirectory new to something different the error did no more
> happen.
> 
> May we rename this subdir? Unfortunately, removing it does not help, since cvs
> creates empty subdirectories on checkout.
> 
You have only read the first half of the man page, right? :)
try to put
update -dP
diff -u
cvs -qz6
checkout -P 

in your $HOME/.cvsrc file

Greetings, Stephan

-- 
Programmers, heed this: If someone starts asking you about
agricultural genomes, it's likely time to get a handler. 
                                zdnet.com about Torvalds

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

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