From: stephan b. <st...@ei...> - 2003-11-15 15:23:29
|
On Wednesday 12 November 2003 15:30, Rusty Ballinger wrote: > (oops, not sure this went the first time I sent it) Oops - i forgot that i disabled checking of my wanderinghorse mail account because of the spam traffic (200-400/day), and didn't get this til today. :/ > > - gcc 2.x doesn't have the necessary template class specialization > > support. This features is relied upon /heavily/, and there is no > > substitute for it. > > Hmm. Well, *not* checking it in doesn't seem real appealing :) so > check it in, & if I want code which uses serialization to work on my > Zaurus, I'll use the code from qub. That sounds fair enough. i've got to do a boatload of work on our production servers for the next few hours, then i'll check in what i've got. Speaking of zaurus: have you got a cross-compiler working? i've got an ipaq and the only reason i don't use it is because i haven't gotten cross-compiling working. (i'll admit that i gave up early, though.) The ipaq and zaurus both run ARMs. > (Since the API is almost > line-for-line compatible, it shouldn't be a big deal to switch back & > forth.) The code i've got isn't compatible at all, but writing a wrapper around it also wouldn't be too difficult, i think. An important notes about the namespace: The namespace is set at configure-time, and sed does the translation at make-time. This means that foo.cpp becomes ns.foo.cpp and that gets filtered to foo.cpp during the build. While this is a bit annoying for maintainance it allows me to use the code in different namespaces (currently 3 different ones) without any Makefile/code changes. i tried to use macro for this purpose but it caused me problems the first time i used the same lib in one project, but in different namespaces (there was really a valid reason to do so, but the macro approach doesn't support it). Also, the name of the s11n lib can be changed via the configure process, so multiple trees can use the lib and have their own copies with their own namespaces. (In fact, i share the classloader/s11n CVS trees amongst three projects at the moment.) Before i check it in, i must admit that i've been keeping a secret while i've been getting the code ready for prime-time. i haven't been wanting to mention it because i have such a bad habit of mentioning long before i ever finish, and then never finish. i didn't want to make that mistake this time, so i kept my mouth shut. The news is: s11n now has it's own web site: http://s11n.net -- ----- st...@ei... - http://www.einsurance.de Student: "Master, you must teach me the way of liberation!" Master: "Tell me who it is that binds you." Student: "No one binds me!" Master: "Then why do you seek liberation?" |