This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: windres handles #include suffixes?
Hello Nick,
On Wed, Feb 29, 2012 at 1:33 PM, nick clifton <nickc@redhat.com> wrote:
> Hi Alon,
>
>
>> But this is a strange behavior, no?
>
>
> It is rather. ÂBut it is definitely explicitly coded this way. ÂSee the
> start of the binutils/rclex.c file where it describes the
> 'suppress_cpp_data' variable in a comment which reads:
<snip>
>
> If you can show that MSVC does do this then we will have to fix windres. On
> the other hand if MSVC behaves in the same way as windres, then you will
> need to modify your build environment instead.
>
Yes... it is stage and I tested MSVC and it behaves the same.
Or rather the windres behaves as crazy as Microsoft...
I missed that.
<snip>
>> When I am force to have .rc suffix, it is harder to control the
>> implicit rules...
>
>
> You could always use a .rch suffix.
>
Right.
I did not know this magic.
Works in both windres and MSVC.
Thanks!
Alon