>While getting to grips with C18 quite happily, I discovered >(http://users.aber.ac.uk/auj/voidmain.shtml) that using "void >main (void)" , as most C18 demo code does, is frowned upon. > >I'm asking any seasoned C18 philosophers out there; is this >cause for concern? I don't know enough about C yet to predict >whether this is really an issue or not, purely in the case of >using C18 for PIC development. It is not an issue, unless you are wanting your code to compile across multiple PIC families, e.g. code libraries like the USB code that Microchip supplies has conditional statements to take account of this behaviour in the C18 compiler, and the 'more normal' behaviour of the GNU based C30 & C32 compilers. It is not really a problem, as main() is called from the setup code, and doesn't expect to return from main(). On C30, if you do return from main(), a reset is invoked, I imagine a similar thing is done in C18. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist