|
Boost : |
Subject: Re: [boost] [exception] [type_traits] [move] warning: unrecognized #pragma GCC system_header
From: Krzysztof Czainski (1czajnik_at_[hidden])
Date: 2012-07-06 05:53:22
2012/7/5 Vicente J. Botet Escriba <vicente.botet_at_[hidden]>
> Le 05/07/12 18:09, Krzysztof Czainski a écrit :
>
>> 2012/7/5 Krzysztof Czainski<1czajnik_at_[hidden]>
>>
>> Hello,
>>>
>>> Below is a list of files, that contain:
>>> #if defined(__GNUC__)
>>> #pragma GCC system_header
>>> #endif
>>> which causes a warning on my TI compiler.
>>>
>>> E:\boost\include\boost-1_50_0\**boost\exception\all.hpp
>>>
>>> In other files, i.e. boost\integer.hpp, I've found this #pragma guarded
>>> against __GNUC__>= 4:
>>> #if defined(__GNUC__)&& (__GNUC__>= 4)
>>>
>>> #pragma GCC system_header
>>> #endif
>>> which doesn't cause a warning on my compiler, because it defines __GNUC__
>>> to 3.
>>>
>>> Could this be fixed in the files on the list above, or are there some
>>> __GNUC__ 3 compilers, that need this pragma to be enabled?
>>>
>>> Regards,
>>> Kris
>>>
>>> Similar question for boost/move.hpp and __attribute__((__may_alias__)) -
>> would the following change be welcome?
>>
>> Hi,
>
> I suggest you to create a ticket for each library/issue.
>
> Vicente
Ok, thanks, tickets 7094 and 7095 created.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk