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
I've noticed that if I execute cppfront.exe with the -import-std option on a .h file that doesn't contain any cpp2 code, then an #endif will be missing at the end of the file.
This file: color.h2
enum Color: uint8_t {
None = 0,
Black = 1,
White = 2,
};
I've noticed that if I execute
cppfront.exe
with the-import-std
option on a .h file that doesn't contain any cpp2 code, then an#endif
will be missing at the end of the file.This file:
color.h2
With the command below:
Gerenates the following cpp1 code with a missing
#endif
:@JohelEGP I think the PR #1319 fixes exactly this bug.
Do you see a cleaner way to fix this bug?
The text was updated successfully, but these errors were encountered: