Help for .h to D pain?

jfd jfd at nospam.com
Fri Nov 12 07:50:57 PST 2010


== Quote from div0 (div0 at sourceforge.net)'s article
> On 12/11/2010 13:21, div0 wrote:
> > On 12/11/2010 04:01, jfd wrote:
> >>
> >> Help, anyone? Thank you.
> >
> > The easiest way is to simply compile a one liner C module.
> > Then you get all the necessary stuff included and all the irritating
> > macros stripped out and converted to what they are actually supposed to
> > be. You can then probably run htod successfully; even if not it's much
> > easier converting the code by hand.
> >
> Doh, I forgot the most important bit:
> Use the keep preprocessed file option of your compiler.
> for gcc I think it's -E; in visual studio it's one of the options on the
> Preprocessor properties page.

This LLVM video at GoogleTechTalks illustrates my "pain index" -- in charts!

Please see video starting at time 0:38:14:

http://www.youtube.com/watch?v=VeRaLPupGks

Thanks for the help!


More information about the Digitalmars-d mailing list