> http://collective.valve-erc.com/index.php?news=1047073952-21295300

Sure does :)

Hopefully while they are porting HL, Valve will make the source more ANSI
compliant so it will compile on newer versions of GCC.

Here is a Perl script to do most of the work
http://www.edgefiles.com/index.php/file?id=586 Its fully public domain, no license
of any kind, so don't be shy ;)

The code generated compiles in VC++ as well, so only 1 source base is required.

It does get confused in a couple of spots, a problem with way it decides which
class it is processing. There were never enough of these to spur me to improve it
... or any complaints. This could just mean no one ever used it besides me though
:}

Yes I have mentioned this several times over the last year or two. I loathe having
to fix this every time another SDK comes out. If Valve used this it would be a one
off for them, and then no one would ever have to worry about it again ... ever ...
not even once ...

I haven't updated it in a while so the comments in relation to non ANSI compliant
variable definitions may be slightly off, but you'll get the idea anyway :}

Jeff

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to