Created
September 14, 2017 16:34
-
-
Save cmiles74/85722ed630d31fcef19045cf1e0f90bc to your computer and use it in GitHub Desktop.
Align Test 2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[cmiles@atari test]$ g++ -Wall -std=gnu++11 -fwrapv -O2 -o align align.cpp | |
align.cpp: In function ‘void func()’: | |
align.cpp:7:36: warning: requested alignment 256 is larger than 8 [-Wattributes] | |
alignas(256) unsigned char toot[7]; | |
^ | |
[cmiles@atari test]$ ./align | |
000000007efc274c | |
[cmiles@atari test]$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment