You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My project has a file named etime.h. When the 'Macro Type' is set to 'Filename', this file is never included, because the auto-generated include guard is named ETIME.
The following code reproduces the bug:
main.cpp
#include <iostream>
#include "etime.h"
int main(){
greet();
}
Expected behavior: If the filename begins with e, avoid the macro name beginning with E by a digit or an uppercase letter (say, by inserting _ after E).
I'm using Arch Linux and gcc (GCC) 13.2.1.
The text was updated successfully, but these errors were encountered:
My project has a file named
etime.h
. When the 'Macro Type' is set to 'Filename', this file is never included, because the auto-generated include guard is namedETIME
.The following code reproduces the bug:
main.cpp
etime.h
Expected behavior: If the filename begins with
e
, avoid the macro name beginning withE
by a digit or an uppercase letter (say, by inserting_
afterE
).I'm using Arch Linux and gcc (GCC) 13.2.1.
The text was updated successfully, but these errors were encountered: