[Ad-dev] [ADIC] #36: sage3.h complains about the include order

Sri Hari Krishna Narayanan snarayan at mcs.anl.gov
Tue Jan 26 14:50:41 CST 2010


I think it's a simple fix in ADIC. It's been comitted. Jean just has  
to confirm that it's gone away.
Krishna

On Jan 26, 2010, at 2:42 PM, Boyana Norris <norris at mcs.anl.gov> wrote:

> Jean,
>
> I'm not sure whether creating ADIC issues is the most expedient way  
> to go since all we can do is submit them onwards to ROSE developers.  
> The sage3.h (or rose.h) file is completely out of our control. If  
> you prefer to do this, we'll be happy to bounce them forward, but I  
> suspect that they may not fix such things quickly (or at all) since  
> they are warnings, not errors.
>
> Thanks!
> Boyana
>
> --
> Boyana Norris, Computer Scientist, Argonne National Laboratory
> norris at mcs.anl.gov, +1.630.252.7908, http://www.mcs.anl.gov/~norris/
>
> On Jan 26, 2010, at 2:33 PM, ADIC wrote:
>
>> #36: sage3.h complains about the include order
>> --------------------------------- 
>> +------------------------------------------
>> Reporter:  utke                 |       Owner:
>>    Type:  defect               |      Status:  new
>> Priority:  minor                |   Milestone:
>> Component:  Configuration/Build  |     Version:
>> Keywords:                       |
>> --------------------------------- 
>> +------------------------------------------
>>
>> Comment(by utke):
>>
>> also:
>> g++ -c -g -O2 -DHAVE_CONFIG_H -DHAVE_CONFIG_H -DOA_OPEN64
>> -DOA_IRHANDLETYPE_UL -I. -I.. -I/disks/utke/Argonne/Dev/RoseFE/ADIC
>> -I/disks/utke/Argonne/Dev/RoseFE/ADIC/runtime
>> -I/disks/utke/Apps/rose_inst/include
>> -I/disks/utke/Argonne/Dev/RoseFE/OpenAD/boost/include  -g  
>> StateManager.cpp
>> In file included from /disks/utke/Apps/rose_inst/include/rose.h:24,
>>                 from ../util/StateManager.hpp:31,
>>                 from StateManager.cpp:21:
>> /disks/utke/Apps/rose_inst/include/sage3.h:29:2: warning: #warning
>> "sys/stat.h should not have been included before the  
>> _FILE_OFFSET_BITS
>> macro is set! (use rose.h first...)"
>>
>> -- 
>> Ticket URL: <http://trac.mcs.anl.gov/projects/ADIC/ticket/36#comment:1 
>> >
>> ADIC <http://trac.mcs.anl.gov/projects/ADIC>
>> ADIC: Automatic Differentiation for C and C++
>> _______________________________________________
>> Ad-dev mailing list
>> Ad-dev at lists.mcs.anl.gov
>> https://lists.mcs.anl.gov/mailman/listinfo/ad-dev
>


More information about the Ad-dev mailing list