windres handles #include suffixes?
Alon Bar-Lev
alon.barlev@gmail.com
Wed Feb 29 21:00:00 GMT 2012
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
More information about the Binutils
mailing list