We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
There is a bug in gcc compiler ( http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51245 ) which is reported as fixed but I still have problem with it using gcc version 4.7.3 building snap.
I guess changing the code can solve the issue:
int n = 1; // little endian if true if(*(char *)&n == 1) {...}
The text was updated successfully, but these errors were encountered:
8b65ebd
Merge pull request #28 from milani/master
2e7dbdf
Fix #26, Change in endianness detection due to gcc compiler bug
No branches or pull requests
There is a bug in gcc compiler ( http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51245 ) which is reported as fixed but I still have problem with it using gcc version 4.7.3 building snap.
I guess changing the code can solve the issue:
The text was updated successfully, but these errors were encountered: