[En-Nut-Discussion] !help! my code just exploded
Dominik Schröder
dominik.schroeder at bh-informativ.de
Tue Mar 16 15:34:26 CET 2010
Pedantic? No, it`s not me, it`s this s*** compiler :-)
No, we have some coding rules here, and therefore these Flags are needed...
Thanks for your help!
Bye,
Dominik
PS.: looking forward to MISRA C... :-(
-----Ursprüngliche Nachricht-----
Von: en-nut-discussion-bounces at egnite.de
[mailto:en-nut-discussion-bounces at egnite.de] Im Auftrag von Ole Reinhardt
Gesendet: Dienstag, 16. März 2010 15:03
An: Ethernut User Chat (English)
Betreff: Re: [En-Nut-Discussion] !help! my code just exploded
Hi!
> Sometimes ago I have changed a flag in Makevars.gcc from -Os to -O0. With
> the old version (-Os) It works. :-)
> But now, how can I set some flags (-O0 -pedantic -std=gnu99) for my
> Code/application?
> Can I set these Flags in my specific Makefile!?
Shure... Just add a
CFLAGS += -O0 -pedantic -std=gnu99
Why do you want -O0 and -std=gnu99? Just curious... Are you that
-pedantic ;-) ?
Bye,
Ole
--
Thermotemp GmbH, Embedded-IT
Embedded Hard-/ Software and Open Source Development,
Integration and Consulting
Geschäftsstelle Siegen - Steinstraße 67 - D-57072 Siegen -
tel +49 (0)271 5513597, +49 (0)271-73681 - fax +49 (0)271 736 97
Hauptsitz - Hademarscher Weg 7 - 13503 Berlin
Tel +49 (0)30 4315205 - Fax +49 (0)30 43665002
Geschäftsführer: Jörg Friedrichs, Ole Reinhardt
Handelsregister Berlin Charlottenburg HRB 45978 UstID DE 156329280
_______________________________________________
http://lists.egnite.de/mailman/listinfo/en-nut-discussion
More information about the En-Nut-Discussion
mailing list