This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ggc 3.3.2 on aix 5.2 long long type?


I am not sure, but it seems that this should have been sent to 
gcc-help@gcc.gnu.org (it seems to be off-topic).

Is this scsi_buf.h a system header file?
Is it enough to have an empty c file with a single
  #include <scsi_buf.h>
to trigger the warning?

>From an experience I had 2 weeks ago with gcc+aix, gcc can't work
well on AIX-5.3 if it was compiled with AIX-5.1. It is probably correct
for AIX-5.2 as well. It has something to do with fixincludes that copies
system header files from AIX-5.1 (when installing gcc under AIX-5.1), and
then if you try to mix it with AIX-5.3 things become weird.

Are you sure that you have gcc compiled and installed on the same AIX
version that gives you the warnings? You can get this information by
running gcc -v (look for --host in the text). I don't have an AIX machine
near me at the moment, so I can't validate your problem.

It is also possible that fixincludes should be enhanced to fix your
system's scsi_buf.h.


-- 
Michael


Quoting "sabreman (sent by Nabble.com)" <lists@nabble.com>:

> 
> I getting the following warning with unsigned  long long world_wide_name;
> (scsi_buf.h). 
> 
> warning : integer constant is too large for "long" type. 
> 
> Is there a swich I need to add?   
> 
> I am just using: gcc -o test test.c 
> 
> Thanks!
> --
> View this message in context:
>
http://www.nabble.com/ggc-3.3.2-on-aix-5.2-long-long-type--t890504.html#a2308440
> Sent from the gcc - Dev forum at Nabble.com.
> 
> 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]