[ECOS] system ASSERT problem

Tomasz Kutyła tkutyla@marp.pl
Wed Mar 21 10:09:00 GMT 2007


Hi,

I got strange problem with my application. When I compile system with 
global compiler flags

-ml -m4 -O2 -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef 
-Woverloaded-virtual -ggdb -ffunction-sections -fdata-sections -fno-rtti 
-fno-exceptions -fvtable-gc -finit-priority -save-temps

I got info on terminal:

ASSERT FAIL: <3>mcard.c[193]int mcard_write_bmask() Valid card handler 
required
ASSERT FAIL: mcard.c             [ 193] int 
mcard_write_bmask()                                                                              
Valid card handler required

But when I remove '-O2' flag the problems doesn't occur. What can be the 
problem???

Thanks in advance for your help;)

Regards

Tommy

-- 
Tomasz Kutyla, Design Engineer
MARP Electronic Sp. z o.o., ul. Pachonskiego 9, 31-223 Krakow
tel. +48 12 415-87-29 (ext. 35), mob.: +48 693 112 191
fax +48 12 415-86-80

e-mail: tkutyla@marp.pl; http://www.marp.pl


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss



More information about the Ecos-discuss mailing list