/var/www/restricted/ssh/stm32/www/stm32circle/ STM CircleOS forum / compiler error

Username:     
Password:     
             

Forum

# 1   2007-12-27 09:53:28 compiler error

friendzis
New member
Registered: 2007-12-26
Posts: 2

compiler error

hello,
if you think this is off-topic, i've thought this thread best suits here ;]
i have this line under *public variables*:

u8 line = 5;

and these two lines in *application handler*:
DRAW_DisplayTime(5, line)
DRAW_DisplayString(15, line, "string", 7);

in the first line everything is ok, but in second line i get this error:
error: called object '((u32 (*)(u32, u32))(*ptrCircle_API)[38])(5ul, line)' is not a function

this is strange because in both functions second parameter accepts 'u8 y'
any ideas would be apreciated :]

Offline

 

# 2   2007-12-27 11:10:35 compiler error

Francis
Administrator
From: France-Grenoble
Registered: 2007-07-09
Posts: 890

Re: compiler error

At a first sight, it seems that the semicolon is missing at the end of the first line (it could match with the description of the error).

Offline

 

# 3   2007-12-27 20:06:07 compiler error

friendzis
New member
Registered: 2007-12-26
Posts: 2

Re: compiler error

ah... you're right... thanks :] first monday after celebrating i don't see anything ;D

Offline

 

Board footer