stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Liviu Nicoara <nico...@roguewave.com>
Subject Re: Any ideas on these StdLib build errors?
Date Wed, 08 Feb 2006 22:50:51 GMT
Martin Sebor wrote:
> Nicole Willson wrote:

The equivalent (modulo anonymous struct) passes as well:

    struct foo {
        int flag;
    };

    static foo f = { 1 };
    int flags = f.flag;


Liviu

> 
> 
> Moving this struct out of the function (i.e., to namespace scope)
> fixes it in this test case. Try it in wcodecvt.cpp to see if it
> works there as well. It'll probably improve the code in general.
> 
> Martin
> 


Mime
View raw message