Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
EmBitz for Linux and C++?
#3
I will reuse this thread.
When .hpp file is included in a project, it is treated as .cpp file (included in compilation and linking).
If there is "#pragme once" in the beginning, I get "warning: #pragma once in main file" and linker reports:
"file format not recognized; treating as linker script" and finally gives up with "syntax error".

In order to successfully build a C++ project, I have to manual exclude the .hpp files from compilation and linking.
Is this normal?
Reply


Messages In This Thread
EmBitz for Linux and C++? - by davhak - 05-12-2021, 11:03 AM
RE: EmBitz for Linux and C++? - by embitz - 05-12-2021, 12:25 PM
RE: EmBitz for Linux and C++? - by PDonchev - 27-08-2022, 07:12 PM
RE: EmBitz for Linux and C++? - by Aroyer - 08-09-2022, 04:14 PM
RE: EmBitz for Linux and C++? - by PDonchev - 11-09-2022, 08:39 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)