This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Build libgcc_s on Windows
On Thu, Sep 4, 2008 at 6:19 PM, NightStrike <nightstrike@gmail.com> wrote:
> On 9/3/08, Danny Smith <dansmister@gmail.com> wrote:
>> > * gthr-win32.h (CONST_CAST2): Added.
>>
>> This part is not needed since it was fixed at r139927
>> http://gcc.gnu.org/ml/gcc-cvs/2008-09/msg00085.html
>
> I don't mean to question things, but I am instead more curious. Why
> define it here as opposed to ensuring that system.h gets included?
> That way, you don't have the same thing defined in two different
> places.
>
gthr-win32.h is a public header that gets installed as gthr-default.h
in libstc++ include tree.
"system.h" is an internal header for gcc build.
Danny