bug-commoncpp
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

address@hidden: Bug#176525: libcommoncpp2-dev: error in declaration of n


From: Mark Purcell
Subject: address@hidden: Bug#176525: libcommoncpp2-dev: error in declaration of nanosleep]
Date: Tue, 14 Jan 2003 20:10:40 +1100
User-agent: Mutt/1.4i

Hi David (and others),

I have received this bug report for commoncpp2 and have included in the
Debian GNU/Linux package of commoncpp2.

You might like to investigate and include in the upstream source.

Thanks,
Mark

http://bugs.debian.org/libcommoncpp2

----- Forwarded message from Peter Toneby <address@hidden> -----

From: Peter Toneby <address@hidden>
Date: Mon, 13 Jan 2003 15:37:51 +0100
To: Debian Bug Tracking System <address@hidden>
X-Mailer: reportbug 2.10
Subject: Bug#176525: libcommoncpp2-dev: error in declaration of nanosleep
Reply-To: Peter Toneby <address@hidden>, address@hidden

Package: libcommoncpp2-dev
Version: 1.0.7-2
Severity: grave
Tags: upstream
Justification: renders package unusable

SAFE -DHAVE_CONFIG_H -D_GNU_SOURCE -c main.cpp -o main.o
In file included from /usr/include/cc++2/cc++/socket.h:50,
                 from main.cpp:2:
/usr/include/cc++2/cc++/config.h:524: declaration of `int nanosleep(const 
   timespec*, timespec*)' throws different exceptions
/usr/include/time.h:320: than previous declaration `int nanosleep(const 
   timespec*, timespec*) throw ()'
make: *** [main.o] Error 1

Adding "throw()" to the end (before ";") of /usr/include/cc++2/cc++/config.h 
fixes this.

/Peter Toneby

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux evelina 2.4.20 #1 SMP Mon Dec 16 15:08:49 CET 2002 i686
Locale: LANG=swedish, LC_CTYPE=sv_SE

Versions of packages libcommoncpp2-dev depends on:
ii  libcommoncpp2-1.0-0c102       1.0.7-2    A GNU package for creating portabl

-- no debconf information



----- End forwarded message -----

Attachment: pgpeq2228fphE.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]