Skip to content

Comments

Feature cpp17 support#2

Open
tarberd wants to merge 3 commits intomasterfrom
feature-cpp17-support
Open

Feature cpp17 support#2
tarberd wants to merge 3 commits intomasterfrom
feature-cpp17-support

Conversation

@tarberd
Copy link
Member

@tarberd tarberd commented Apr 3, 2020

This pr is solving two issues for me.
First 758deba is solving a wrong behavior with the macro comment turning in to nothing instead of a space. This is a wrong behavior that conflicts with macro ISO and makes clang tools go crazy.

Second, in order to enable cpp17 I had to get rid of the register keyword. This keyword is deprecated since cpp11 and cpp17 hard deprecated it.
source: https://en.cppreference.com/w/cpp/language/storage_duration

tarberd added 3 commits March 19, 2020 17:46
This fix enables other terminals to be used through the TERM
variable.
Macro concatenation only worked on gcc, glang tool got pretty confused
and changed the comments inside the macro to a single space, witch after
some research I discovered it was the documented behaviour for a
comment inside a macro and that gcc was doing the resolution wrong.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant