Menu

Question on Code in SDK

Help
Laurie
2022-11-28
2022-11-28
  • Laurie

    Laurie - 2022-11-28

    Hi,
    Got the following code in "common\ITypes.h":

        union
        {
            struct
            {
                float   x, y, z;
            };
            float   d[3];
        };
    

    It generates a level 4 C4201, a nonstandard extension used : nameless struct/union. Just curious, was this intended for use something that later turned out not to be required?
    Thanks.

     
  • Igor Pavlov

    Igor Pavlov - 2022-11-28

    There is no such file in 7-Zip source code.

     

    Last edit: Igor Pavlov 2022-11-28
  • Laurie

    Laurie - 2022-11-28

    Apologies! it was from another project!

     

Log in to post a comment.