This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFC] V3 PATCH: Add support for aligned storage


> That is what I did in the first place.  Then I changed my mind because
> 
>   1) that construct is already used in our own source code -- although
>      in a much more verbose form.

So is stdio_filebuf, and it's in ext.

>   2) Adding a #include <ext/storage> in src/globals.cc doesn't seem to
>      work.  I confess I didn't want to tweak the build flags further.
>      And based on observation 1) I reverted to the bits/storage.h
>      thingy. 

Hmmm. Still, you should move to ext, and work through this build issue.

See the way this is handled in src/globals.cc:

#include <ext/stdio_filebuf.h>

-benjamin


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]