[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-bugs-dist
Subject: [Bug 145425] New: Compile error on Solaris 8 - kdecore/fakes.c has a
From: stevee () zuken ! co ! uk
Date: 2007-05-14 14:43:52
Message-ID: 20070514164350.145425.stevee () zuken ! co ! uk
[Download RAW message or body]
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
http://bugs.kde.org/show_bug.cgi?id=145425
Summary: Compile error on Solaris 8 - kdecore/fakes.c has a
conflicting type for unsetenv
Product: kdelibs
Version: unspecified
Platform: Compiled Sources
OS/Version: Solaris
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
AssignedTo: coolo kde org
ReportedBy: stevee zuken co uk
Version: 3.90.1 (using KDE Devel)
Installed from: Compiled sources
Compiler: gcc 3.4.6
OS: Solaris
This is with version 3.90.1
I get this compile error on Solaris 8:
[ 1%] Building C object kdecore/CMakeFiles/kdecore.dir/fakes.o
/cad4/stevee/kde_build/kdelibs-3.90.1/kdecore/fakes.c:77: error: conflicting types \
for 'unsetenv' /cad4/stevee/kde_build/kdelibs-3.90.1/kde-build/kdecore/kdefakes.h:96: \
error: previous declaration of 'unsetenv' was here \
/cad4/stevee/kde_build/kdelibs-3.90.1/kdecore/fakes.c:77: error: conflicting types \
for 'unsetenv' /cad4/stevee/kde_build/kdelibs-3.90.1/kde-build/kdecore/kdefakes.h:96: \
error: previous declaration of 'unsetenv' was here
The prototype specifies unsetenv's return type as int but the definition has a return \
type of void. As the Linux version of unsetenv returns int I have changed the \
function to have a return type of int and return 0 on success or -1 on error. This \
allows it to compile.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic