Quantcast
Channel: Active questions tagged gcc - Stack Overflow
Viewing all articles
Browse latest Browse all 22002

how to fix the error: ‘::max_align_t’?

$
0
0

I get the error

"/usr/include/c++/5/cstddef:51:11: error: ‘::max_align_t’ has not been declared using ::max_align_t; ^"

So I should update the libraries because I find this solution:

"A workaround until libraries get updated is to include <cstddef> or <stddef.h> before any headers from that library."
I wrote some command on the Ubuntu terminal such as:

bash $ sudo apt-get install apt-filebash $ sudo apt-file updatebash $ apt-file search stddef.h

Then still the error exist.Thank you


Viewing all articles
Browse latest Browse all 22002

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>