Bug 336183 [arm build] undefined reference _PrepareAndDispatch in xpcom_core
This is a GCC3.4 fix over a previous GCC fix it obsoletes the poorlly designed patch which was written for bug 307418 __attribute__(()) uses pairs of parens :( moa=timeless git-svn-id: svn://10.0.0.236/trunk@215961 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
a0d7552927
commit
ec4d37087d
@ -48,12 +48,12 @@
|
||||
/* This tells gcc3.4+ not to optimize away symbols.
|
||||
* @see http://gcc.gnu.org/gcc-3.4/changes.html
|
||||
*/
|
||||
#define DONT_DROP_OR_WARN __attribute__(used)
|
||||
#define DONT_DROP_OR_WARN __attribute__((used))
|
||||
#else
|
||||
/* This tells older gccs not to warn about unused vairables.
|
||||
* @see http://docs.freebsd.org/info/gcc/gcc.info.Variable_Attributes.html
|
||||
*/
|
||||
#define DONT_DROP_OR_WARN __attribute__(unused)
|
||||
#define DONT_DROP_OR_WARN __attribute__((unused))
|
||||
#endif
|
||||
|
||||
/* Specify explicitly a symbol for this function, don't try to guess the c++ mangled symbol. */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user