Your message dated Fri, 29 Jun 2007 14:24:35 +0200
with message-id <[EMAIL PROTECTED]>
and subject line should be gone as well
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: gpsim-dev
Version: 0.20.14-7.3

Your package causes build failures in gpsim-lcd, gpsim-logic and
gpsim-led with recent versions of the gcc-snapshot package, i.e. a
pre-release of GCC 4.2.  The problem is that external variables are
defined both in a C and C++ context, as you can see in this simple
example:

42059:[EMAIL PROTECTED]: ~] /usr/lib/gcc-snapshot/bin/g++ -c t.cc
t.cc:1: error: previous declaration of 'int i' with 'C++' linkage
t.cc:4: error: conflicts with new declaration with 'C' linkage
42060:[EMAIL PROTECTED]: ~] cat t.cc
extern int i;

extern "C" {
        extern int i;
}

The specific example of gpsim-dev is:

1682:[EMAIL PROTECTED]: ~] /usr/lib/gcc-snapshot/bin/g++ 
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/gtk-1.2 -c 
test.cc
/usr/include/gpsim/pic-processor.h:147: error: previous declaration of 'int 
verbose' with 'C++' linkage
/usr/include/gpsim/interface.h:69: error: conflicts with new declaration with 
'C' linkage
zsh: exit 1     /usr/lib/gcc-snapshot/bin/g++ -I/usr/include/glib-1.2 
-I/usr/lib/glib/include
1683:[EMAIL PROTECTED]: ~] cat test.cc
#include <gpsim/pic-processor.h>
#include <gpsim/interface.h>
1684:[EMAIL PROTECTED]: ~]


According to http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27227#c8 this is
not valid, so please investigate.



> Automatic build of gpsim-lcd_0.1.1-11.1 on usurper by sbuild/amd64 0.46
...
> /bin/sh ./libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I. 
> -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include    -g 
> -O2 -Wall -c lcdgui.cc
> c++ -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/gtk-1.2 
> -I/usr/include/glib-1.2 -I/usr/lib/glib/include -g -O2 -Wall 
> -Wp,-MD,.deps/lcdgui.pp -c lcdgui.cc  -fPIC -DPIC -o lcdgui.lo
> /usr/include/gpsim/pic-processor.h:147: error: previous declaration of 'int 
> verbose' with 'C++' linkage
> /usr/include/gpsim/interface.h:69: error: conflicts with new declaration with 
> 'C' linkage
> lcdgui.cc: In function 'gchar** CreateXPMdataFromLCDdata(LcdDisplay*, char 
> (*)[7][6])':
> lcdgui.cc:83: warning: comparison between signed and unsigned integer 
> expressions
> lcdgui.cc:88: warning: comparison between signed and unsigned integer 
> expressions
> lcdgui.cc: In member function 'void LcdDisplay::update(GtkWidget*, guint, 
> guint)':
> lcdgui.cc:252: warning: comparison between signed and unsigned integer 
> expressions
> lcdgui.cc:253: warning: comparison between signed and unsigned integer 
> expressions
> lcdgui.cc: In member function 'void LcdDisplay::CreateGraphics()':
> lcdgui.cc:305: warning: unused variable 'style'
> lcdgui.cc: At global scope:
> lcdgui.cc:26: warning: 'xpm_template' defined but not used
> make[3]: *** [lcdgui.lo] Error 1

-- 
Martin Michlmayr
http://www.cyrius.com/


--- End Message ---
--- Begin Message ---
Hi

I am unable to reproduce this bug either. I rebuild the gpsim-lcd package with 
g++-4.2 without problems.
Therefore, I assume that this problem is gone as well.

Cheers
Steffen

Attachment: signature.asc
Description: This is a digitally signed message part.


--- End Message ---

Reply via email to