Hello, I am developing a function that uses a boolean value as an argument, but the compiler seems unable to understand.
I have the function in a .C file named control.c
and the declaration is in the also named control.h
when I compile, there is a warning C2450 (expected ,) on the .h file.
I believe a pragma instruction will fix this?
BTW im using CW6.2
thanks in advance
Hello,
What type is your function argument? If this is a non-standard type, involving a typedef, perhaps the typedef is inaccessible because you have not included the required header file.
Regards,
Mac
Hello,
Never mind, I wasn´t including a .h file, I included it and now compiles and works perfectly!
Thanks for your help
Regards