ANSI C89 and cmockery

50 views
Skip to first unread message

fasked

unread,
Oct 10, 2011, 11:05:04 AM10/10/11
to Cmockery
Hi everybody!

I need to test project where `-std=c89' compiler option is used.
I tried to compile tests and got errors about `ANSI C90 doesn't
support long long'. Then I tried to compile cmockery with `CC=c89'
flag and got more errors.

I browse cmockery source code and found out macros
LargestIntegralType. I changed it in configure script. But it didn't
help. I got errors about using new style comments (// instead /* */)
and other syntax errors.

How can I use cmockery framework in that project? Or I'll have to
patch it?

--
Best Regards,
Alexander Strebkov
Reply all
Reply to author
Forward
0 new messages