Thanks Mathieu. This works pretty well for gcc (
https://gcc.gnu.org/onlinedocs/cpp/Traditional-macros.html) but sadly it
does not work for clang cpp as Brandon too pointed out earlier that clang
does not have a traditional mode.
-harendra
On 22 August 2016 at 02:01, Boespflug, Mathieu wrote:
>
On Sun, Aug 21, 2016 at 4:31 PM, Boespflug, Mathieu wrote:
> I ran into this very problem recently. Turns out -traditional knows string
> concatenation too. I seem to remember learning this by browsing the GHC
> source code, but now I can't find any occurrence of this pattern. But
> here's an exa
Hi Harendra,
I ran into this very problem recently. Turns out -traditional knows string
concatenation too. I seem to remember learning this by browsing the GHC
source code, but now I can't find any occurrence of this pattern. But
here's an example of how to do string concatenation with CPP in
-tra
On Sat, Aug 20, 2016 at 2:27 PM, Harendra Kumar
wrote:
> But "-optP" seems to only append to the flags that GHC already passes and
> gcc has no "-no-traditional" option to undo the effect of the
> "-traditional" that GHC has already passed. I think "-optP" should override
> the flags passed by gh