Hi Martin, Martin Leopold schrieb: > inline. The code is generated by the precompiler nesC and introduces a > very high number of superfluous function calls to be inlined by the > compiler. I've attached a cutout from a larger program that fails with > the following error: > > sdcc -mmcs51 --std-sdcc99 test_inline.c > -:0: error 20: Undefined identifier '__00010001' > at 28: error 20: Undefined identifier 'result'
you can get test_inline.c to compile if you use an empty macro for inline. This is most likely not what you want but f.e. sdcc --std-sdcc99 -Dinline="" test_inline.c should do it. Please file a report about the bug you found. Greetings, Frieder ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Sdcc-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sdcc-user
