Matthew Mucker wrote: > Doh... I solved it. > > I had "myotherfile.asm" both as an #include from my main file, AND as a > source file in my project. > > This is bad: the file extension for include file is ".inc" for assembler and ".h" for C. Why? > When the compiler went to compile the file as a file in my project it did so > without the symbols defined in the first file. > > I removed the file as a source file in the project but kept it as an > #include and got the expected behavior. It all makes perfect sense to me > now! > Because an include file present in the project is not compiled, like an .asm, but the ide checks his date/time to know what asm must be recompiled. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist