<div dir="ltr">Hi,<br><br>To reduce boilerplate code in an FFI implementation file I am trying to use the stringizing and string concatenation features of the C preprocessor. Since ghc passes '-traditional' to the preprocessor which disables these features I thought I can pass my own flags to the preprocessor like this:<br><br>{-# OPTIONS_GHC -optP -E -optP -undef #-}<br><br>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 ghc rather than appending to them. Is there a reason not to do that?<div><br></div><div><div>Is there any other better way to achieve this? What is the standard way of doing this if any? </div><div><br>-harendra</div></div></div>