You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What version of protobuf and what language are you using?
Version: master
Language: C++
What operating system (Linux, Windows, ...) and version?
Host: Windows 10
Cross-compiling for QNX v7.1
What runtime / compiler are you using (e.g., python version or gcc version)
QNX SDP 7.1 - QCC v8.3
What did you do?
Steps to reproduce the behavior:
Build CMake project for QNX
What did you expect to see
Compilation working. It stopped working after #8106 that removed sys/param.h.
What did you see instead?
Source code does not compile due to missing endian.h.
Anything else we should know about your project / environment
It works by replacing #include <endian.h> // __BYTE_ORDER
with #include <sys/platform.h> // __BYTE_ORDER
Actually, sys/param.h is not required and sys/platform.h is enough to enable compilation in files src\google\protobuf\stubs\port.h and src\google\protobuf\io\coded_stream.h.
The text was updated successfully, but these errors were encountered:
What version of protobuf and what language are you using?
Version: master
Language: C++
What operating system (Linux, Windows, ...) and version?
Host: Windows 10
Cross-compiling for QNX v7.1
What runtime / compiler are you using (e.g., python version or gcc version)
QNX SDP 7.1 - QCC v8.3
What did you do?
Steps to reproduce the behavior:
What did you expect to see
Compilation working. It stopped working after #8106 that removed sys/param.h.
What did you see instead?
Source code does not compile due to missing
endian.h
.Anything else we should know about your project / environment
It works by replacing
#include <endian.h> // __BYTE_ORDER
with
#include <sys/platform.h> // __BYTE_ORDER
Actually, sys/param.h is not required and sys/platform.h is enough to enable compilation in files
src\google\protobuf\stubs\port.h
andsrc\google\protobuf\io\coded_stream.h
.The text was updated successfully, but these errors were encountered: