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
{{ message }}
This repository was archived by the owner on May 6, 2026. It is now read-only.
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).
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 withEby a digit or an uppercase letter (say, by inserting_afterE).I'm using Arch Linux and gcc (GCC) 13.2.1.