15 When a union is initialized with a brace-enclosed initializer, the braces shall only contain an initializer-clause for the first non-static data member of the union.
error: extended initializer lists only available with -std=c++0x or -std=gnu++0x
error: extended initializer lists only available with -std=c++0x or -std=gnu++0x
error: no match for 'operator=' in 'tableEntry->EntryHeader::uuid = {0, 0, 0, 2}'
note: candidates are: UUID& UUID::operator=(const UUID&)
Initialization of the variable during declaration seems to work as you described. Is there a way to actually assign a value to entry.uuid later (not during initialization)? the reason is EntryHeader does contain other fields too and I will not be able to initialize all of them during init time..
Thanks for the help vlad
-Pranava