The project (so far) is working well in the IDE, but we have a corporate requirement that the project be able to compile from a batch-file. So, I have to get the command-line compiler to compile the project.
This is a Zigbee project, so we are including the Freescale Zigbee files.
My approach is to create a file-list from the project's XML file, then feed all these files into the command-line compiler with the -M option to create a makefile. I can then modify the makefile as needed to get the thing to compile.
Currently having a problem with a pragma statement. The macphy.h file gives this error:
#pragma MESSAGE DISABLE C1420
Error: ^^^^^ # end of line expected
This error is repeated on several other files. Anyone have any ideas?
Thanks!
-Matt
已解决! 转到解答。
Hello
Here I would suggest you to generate the preprocessor listing for the source file you are building and check it.
I suspect the issue arises a couple of lines earlier.
Use option -Lp to generate the pre-processor listing.
CrasyCat
Hello
Here I would suggest you to generate the preprocessor listing for the source file you are building and check it.
I suspect the issue arises a couple of lines earlier.
Use option -Lp to generate the pre-processor listing.
CrasyCat