Dear "Rodrigo Ribeiro Gurgel do Amaral", In message <[email protected]> you wrote: > > Does anyone know how to suppres the #pragma once warning "#pragma > once is obsolete"? I'm trying -Wno-deprecated > -Wno-deprecated-declarations, but no results.
The proper fix is to replace the non-standard "#pragma once" clauses by standard #include guards. > Unfortunately I can't upgrade my 3.1.1 for now. > Is there a more elegant solution than a 'grep -v' ? grep -v will probably not do what you expect - it is likely to trigeer other errors due to muliple inclusions. > Esta mensagem e qualquer anexo a ela são documentos confidenciais e ... > This message and any attachment are confidential information for the ... Please STOP posting such nonsense on public mailing lists. If you cannot switch it off in your company, then use any free mail account that does not add such crap. Thanks. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [email protected] Human beings were created by water to transport it uphill. _______________________________________________ eldk mailing list [email protected] http://lists.denx.de/mailman/listinfo/eldk
