On Sat, Oct 3, 2015 at 3:34 PM, Phil Blundell <[email protected]> wrote: > On Sat, 2015-10-03 at 12:55 -0700, Khem Raj wrote: >> VLAs in non POD data types like structures and unions >> are not a standard feature of C language and gcc has specific >> implementation which other compilers dont have specifically clang, and >> they refuse to implement it since its non standard. > > The reference to "POD" here is a bit confusing. By the generally > accepted meaning of the term, structs and unions would in fact be POD > just like any other C type. But you seem to be using the term here to > mean something along the lines of "non-aggregate type", which isn't a > usage I've previously encountered. > > This is particularly confusing in this context because there is a > different clang limitation which applies to VLAs where the > variable-length element is not POD, irrespective of whether it is inside > an aggregate or not, and someone reading your comment might be misled > into thinking that this was the issue here.
Yes, infact I should have said composite data types instead of non-POD data types. I will send a v2 which should clear this confusion. > p. > > > > -- > _______________________________________________ > Openembedded-devel mailing list > [email protected] > http://lists.openembedded.org/mailman/listinfo/openembedded-devel -- _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-devel
