namespaces in libasync?
Emil Ong <[email protected]> Wed, 15 Dec 2004 12:29:05 -0800
| Newsgroups | gmane.comp.file-systems.sfs.general |
|---|---|
| Message-ID | <[email protected]> |
I've started using libasync in a project where I'm also using the STL and apache's log4cxx. It turns out I have to do some special wrangling of libasync to get everything to play nice. First, I have to make sure I include the libasync headers before the STL headers or else the str class has trouble. Second, I have to undefine warn and fatal macros to keep them from interferring with log4cxx. It seems like both of these problems could be addressed by putting libasync (and perhaps the rest of the sfs code) into its own namespace. Any chance of that happening? :-) I can prepare a patch if someone wants give me a namespace hierarchy suggestion. Thanks, Emil