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

List:       kdevelop-bugs
Subject:    [Bug 140907] New: Compile error on Solaris 8 -
From:       stevee () zuken ! co ! uk
Date:       2007-01-30 16:56:12
Message-ID: 20070130175611.140907.stevee () zuken ! co ! uk
[Download RAW message or body]

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=140907         
           Summary: Compile error on Solaris 8 -
                    vcs/clearcase/clearcasemanipulator.cpp uses getline
                    which is not available
           Product: kdevelop
           Version: 3.4.0
          Platform: Compiled Sources
        OS/Version: Solaris
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kdevelop-bugs kdevelop org
        ReportedBy: stevee zuken co uk


Version:           3.4.0 (using KDE KDE 3.5.5)
Installed from:    Compiled From Sources
Compiler:          gcc 3.4.6 
OS:                Solaris

I get this compile error on Solaris 8:

gmake[4]: Entering directory \
`/inta/cad4/stevee/kde_build/kdevelop-3.4.0/vcs/clearcase' if /bin/bash \
../../libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. \
-I../.. -I../../lib/interfaces -I../../lib/interfaces/extensions \
-I../../lib/util -I/opt/kde/include -I/opt/qt/include   \
-I/gorbag/exta/cad/externals/SOLARIS/gnome2/include/glib-2.0 \
-I/gorbag/exta/cad/externals/SOLARIS/include  -DQT_THREAD_SUPPORT \
-I/opt/kde/include  -I/gorbag/exta/cad/externals/SOLARIS/gnome2/include/glib-2.0 \
-I/gorbag/exta/cad/externals/SOLARIS/include -I/opt/qt/include -D_REENTRANT \
-D_POSIX_PTHREAD_SEMANTICS -DUSE_SOLARIS -DSVR4  -Wno-long-long -Wundef \
-Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -I/opt/kde/include \
-I/gorbag/exta/cad/externals/SOLARIS/gnome2/include/glib-2.0 \
-I/gorbag/exta/cad/externals/SOLARIS/include -I/opt/qt/include -O2 \
-fomit-frame-pointer -DNeedVarargsPrototypes=1 -DNeedFunctionPrototypes=1 \
-pipe -fno-exceptions -mcpu=ultrasparc -Wno-non-virtual-dtor \
-fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE \
-DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION  -MT \
clearcasemanipulator.lo -MD -MP -MF ".deps/clearcasemanipulator.Tpo" -c -o \
clearcasemanipulator.lo clearcasemanipulator.cpp; \ then mv -f \
".deps/clearcasemanipulator.Tpo" ".deps/clearcasemanipulator.Plo"; else rm \
                -f ".deps/clearcasemanipulator.Tpo"; exit 1; fi
clearcasemanipulator.cpp: In member function `VCSFileInfoMap* \
ClearcaseManipulator::retreiveFilesInfos(const QString&)': \
clearcasemanipulator.cpp:98: error: `getline' was not declared in this \
scope

getline() is a gnu libc function that is not available in other libc \
implementations, so should not really be used in code that is intended to \
be portable. The man page for getline on linux says:

Both  getline() and getdelim() are GNU extensions.  They are available \
since libc 4.6.27.


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

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