Version number.....
Peter R. Torpman
peter.torpman@ks.ericsson.se
Thu Sep 3 10:50:00 GMT 1998
Hi!
I encountered a problem after installing the new 1.1a version of
"eggs"...
I don't know if it's a bug, but maybe you could help me avoiding the
problem...
I am using COM for Solaris developed by SAG and the following problem
occurs after switching from gcc 2.8.1 to egcs....
# ifdef SAG_COM /* .has. 01-01-96 packing support for different
platforms */
# if (__GNUC__ >= 2)
# pragma align 8
# else
/* NO PACKING AT ALL! */
/* **** __FILE__, __LINE__ not portable */
# endif
# else /* SAG_COM */
#pragma pack(8)
When compiling the above statement I get the following printout...
/proj/sea/software/dcom/SAG/dco/v3211/sdk/include/ms/pshpack8.h:33:
warning: ignoring pragma: align
My guess is that the version number of egcs (egcs-2.91.57) becomes
higher than 2
making the "if(__GNUC__>=2) statement come true and resulting in this
problem...
How do you suggest I avoid getting these warnings?
Best regards,
/ Peter R. Torpman
Software Designer
Ericsson Infotech
Karlstad, Sweden
begin:vcard
n:Torpman;Peter R.
x-mozilla-html:FALSE
org:Ericsson Infotech AB EIN/D/R
adr:;;;Karlstad;;S-65226;Sweden
version:2.1
email;internet:peter.torpman@ks.ericsson.se
title:Software Designer
tel;fax:+46 (0)54 193434
tel;work:+46 (0)54 193505 (863 3505)
x-mozilla-cpt:;0
fn:Peter R. Torpman
end:vcard
More information about the Gcc-bugs
mailing list