Hi Michael,

seems to be a compatibility problem of the gcc used by OS X. an you find an 
alternative way to access the data of std::vector as a block and send a patch?

Thanks

Oliver

-------- Original-Nachricht --------
> Datum: Thu, 19 May 2011 23:49:03 +0200 (CEST)
> Von: Michael Klein <[email protected]>
> An: QLandkarte GT <[email protected]>
> Betreff: Re: [Qlandkartegt-users] Release V 1.1.2

> Doesn't compile here (OS X 10.5, Apple gcc 4.0.1):
> 
> 3rdparty/map2gcm/main.cpp:676: error: 'class std::vector<JOCTET,
> std::allocator<JOCTET> >' has no member named 'data'
> make[2]: *** [3rdparty/map2gcm/CMakeFiles/map2gcm.dir/main.cpp.o] Error 1
> make[1]: *** [3rdparty/map2gcm/CMakeFiles/map2gcm.dir/all] Error 2
> make: *** [all] Error 2
> 
> vector::data() is non-standard.
> 
> Regards,
> Michael
> 
> -- 
> fjelljo.puffin.lb.shuttle.de:~ > uptime
> 23:44  up 6 days,  2:26, 4 users, load averages: 1.55 2.05 2.07
> 
> ------------------------------------------------------------------------------
> What Every C/C++ and Fortran developer Should Know!
> Read this article and learn how Intel has extended the reach of its 
> next-generation tools to help Windows* and Linux* C/C++ and Fortran 
> developers boost performance applications - including clusters. 
> http://p.sf.net/sfu/intel-dev2devmay
> _______________________________________________
> Qlandkartegt-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qlandkartegt-users

------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Qlandkartegt-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qlandkartegt-users

Reply via email to