bug-commoncpp
[Top][All Lists]
Advanced

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

Re: [thread.h] warning: unused parameter


From: Marcelo Dalmas
Subject: Re: [thread.h] warning: unused parameter
Date: Thu, 15 Aug 2002 11:48:07 -0300 (BRT)

address@hidden src]$ uname -a
Linux cli004 2.4.19 #9 Ter Ago 6 16:54:50 BRT 2002 i586 unknown

address@hidden src]$g++ -v
Reading specs from /usr/lib/gcc-lib/i386-conectiva-linux/2.95.3/specs
gcc version 2.95.3 20010315 (release) (conectiva)

[snip]
c++ -DHAVE_CONFIG_H -I. -I. -I. -I../intl  -I../src/controle -I../src/gui
-I../src/dispositivos -I../src/dados -I../src/sinal  -g -O2
-DLOCALEDIR="\"/usr/local/share/locale\"" -I/usr/local/include/fox
-DHAVE_XSHM -DHAVE_JPEG_H=1 -DHAVE_PNG_H=1 -DHAVE_ZLIB_H=1 -Wall -W
-Wmissing-prototypes -Woverloaded-virtual -Wformat
-I/usr/local/include/cc++2 -I/usr/local/include -D_GNU_SOURCE -c main.cpp
In file included from ../src/controle/controle.h:7,
                 from main.cpp:17:
/usr/local/include/cc++2/cc++/thread.h: In method `void
ost::Thread::notify(ost::Thread *)':
/usr/local/include/cc++2/cc++/thread.h:1141: warning: unused parameter
`class ost::Thread * th'
/usr/local/include/cc++2/cc++/thread.h: In method `void
ost::PosixThread::onSignal(int)':
/usr/local/include/cc++2/cc++/thread.h:1453: warning: unused parameter
`int signo'
[snip]

On Thu, 15 Aug 2002, Federico Montesino Pouzols wrote:

> > Hi,
> >
> > In thread.h header, at lines 1141 and 1453, there are 2 unused
> > parameters.
> >
>
>    Ummm, these methods are virtual. What compiler issues that
> warnings?
>
> > by
> >
> > Marcelo Dalmas
> > BRASMAP Sistemas
> > www.brasmap.com.br
> > Fone/Fax: (48) 333-2218 ramal 2114
>
>
>
>
>
> _______________________________________________
> Bug-commoncpp mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/bug-commoncpp
>

Marcelo Dalmas
BRASMAP Sistemas
www.brasmap.com.br
Fone/Fax: (48) 333-2218 ramal 2114







reply via email to

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