Issue 1649238: potential clash with C++ in ceval.h (original) (raw)

Issue1649238

Created on 2007-01-31 22:16 by jaroslov, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
ceval.h.diff jaroslov,2007-01-31 22:16 patch against future
Messages (4)
msg31159 - (view) Author: thechao (jaroslov) Date: 2007-01-31 22:16
There is a potential clash with future revisions of C++ in the file "ceval.h". On lines 52, 54, and 57 the word "where" is used. Future versions of C++ will have a "where" keyword (for concepts). I have a diff file (attached) that changes the word "where" to "location". I'm not sure if this is an appropriate name, but it certainly compiles.
msg66683 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2008-05-11 22:00
Lowering priority.
msg66731 - (view) Author: thechao (jaroslov) Date: 2008-05-12 16:12
This bug has been resolved. The new C++ keyword has been changed from "where" to "requires". I will go look for requires. I can either add other potential collisions here, or start a new bug. Other potential problems are "typedecl" and "constexpr".
msg66732 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2008-05-12 16:18
Okay, I'm closing this one. If you find further clashes, feel free to open a new bug. Thanks for the update!
History
Date User Action Args
2022-04-11 14:56:22 admin set github: 44535
2008-05-12 16🔞13 georg.brandl set status: open -> closedresolution: works for memessages: +
2008-05-12 16:12:22 jaroslov set messages: +
2008-05-11 22:00:29 georg.brandl set priority: normal -> lownosy: + georg.brandlmessages: +
2008-04-10 21:15:49 akuchling set keywords: + easy
2007-01-31 22:16:24 jaroslov create