On Wed, 21 Mar 2012, Jonathan "Duke" Leto wrote:

> Howdy,
> 
> I am interested to know which compiler(s) this code failed on.
> 
> Currently we test with gcc, g++ and clang, but those are all gcc-ish.

pbc_to_exe contains three independent code generators that must be
kept in sync:

    'generate_code_gcc'(infile, outfh)
    'generate_code_msvc'(infile, outfh)
    'generate_code'(infile, outfh)

Which one to use is determed by sub 'determine_code_type', which keys off 
config['gccversion'].  Any compiler that doesn't set gccversion will run 
into this problem.  I encountered it with Sun's compiler, but MSVC was out 
of sync too.  I didn't test it, but changed it to match anyway.

-- 
    Andy Dougherty              [email protected]
_______________________________________________
http://lists.parrot.org/mailman/listinfo/parrot-dev

Reply via email to