Juan Carlos Orozco

#pragma question

Discussion created by Juan Carlos Orozco on Feb 11, 2012
Latest reply on Feb 11, 2012 by Juan Carlos Orozco

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

Outcomes