Last active
July 13, 2017 05:06
-
-
Save Asher-/3f00e7e7b4159ed3057aee429f66aefc to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <type_traits> | |
| export module A; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import A; | |
| export module B; | |
| #include <type_traits> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /usr/local/bin/clang++ -stdlib=libc++ -arch x86_64 -fdiagnostics-show-template-tree -ftemplate-depth=512 -ftemplate-backtrace-limit=0 -std=c++1z -fmodules-ts -fprebuilt-module-path=/Users/asher/Projects/xcode/../•Modules -Wno-unused-command-line-argument -O0 -fasm-blocks -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk -F/Users/asher/Projects/•Products/Debug -MMD -MT dependencies -I/Users/asher/Projects/xcode/../strongai/test -I/Users/asher/Projects/xcode/../strongai -I/usr/local/include --precompile /Users/asher/Projects/xcode/Modules/A.cppm -o /Users/asher/Projects/xcode/../•Modules/A.pcm | |
| /usr/local/bin/clang++ -stdlib=libc++ -arch x86_64 -fdiagnostics-show-template-tree -ftemplate-depth=512 -ftemplate-backtrace-limit=0 -std=c++1z -fmodules-ts -fprebuilt-module-path=/Users/asher/Projects/xcode/../•Modules -Wno-unused-command-line-argument -O0 -fasm-blocks -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk -F/Users/asher/Projects/•Products/Debug -MMD -MT dependencies -I/Users/asher/Projects/xcode/../strongai/test -I/Users/asher/Projects/xcode/../strongai -I/usr/local/include --precompile /Users/asher/Projects/xcode/Modules/B.cppm -o /Users/asher/Projects/xcode/../•Modules/B.pcm |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| In file included from /Users/asher/Projects/xcode/Modules/B.cppm:7: | |
| /usr/local/include/c++/v1/type_traits:1246:37: error: template parameter redefines default argument | |
| template <class _Tp, unsigned _Ip = 0> _LIBCPP_CONSTEXPR size_t extent_v | |
| ^ | |
| /usr/local/include/c++/v1/type_traits:1246:37: note: previous default template argument defined here | |
| template <class _Tp, unsigned _Ip = 0> _LIBCPP_CONSTEXPR size_t extent_v | |
| ^ | |
| In file included from /Users/asher/Projects/xcode/Modules/B.cppm:7: | |
| /usr/local/include/c++/v1/type_traits:4420:35: error: template parameter redefines default argument | |
| template <class _Fn, class _Ret = void> | |
| ^ | |
| /usr/local/include/c++/v1/type_traits:4420:35: note: previous default template argument defined here | |
| template <class _Fn, class _Ret = void> | |
| ^ | |
| In file included from /Users/asher/Projects/xcode/Modules/B.cppm:7: | |
| /usr/local/include/c++/v1/type_traits:4433:35: error: template parameter redefines default argument | |
| template <class _Fn, class _Ret = void> | |
| ^ | |
| /usr/local/include/c++/v1/type_traits:4433:35: note: previous default template argument defined here | |
| template <class _Fn, class _Ret = void> | |
| ^ | |
| 3 errors generated. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment