Quantcast
Channel: LabWindows/CVI topics
Viewing all articles
Browse latest Browse all 5372

error: expected ')'

$
0
0

Hello,

I have just installed CVI 2015 SP1 and I am trying to compile a CVI 8.5.1 project but I get a lot of "error: expected ')'" errors. For instance here:

BOOL LEM_502A_Init ()
{ 
    if (!Init ())
    {
        return FALSE;
    }
    // Initialization of main frame.
    if (!LEM_502A_Display_Init (FINAL_FRAME_PANEL))
    {
        return FALSE;
    }
    // Initialization of Golden Device frame.
    if (!LEM_502A_Display_Init (GOLDEN_DEVICE_PANEL))
    {
        return FALSE;
    }
    // Initialization of maintenance frame.
    if (!LEM_502A_Display_Init (MAINTENANCE_PANEL))
    {
        return FALSE;
    }
    Application_SetMode (AUTOMATIC_MODE); 
    return TRUE;
}

I get this error on each return FALSE; line. I tried adding brackets as in return (FALSE); but it makes no difference. Any idea?

 

Thanks.


Viewing all articles
Browse latest Browse all 5372

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>