Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- C:\Users\Computer\comp\sdl_pl-main>swipl-ld -shared test.cpp -o sdl
- test.bat : In file included from test.cpp:1:
- At line:1 char:11
- + .\test.bat <<<<
- + CategoryInfo : NotSpecified: (In file included from test.cpp:1::String)
- [], RemoteException
- + FullyQualifiedErrorId : NativeCommandError
- c:/program files/swipl/include/SWI-cpp.h:165:3: error: 'PlTerm::operator uint32_t() cons
- t' cannot be overloaded with 'PlTerm::operator term_t() const'
- 165 | operator uint32_t(void) const;
- | ^~~~~~~~
- c:/program files/swipl/include/SWI-cpp.h:158:3: note: previous declaration 'PlTerm::oper
- ator term_t() const'
- 158 | operator term_t(void) const
- | ^~~~~~~~
- c:/program files/swipl/include/SWI-cpp.h:786:10: error: redefinition of 'PlTerm::operato
- r uint32_t() const'
- 786 | __inline PlTerm::operator uint32_t(void) const
- | ^~~~~~
- c:/program files/swipl/include/SWI-cpp.h:158:3: note: 'PlTerm::operator term_t() const'
- previously defined here
- 158 | operator term_t(void) const
- | ^~~~~~~~
- g++.exe returned code 1
- *** swipl-ld exit status 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement