Fix to enable compilation with clang and gcc other than Visual C++. by falgon · Pull Request #1 · meta-cpp/clang · GitHub
Skip to content

Fix to enable compilation with clang and gcc other than Visual C++.#1

Merged
meta-cpp merged 1 commit into
meta-cpp:masterfrom
falgon:master
Jun 15, 2019
Merged

Fix to enable compilation with clang and gcc other than Visual C++.#1
meta-cpp merged 1 commit into
meta-cpp:masterfrom
falgon:master

Conversation

@falgon

@falgon falgon commented Jun 11, 2019

Copy link
Copy Markdown

* In Visual C++ 15.2 earlier, Two-phase name lookup is not implemented, and it is disabled by default in 15.3 and later (FYI: https://devblogs.microsoft.com/cppblog/two-phase-name-lookup-support-comes-to-msvc/), so Visual C++ may be able to compile without the modification "Base::". However, this code is invalid in standard C++ (gcc and clang).
* "__declspec" is a Visual C++-specific extended attribute syntax.
@meta-cpp meta-cpp merged commit 53b479a into meta-cpp:master Jun 15, 2019
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.

2 participants