tags 360479 + help
thanks

Hi

So how can you explain that it has been built on
alpha amd64 arm hppa hurd-i386 i386 ia64 kfreebsd-i386 mips mipsel powerpc s390 
sparc
with a previous version of g++ then?

Okay now I'll explain why I think this is a fault in g++:

The file is built with:
g++ -DHAVE_CONFIG_H -I. -I. -I..  -DLOCALEDIR=\"/usr/share/locale\"   -O2 -Wall 
-MT EmbData.o -MD -MP -MF EmbData.c

EmbData.c include common.h which contain the following lines:

#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

In config.h the following is defined:
/* Version number of package */
#define VERSION "0.5.1"

config.h have no ifdef at all.

If I include the config.h file just after I include common.h then
I get a warning of redefinitions so it has been included, but obviously
not all of it.

So isn't this valid c++ code?

If I #define VERSION inside the EmbData.c file it compile just fine, so
something is wrong with how the VERSION definition is handled.

And why have this worked before?

Regards,

// Ola

On Sun, Apr 02, 2006 at 10:39:17PM +0200, Falk Hueffner wrote:
> reassign 360479 steghide
> thanks
> 
> Ola Lundqvist <[EMAIL PROTECTED]> writes:
> 
> > reassign 360479 g++
> > thanks
> >
> > I have now looked over the code and can not possibly find out that
> > this is a fault in the code.
> 
> Uhm, reassining bugs to gcc if you don't understand the issue is not
> the way to go. Please get some analysis first and make sure it
> actually *is* a gcc bug, and provide a minimal test case.
> 
> -- 
>       Falk
> 

-- 
 --- Ola Lundqvist systemkonsult --- M Sc in IT Engineering ----
/  [EMAIL PROTECTED]                   Annebergsslingan 37        \
|  [EMAIL PROTECTED]                   654 65 KARLSTAD            |
|  http://www.opal.dhs.org           Mobile: +46 (0)70-332 1551 |
\  gpg/f.p.: 7090 A92B 18FE 7994 0C36 4FE4 18A1 B1CF 0FE5 3DD9  /
 ---------------------------------------------------------------


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to