foralex / picoc

Automatically exported from code.google.com/p/picoc
0 stars 0 forks source link

Function entered (and printf) before it was called #71

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.run the attached file
2.Output shown below this message
3.

What is the expected output? Do not expect to see 'First 112'
What do you see instead? the printf's at the head of main before the call
to functions.

Also do not understand the error given for line 38.

What version of the product are you using? Latest download 8/10/10
On what operating system? Linux

Please provide any additional information below.
>> ./pico ftest.c
First 112

Set all task states
timer started
Third 234
First 112
Second 2
Third 234
First 112
Second 5
Third 234
First 112
Second 8
Third 234
First 112
ftest.c:38: wrong return type

Original issue reported on code.google.com by duncansh...@gmail.com on 11 Jan 2010 at 7:51

Attachments:

GoogleCodeExporter commented 9 years ago
Nice bug! Thanks for that.

Fixed in revision #407.

Original comment by zik.sale...@gmail.com on 25 Feb 2010 at 9:25