Assertion Failed - Clang Compiler Exception in PSoC® Creator™ 3.1 and PSoC Creator 3.2 - KBA96713 | Cypress Semiconductor
Support & Community
Assertion Failed - Clang Compiler Exception in PSoC® Creator™ 3.1 and PSoC Creator 3.2 - KBA96713
Why do I get an “Assertion failed!” error in the code editor of PSoC Creator?
This is known issue with PSoC Creator 3.1 and 3.2. 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.
/*  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
This issue will be fixed in PSoC Creator 3.3