Hmmm I never tried this - but it seems that the way out would be to allow
(in C) a thing like this :
struct test { int left; int right };
struct test var1={left:-1,right:-2};
This would take care of the need to observe order when initializing a
struct.. Even if it's not in gcc one could write a tool that does
preprocessing, automatically putting everything in the correct order..
Or a lint type tool (so that left is #defined to empty, but it checks
that the order is right).
Vladimir Dergachev
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.rutgers.edu
> Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html
>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html