bug-commoncpp
[Top][All Lists]
Advanced

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

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


From: Federico Montesino Pouzols
Subject: Re: address@hidden: Bug#176525: libcommoncpp2-dev: error in declaration of nanosleep]
Date: Wed, 15 Jan 2003 13:04:58 +0100
User-agent: Mutt/1.4i

        Umm, we already fixed this putting an #ifdef __FreeBSD__
around the declaration, since it seems to be necessary only on
FreeBSD, due to weird posix defines.

On Tue, Jan 14, 2003 at 08:10:40PM +1100, Mark Purcell wrote:
> 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 -----



> _______________________________________________
> Bug-commoncpp mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/bug-commoncpp





reply via email to

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