Home
Support

Knowledge Base

BSPs and drivers
Community resources
Product documentation
Questions?
Contact us

C++ build failure "fatal error: cstdalign: No such file or directory" during compilation/translation
 
________________________________________________________________________

Applicable Environment
________________________________________________________________________
  • Topic: qcc, C++
  • SDP: 7.1.0, QOS 2.2
  • Host: All supported host platforms
________________________________________________________________________

Issue
________________________________________________________________________

There is a build failure when compiling with C++17 (or C++14 on QOS):

"fatal error: cstdalign: No such file or directory" during compilation/translation

________________________________________________________________________

Solution
________________________________________________________________________

The standard C++ header <cstdalign> is not present or available when compiled with -std=c++14 (on QOS 2.2) or -std=c++17. The header contains no meaningful content and can be removed from source code without loss of functionality.

________________________________________________________________________
NOTE: This entry has been validated against the SDP version listed above. Use caution when considering this advice for any other SDP version. For supported releases, please reach out to QNX Technical Support if you have any questions/concerns.
________________________________________________________________________


Related Attachments
 None Found





Please contact us with your questions or concerns.