There's a bug in the nightly 04-26-2020...
If in a file, a line starts with
//-----
when you start to compile it will becomes:
//---- --------------------------------------------------------------------------------------------------------
Note: if there's only 1 hyphen after the double slashes... it'll be fine... only happens with at least 2 hyphens. Also, if there's a space before the hyphens, then it is still fine.
Worse, in a header file, if the first line has
//------
then CB will insert another header guard at the top... for example:
before:
//-------- #ifndef MAIN_H_INCLUDED #define MAIN_H_INCLUDED // some codes #endif // MAIN_H_INCLUDED
then, if you compile, it will become:
#ifndef HEADER_E7080777ACEECF03 #define HEADER_E7080777ACEECF03 //---- -------------------------------------------------------------------------------------------------------- #ifndef MAIN_H_INCLUDED #define MAIN_H_INCLUDED // some codes #endif // MAIN_H_INCLUDED #endif // header guard
And if you put in another slashes and hyphens on the very top... another header guard inserted again... and so on..
Ok.. I found out from the C::B forum that the problem is from the plugin tidycmt and header guard plugins... If they are disabled, the problem goes away...
Header guard has been modified so it is disabled by default