Re: Compiling protocol buffers 2.0.3 with sun studio 11

2009-05-29 Thread Monty Taylor
Kenton Varda wrote: > PS. Did you see the patch on issue 105 for ptrdiff and offsets_ ? > > > Yeargh, I wish I could tell the code site to e-mail me whenever someone > submits an issue, because I always forget to go look. Yeah. I completely agree... It doesn't seem to email on updates eithe

Re: Compiling protocol buffers 2.0.3 with sun studio 11

2009-05-27 Thread Kenton Varda
Submitted as rev 151. On Wed, May 27, 2009 at 5:44 PM, Monty Taylor wrote: > PS. Did you see the patch on issue 105 for ptrdiff and offsets_ ? > Yeargh, I wish I could tell the code site to e-mail me whenever someone submits an issue, because I always forget to go look. > > === modified file

Re: Compiling protocol buffers 2.0.3 with sun studio 11

2009-05-27 Thread Monty Taylor
Kenton Varda wrote: > Thanks for the patch, Monty. > > Unfortunately it looks like it has been mangled somewhere in flight. > Can you send it as an attachment instead? No problem! Here you go. Monty PS. Did you see the patch on issue 105 for ptrdiff and offsets_ ? --~--~-~--~~---

Re: Compiling protocol buffers 2.0.3 with sun studio 11

2009-05-27 Thread Kenton Varda
Thanks for the patch, Monty. Unfortunately it looks like it has been mangled somewhere in flight. Can you send it as an attachment instead? On Thu, May 21, 2009 at 11:01 AM, Monty Taylor wrote: > Kenton Varda wrote: > > On Wed, May 20, 2009 at 12:58 PM, Monty Taylor >

Re: Compiling protocol buffers 2.0.3 with sun studio 11

2009-05-21 Thread Monty Taylor
Kenton Varda wrote: > On Wed, May 20, 2009 at 12:58 PM, Monty Taylor > wrote: > > Works fine then, as I'm using it pretty consistently with Sun Studio - > guess it's just the pedanticness. > > > Note that the whole "once" thing is new in 2.1.0 -- you've teste

Re: Compiling protocol buffers 2.0.3 with sun studio 11

2009-05-21 Thread Kenton Varda
On Wed, May 20, 2009 at 12:58 PM, Monty Taylor wrote: > Works fine then, as I'm using it pretty consistently with Sun Studio - > guess it's just the pedanticness. Note that the whole "once" thing is new in 2.1.0 -- you've tested that one, right? --~--~-~--~~~---~--~

Re: Compiling protocol buffers 2.0.3 with sun studio 11

2009-05-20 Thread Monty Taylor
Kenton Varda wrote: > > > On Wed, May 20, 2009 at 10:44 AM, Monty Taylor > wrote: > > Kenton Varda wrote: > > > > > > On Wed, May 20, 2009 at 12:35 AM, > >

Re: Compiling protocol buffers 2.0.3 with sun studio 11

2009-05-20 Thread Kenton Varda
On Wed, May 20, 2009 at 10:44 AM, Monty Taylor wrote: > Kenton Varda wrote: > > > > > > On Wed, May 20, 2009 at 12:35 AM, > > wrote: > > > > "./google/protobuf/stubs/once.h", line 114: Warning (Anachronism): > > Formal argument 2 of type extern "C" voi

Re: Compiling protocol buffers 2.0.3 with sun studio 11

2009-05-20 Thread Monty Taylor
Kenton Varda wrote: > > > On Wed, May 20, 2009 at 12:35 AM, > wrote: > > "./google/protobuf/stubs/once.h", line 114: Warning (Anachronism): > Formal argument 2 of type extern "C" void(*)() in call to pthread_once > (_once*, extern "C" void(*)())

Re: Compiling protocol buffers 2.0.3 with sun studio 11

2009-05-20 Thread Kenton Varda
On Wed, May 20, 2009 at 12:35 AM, wrote: > "./google/protobuf/stubs/once.h", line 114: Warning (Anachronism): > Formal argument 2 of type extern "C" void(*)() in call to pthread_once > (_once*, extern "C" void(*)()) is being passed void(*)(). This warning seems to be saying that pointers to fun

Re: Compiling protocol buffers 2.0.3 with sun studio 11

2009-05-20 Thread Monty Taylor
cosmin.cremare...@gmail.com wrote: > I'm using libtool v2.2.6 > > To make sure that protobuf always links to stlport I added CXXFLAGS="- > library=stlport4" to the configure command. Well... you shouldn't need to do that, we're forcing that on in configure anyway. :) > At the end I get the same

Re: Compiling protocol buffers 2.0.3 with sun studio 11

2009-05-20 Thread cosmin . cremarenco
I'm using libtool v2.2.6 To make sure that protobuf always links to stlport I added CXXFLAGS="- library=stlport4" to the configure command. At the end I get the same linking errors. Is the below warning from ld meaningful? ld: warning: file /src/work/mw/protobuf-2.0.3-sunstudio11/src/.libs/ libpr

Re: Compiling protocol buffers 2.0.3 with sun studio 11

2009-05-20 Thread cosmin . cremarenco
I have access to sun studio 12 so I tried to compile protobuf 2.1.0 with this version of the compiler. This is the error I get: make all-recursive Making all in . Making all in src source='google/protobuf/descriptor.pb.cc' object='descriptor.pb.lo' libtool=yes \ DEPDIR=.deps depmode=none /bin/ba

Re: Compiling protocol buffers 2.0.3 with sun studio 11

2009-05-20 Thread cosmin . cremarenco
Thanks for your quick replies. I tried to compile protobuf 2.1.0 with sun studio 11, this is what I get: make all-recursive Making all in . Making all in src source='google/protobuf/descriptor_database.cc' object='descriptor_database.lo' libtool=yes \ DEPDIR=.deps depmode=none /bin/bash ../depc

Re: Compiling protocol buffers 2.0.3 with sun studio 11

2009-05-19 Thread Monty Taylor
cosmin.cremare...@gmail.com wrote: > Hi > > I'm running into some issues when compiling (more exactly linking) > protobuf 2.0.3. > > Thanks in advance for any help. > Cosmin > > CXX=/nettools/sunstudio/sunstudio11/SUNWspro/bin/CC CC=/nettools/ > sunstudio/sunstudio11/SUNWspro/bin/cc ./configure

Compiling protocol buffers 2.0.3 with sun studio 11

2009-05-19 Thread cosmin . cremarenco
Hi I'm running into some issues when compiling (more exactly linking) protobuf 2.0.3. Thanks in advance for any help. Cosmin CXX=/nettools/sunstudio/sunstudio11/SUNWspro/bin/CC CC=/nettools/ sunstudio/sunstudio11/SUNWspro/bin/cc ./configure --prefix=/src/work/ mw/protobuf-2.0.3-sunstudio11-buil