Re: Miss head file diagnostic.h in plugin.h?

2010-11-27 Thread Ehren Metcalfe
>> the include order should generally start >> >> #include "config.h" >> #include "system.h" >> #include "coretypes.h" I've run into similar problems trying to port Dehydra to 4.6 (it works with 4.5) Here's the basic header structure which builds only because I'm commenting out a bunch of headers

Re: Processing global static (or const) variables

2010-04-05 Thread Ehren Metcalfe
recent checkout. Is there a way to disable the optimizing away of qualified variants? This seems to be a bug, especially with regard to record_references_in_initializer and record_references in cgraphbuild.c On Mon, Apr 5, 2010 at 10:20 AM, Richard Guenther wrote: > On Mon, Apr 5, 2010 at 3:50

Processing global static (or const) variables

2010-04-05 Thread Ehren Metcalfe
Hello, I'm trying to develop a dead code finder using gcc and mozilla's treehydra but I've hit a wall processing certain initializations of global variables. In order to mark a function declaration whenever its address is held in a file scope variable/table/structure I use code like this: -

Re: Problems compiling Mozilla with GCC 4.5

2009-11-25 Thread Ehren Metcalfe
I just changed it, Firefox now compiles with 4.5! Thanks for your help, Ehren On Wed, Nov 25, 2009 at 8:11 AM, Ehren Metcalfe wrote: > Yup, ReturnString is inline: > http://hg.mozilla.org/mozilla-central/file/d76583175408/accessible/src/atk/nsAccessibleWrap.h#l114 > > I'll ch

Re: Problems compiling Mozilla with GCC 4.5

2009-11-25 Thread Ehren Metcalfe
Yup, ReturnString is inline: http://hg.mozilla.org/mozilla-central/file/d76583175408/accessible/src/atk/nsAccessibleWrap.h#l114 I'll change it and try a build, Ehren On Wed, Nov 25, 2009 at 4:24 AM, Andrew Pinski wrote: > On Wed, Nov 25, 2009 at 1:17 AM, Andrew Haley wrote: >> >> Is the symbol

Problems compiling Mozilla with GCC 4.5

2009-11-24 Thread Ehren Metcalfe
I've recently come across a couple of issues trying to compile Firefox trunk with 4.5 (I have a very simple plugin that I need to run on mozilla-central). I've posted two bugs here http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42139 and here http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42171 I''m not