First let me say that CLion is proving to be a fantastic tool for managing the huge mess of a code base that I recently inherited.
My question is: Is there a way to "teach" CLion about oddball language extensions? I'm working with the Analog Devices Blackfin family of processors. The vendor provided C/C++ compiler supports a handful of language extensions to help developers take advantage of the Blackfin architecture. For example the section keyword specifies in which type of memory a piece of code or data is located:
defines filter as a array of 1024 ints that is to be located in bank B of level one on board data memory. My problem is CLion flags this line with an error. It's not the end of the world, but it is annoying. I don't want to comment out the section statement because inevitably I'll forget to un-comment it before compilation.
Any thoughts or suggestions?