The default marshalling for bool in C# is the BOOL type in
C. BOOL is just a typedef for a int. The code generated
contains an array of bool and the assignment of a new BOOL
value to a bool position in the array produces a warning.
This problem must be discussed.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=1263211
The default marshalling for bool in C# is the BOOL type in
C. BOOL is just a typedef for a int. The code generated
contains an array of bool and the assignment of a new BOOL
value to a bool position in the array produces a warning.
This problem must be discussed.
Logged In: YES
user_id=1311864
Add a cast to avoid the warning.
Wait to get rid of C# to definitively use bool.
Logged In: YES
user_id=1311864
Warning is only when compiling with MSVC.
Use codeblocks and GNU compiler :)