You are here

Assertion Failed - Clang Compiler Exception in PSoC® Creator™ - KBA96713 | Cypress Semiconductor

Support & Community

Assertion Failed - Clang Compiler Exception in PSoC® Creator™ - KBA96713

Last Updated: November 21, 2016
Version: 
*A
Question: 

Why do I get an “Assertion failed!” error in the code editor of PSoC Creator?

Why do I get an “Assertion failed!” error in the code editor of PSoC Creator?
Answer: 

This is a known issue with PSoC Creator. The problem happens only in files that end in a comment and don't contain a newline at the end of the file. To overcome the issue, add a new blank line immediately after one of the following lines at the end of the file.

/*[]*/

OR

/* [] END OF FILE */

The other work around for this issue is to disable semantic parsing from the options dialog in PSoC Creator (Tools > Options > Text Editor > General. > Semantic Parsing

Knowledge Base Tags: 

Provide feedback on this article

Browse KB By Product

Browse KB by Type