Quantcast
Channel: Tools
Viewing all articles
Browse latest Browse all 91752

Forum Post: RE: Problem with mixing C and assembly codes on CC5.4 and Tiva launchpad

$
0
0

The construct 'extern "C"' is a C++ construct, and is illegal syntax in C code.  Rename your file to main.cpp or use the --cpp_default (also known as -fg) option to tell the compiler that .c files are actually C++ files.


Viewing all articles
Browse latest Browse all 91752

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>