- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If you do something like `alignas(sizeof(NonPoTStruct))`, you get:
error : invalid alignment value specified by attribute
This says what is wrong, but isn't very useful. As a hopefully minor tweak, how about something like:
error : invalid alignment value (12) specified by attribute (not a power-of-two)
Would have saved me a bit of time.
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks Ian, yes makes sense. I'll file the feature request with the developers accordingly, appreciate much.
Kittur

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page