Compiler Error C3139
'struct' : cannot export a UDT without members
You attempted to apply the export attribute to an empty UDT (user-defined type). For example:
// C3139.cpp
#include "unknwn.h"
[emitidl];
[module(name=xx)];
[export] struct MyStruct { // C3139 empty type
};
int main(){}
Pripomienky
https://aka.ms/ContentUserFeedback.
Pripravujeme: V priebehu roka 2024 postupne zrušíme službu Problémy v službe GitHub ako mechanizmus pripomienok týkajúcich sa obsahu a nahradíme ju novým systémom pripomienok. Ďalšie informácie nájdete na stránke:Odoslať a zobraziť pripomienky pre