Advertisement
Guest User

Untitled

a guest
Sep 9th, 2023
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. C:\Users\Computer\comp\sdl_pl-main>swipl-ld -shared test.cpp -o sdl  
  3. test.bat : In file included from test.cpp:1:
  4. At line:1 char:11
  5. + .\test.bat <<<<
  6.     + CategoryInfo          : NotSpecified: (In file included from test.cpp:1::String)  
  7.    [], RemoteException
  8.     + FullyQualifiedErrorId : NativeCommandError
  9.  
  10. c:/program files/swipl/include/SWI-cpp.h:165:3: error: 'PlTerm::operator uint32_t() cons
  11. t' cannot be overloaded with 'PlTerm::operator term_t() const'
  12.   165 |   operator uint32_t(void) const;
  13.       |   ^~~~~~~~
  14.  
  15. c:/program files/swipl/include/SWI-cpp.h:158:3: note: previous declaration 'PlTerm::oper
  16. ator term_t() const'
  17.   158 |   operator term_t(void) const
  18.       |   ^~~~~~~~
  19. c:/program files/swipl/include/SWI-cpp.h:786:10: error: redefinition of 'PlTerm::operato
  20. r uint32_t() const'
  21.   786 | __inline PlTerm::operator uint32_t(void) const
  22.       |          ^~~~~~
  23. c:/program files/swipl/include/SWI-cpp.h:158:3: note: 'PlTerm::operator term_t() const'
  24. previously defined here
  25.   158 |   operator term_t(void) const
  26.       |   ^~~~~~~~
  27. g++.exe returned code 1
  28. *** swipl-ld exit status 1
  29.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement