I guess, I was hoping stlport might be supported by 'configure'.
guess, I would be happy to get into a debate about the relative
benefits of stlport vs. native stls, but it seems off point. And in my
case irrelevant, since I cannot take stlport out of everybody else's
stuff. Can't say I really disagree you, but with 6 build platforms and
a dozen or so test platforms, there may yet be some benefit to stlport
still. It's been a long time since we tried.
I did amend LDFLAGS and CXXFLAGS to try to pickup stlport and now I get:
g++ -c -o mysqlpp_cpool.o -I. -fPIC -DPIC
In file included from ./lib/beemutex.h:46,
./lib/exceptions.h:208: error: expected unqualified-id before '&' token
./lib/exceptions.h:208: error: expected `,' or `...' before '&' token
./lib/exceptions.h:208: error: ISO C++ forbids declaration of `parameter' with no type
./lib/exceptions.h:215: error: expected unqualified-id before '&' token
./lib/exceptions.h:215: error: expected `,' or `...' before '&' token
./lib/exceptions.h:215: error: ISO C++ forbids declaration of `parameter' with no type
./lib/exceptions.h:225: error: ISO C++ forbids declaration of `type_info' with no type
./lib/exceptions.h:225: error: invalid use of `::'
./lib/exceptions.h:225: error: expected `;' before '&' token
./lib/exceptions.h:227: error: expected `;' before "private"
./lib/exceptions.h:228: error: ISO C++ forbids declaration of `type_info' with no type
./lib/exceptions.h:228: error: invalid use of `::'
./lib/exceptions.h:228: error: expected `;' before '&' token
./lib/exceptions.h: In constructor `mysqlpp::BadOption::BadOption(const char*, int)':
./lib/exceptions.h:210: error: class `mysqlpp::BadOption' does not have any field named
./lib/exceptions.h:210: error: `ti' was not declared in this scope
./lib/exceptions.h: In constructor `mysqlpp::BadOption::BadOption(const
./lib/exceptions.h:217: error: class `mysqlpp::BadOption' does not have any field named
./lib/exceptions.h:217: error: `ti' was not declared in this scope
Which is even more puzzling, because it's complaining about an std::string declaration in
So there's some kind of order dependency at work here. where 'std' is not redefined in
I was hoping someone out there had successfully done this.
> Date: Mon, 11 Jan 2010 14:52:10 -0700
> From: mysqlpp@stripped
> To: plusplus@stripped
> Subject: Re: Building mysql++ with STLPort
> On 1/11/2010 2:28 PM, Herman Schultz wrote:
> > I tried configure --with-stlport=<path> but that didn't seem to have any
> Where do you see it documented that it should?
> > My problem is an unresolved symbol error in one our apps:
> > undefined reference to
> stlp_std::char_traits<char>, stlp_std::allocator<char> > const&,
> > Looks a mixing of stl and stlport to me.
> To make your compiler find the STLport headers before its standard C++
> library, something this should work:
> $ ./configure CXXFLAGS=-I/where/stlport/is --other-flags
> This is off the cuff, because I haven't used STLport since the days when
> most compiler vendors shipped broken STL implementations, or didn't ship
> STL at all. Why would one use STLport today?
> MySQL++ Mailing List
> For list archives: http://lists.mysql.com/plusplus
> To unsubscribe: http://lists.mysql.com/plusplus?unsub=1
Hotmail: Powerful Free email with security by Microsoft.