I think the CppUTest context is that Kevin is learning CppUTest, gcc, linking, makefiles... There are a lot of tools to know to be effective. I find that when you are learning a new network of ideas, it can be hard to even compose a search. It happens to me all the time in Ruby.
Kevin, we'll teach you to fish here. You've got to bait the hook and try to get the easy ones.
James
James Grenning - Author of TDD for Embedded C - pragprog.com/titles/jgade/
wingman-sw.com
wingman-sw.com/blog
twitter.com/jwgrenning
facebook.com/wingman.sw
On 24 Jan 2015, at 15:08, Heath Raftery wrote:
Maybe I’m missing something, but don’t you just want to add -w as the last option? That’s the universal gcc flag to disable all warnings. But I’m just answering a gcc question that could be answered by the simplest of Google searches. Is there a cpputest context to this?
Heath
On 20 Jan 2015, at 12:27 pm, kevin wang wan...@gmail.com wrote:
I use gcc as the compiler, and I want to disable all the warnings, how to do it in Makefile. Remove -Werror option is enough or not? how to remove it?
在 2015年1月19日星期一 UTC+8下午9:28:17,James Grenning写道:
This will be compiler dependent. For gcc it almost tells you the
compiler options in the [square brackets]For example this error/warning:
FakeTimeServiceTest.cpp:38:5: fatal error: use of old-style cast
[-Wold-style-cast]
LONGS_EQUAL(FAKE_TIME_INVALID, TimeService_GetMinute());
^ ~~~~~~~~~~~~~~~~~can be turned off by adding this compiler option: -Wno-old-style-cast
James Grenning - Author of TDD for Embedded C -
pragprog.com/titles/jgade/
wingman-sw.com
wingman-sw.com/blog
twitter.com/jwgrenning
facebook.com/wingman.sw
On 19 Jan 2015, at 2:37, kevin wang wrote:
There are some build warnings in my project, but i want to ignore them
and
pass the build. how to do it?--
You received this message because you are subscribed to the Google
Groups "cpputest" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to cpputest+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.--
You received this message because you are subscribed to the Google Groups "cpputest" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cpputest+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.