On Sat, Oct 3, 2009 at 10:19 AM, Peter Kasting <[email protected]> wrote:
> I checked in a commit this morning (27949) which caused linking errors for
> Linux.  I got "undefined reference to
> BlockedPopupContainer::kImpossibleNumberOfPopups" in a function which had
> already been using that constant successfully.
> The commit that fixed these was:
> http://src.chromium.org/viewvc/chrome?view=rev&revision=27950
> What I want to know is _why_ this commit fixed things.  Note how I'm still
> using the problematic symbol in the line just below the DCHECK_NE() I
> commented out.  Apparently using this symbol inside a DCHECK_NE() causes
> linking error on Linux.  I cannot fathom why this could be the case.

The compiler is within its rights to do so, since
that variable is declared as having storage.  Why
it would want to is another question.  I suppose
you could look at the generated code to see where the
reference comes from...

--~--~---------~--~----~------------~-------~--~----~
Chromium Developers mailing list: [email protected] 
View archives, change email options, or unsubscribe: 
    http://groups.google.com/group/chromium-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to