I used the "asm" keyword with the V1 version of CrossWorks but it no longer appears to work on V2. What should I do?
The asm keyword is a GNU C extension, the error is now occurring because CrossWorks V2 enables ANSI checking by default.
The solution is to either use the __asm__ keyword in place of the asm keyword or, alternatively, set the Compile > Enforce ANSI Checking project property to No to allow asm to work.
Comments
1 comment
Thank you. That did resolve that problem, but it looks like FreeRTOS is not maintaining this based upon your comment and and a host of compile errors after this was resolved. It seems that a lot of the lwip/xyz folders are not in synch with the makefile, I had to re-point a number of header file paths to get this to build, and once I did it does not run. I have moved on to a different tool set to get basic functionality tested, I may return to CrossWorks, but for the moment there are too many hurdles.
Please sign in to leave a comment.