Archived
This forum has been archived. Please start a new discussion on GitHub.
The default value of struct member should being created in .h file
linkman
in Help Center
when define struct as this:
struct {
int x = 1;
}anystruct;
the init code being created in .cpp file, when define in dll, the define can not being exported. The default value of struct member should being created in .h file.
Ice version (Ice 3.4.1)
Compiler version (Visual Studio 2008)
Operating system (Windows xp)
struct {
int x = 1;
}anystruct;
the init code being created in .cpp file, when define in dll, the define can not being exported. The default value of struct member should being created in .h file.
Ice version (Ice 3.4.1)
Compiler version (Visual Studio 2008)
Operating system (Windows xp)
0
