Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- C:\Dev\STL\playground\modules>mkhessapp.bat
- C:\Dev\STL\playground\modules>del chess.hpp.obj chess.hpp.ifc chess.obj libchess.ifc libchess.ifc.obj libchess.lib chessapp.obj chessapp.exe
- C:\Dev\STL\playground\modules>set cflags=/nologo /EHsc /std:c++latest /FS /Zc:preprocessor /permissive- /experimental:newLambdaProcessor /showResolvedHeader /experimental:module
- C:\Dev\STL\playground\modules>cl /exportHeader "<chess.hpp>" /nologo /EHsc /std:c++latest /FS /Zc:preprocessor /permissive- /experimental:newLambdaProcessor /showResolvedHeader /experimental:module /Fo"chess.hpp.obj" /ifcOutput "chess.hpp.ifc" /I"."
- <chess.hpp>
- Примечание: <chess.hpp> разрешен в "C:/Dev/STL/playground/modules/chess.hpp"
- C:\Dev\STL\playground\modules>cl "libchess.ixx" /interface /c /nologo /EHsc /std:c++latest /FS /Zc:preprocessor /permissive- /experimental:newLambdaProcessor /showResolvedHeader /experimental:module /ifcOutput "libchess.ifc" /Fo"libchess.ifc.obj" /I"." /headerUnit chess.hpp=chess.hpp.ifc
- libchess.ixx
- C:\Dev\STL\playground\modules>cl "chess.cpp" /c /nologo /EHsc /std:c++latest /FS /Zc:preprocessor /permissive- /experimental:newLambdaProcessor /showResolvedHeader /experimental:module /Fo"chess.obj" /I"." /reference "libchess.ifc" /headerUnit chess.hpp=chess.hpp.ifc
- chess.cpp
- C:\Dev\STL\playground\modules>lib /out:"libchess.lib" "libchess.ifc.obj" "chess.obj" "chess.hpp.obj"
- Microsoft (R) Library Manager Version 14.28.29304.1
- Copyright (C) Microsoft Corporation. All rights reserved.
- C:\Dev\STL\playground\modules>cl "chessapp.cpp" /nologo /EHsc /std:c++latest /FS /Zc:preprocessor /permissive- /experimental:newLambdaProcessor /showResolvedHeader /experimental:module /Fo"chessapp.obj" /Fe"chessapp.exe" /reference libchess.ifc /headerUnit chess.hpp=chess.hpp.ifc /link libchess.lib
- chessapp.cpp
- C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview\VC\Tools\MSVC\14.28.29304\include\fstream(690): error C2668: std::use_facet: неоднозначный вызов перегруженной функции
- C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview\VC\Tools\MSVC\14.28.29304\include\iosfwd(145): note: может быть "const _Facet &std::use_facet<std::codecvt<_Elem,char,std::_Narrow_char_traits<_Elem,int>::state_type>>(const std::locale &)"
- with
- [
- _Facet=std::codecvt<char,char,std::_Narrow_char_traits<char,int>::state_type>,
- _Elem=char
- ]
- C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview\VC\Tools\MSVC\14.28.29304\include\xlocale(426): note: или "const _Facet &std::use_facet<std::codecvt<_Elem,char,std::_Narrow_char_traits<_Elem,int>::state_type>>(const std::locale &)"
- with
- [
- _Facet=std::codecvt<char,char,std::_Narrow_char_traits<char,int>::state_type>,
- _Elem=char
- ]
- C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview\VC\Tools\MSVC\14.28.29304\include\fstream(690): note: при попытке сопоставить список аргументов "(const std::locale)"
- C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview\VC\Tools\MSVC\14.28.29304\include\fstream(688): note: во время компиляции функции-члена класс шаблон "void std::basic_filebuf<char,std::char_traits<char>>::imbue(const std::locale &)"
- C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview\VC\Tools\MSVC\14.28.29304\include\fstream(1175): note: выполняется компиляция ссылки на экземпляр класс шаблон функции "std::basic_filebuf<char,std::char_traits<char>>"
- chessapp.cpp(8): note: выполняется компиляция ссылки на экземпляр класс шаблон функции "std::basic_ofstream<char,std::char_traits<char>>"
- C:\Dev\STL\playground\modules>chessapp.exe
- "chessapp.exe" не является внутренней или внешней
- командой, исполняемой программой или пакетным файлом.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement