piranna / exceptions4c

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

WEXITSTATUS expects lvalue on Tiny C Compiler #5

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The test framework does not compile on Tiny C Compiler:

    testing.c:219: lvalue expected
    make: *** [testing.o] Error 1

Explanation:

Tiny C Compiler defines `WEXITSTATUS(status)` so it takes the *address* of the 
passed parameter. The function `run_test(testing.c:219)` does not pass 
`WEXITSTATUS` a proper lvalue, but the result of a function.

Thanks dreamlax for reporting :)

Original issue reported on code.google.com by guillermocalvo on 17 Jan 2011 at 3:25

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r213.

Original comment by guillermocalvo on 17 Jan 2011 at 3:34