[Bug c++/114461] [C++26] P3034R1 - Disallow module declarations to be macros

2024-11-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114461 --- Comment #6 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:1ae24f7e0bdbdeaef9265a053a737af11f8393d2 commit r15-4848-g1ae24f7e0bdbdeaef9265a053a737af11f8393d2 Author: Jakub Jelinek Date: F

[Bug c++/114461] [C++26] P3034R1 - Disallow module declarations to be macros

2024-08-07 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114461 --- Comment #5 from Jakub Jelinek --- Oh, and I think there is another problem with that paper. module : private ; is valid, but the addition of https://eel.is/c++draft/cpp.module#2 stands in a way, the pp-tokens in that case don't match pp-modu

[Bug c++/114461] [C++26] P3034R1 - Disallow module declarations to be macros

2024-08-07 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114461 --- Comment #4 from Jakub Jelinek --- Perhaps given http://eel.is/c++draft/cpp.pre#7 makes the default for preprocessing directives not macro expanded unless otherwise specified, change http://eel.is/c++draft/cpp.module#3 "Any preprocessing toke

[Bug c++/114461] [C++26] P3034R1 - Disallow module declarations to be macros

2024-08-07 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114461 --- Comment #3 from Jakub Jelinek --- Oh, and #define SEMICOLON ; module SEMICOLON or #define EMTPY module EMPTY ; etc. >From what I understand, ; coming from macro was meant to be certainly ok since wg21.link/p1857r3 and the optional attribute

[Bug c++/114461] [C++26] P3034R1 - Disallow module declarations to be macros

2024-08-07 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114461 Jakub Jelinek changed: What|Removed |Added CC||jason at gcc dot gnu.org,

[Bug c++/114461] [C++26] P3034R1 - Disallow module declarations to be macros

2024-03-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114461 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2024-03-25 Ever confirmed|0

[Bug c++/114461] [C++26] P3034R1 - Disallow module declarations to be macros

2024-03-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114461 --- Comment #1 from Andrew Pinski --- .