c++ - error C2059: syntax error :'}' when adding c source files to ...

c++ - error C2059: syntax error :'}' when adding c source files to ...

瀏覽:858
日期:2025-09-29
C99 initialization style (designated initializers) is not supported in C++, see here or here. In other words, { .blah = 42 }; is illegal in C++. What you can ......看更多