[bug-notifications] [protobuf_devel 0005051]: Diff type of headers protobuf 2.3 - error compilation

Mantis Bug Tracker noreply at opencsw.org
Tue Feb 19 15:26:01 CET 2013


A NOTE has been added to this issue. 
====================================================================== 
https://www.opencsw.org/mantis/view.php?id=5051 
====================================================================== 
Reported By:                pablo84sos
Assigned To:                
====================================================================== 
Project:                    protobuf_devel
Issue ID:                   5051
Category:                   packaging
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2013-02-19 09:50 CET
Last Modified:              2013-02-19 15:26 CET
====================================================================== 
Summary:                    Diff type of headers protobuf 2.3 - error
compilation
Description: 
Hi,

When I compile protbuf-2.3 from source a have got a little bit diffrent
protobuf headers . See below.

-bash-4.0$ diff /opt/csw/include/google/protobuf
../../proto23/include/google/protobuf/
Common subdirectories: /opt/csw/include/google/protobuf/compiler and
../../proto23/include/google/protobuf//compiler
diff /opt/csw/include/google/protobuf/descriptor_database.h
../../proto23/include/google/protobuf//descriptor_database.h
236c236
<     typename std::map<string, Value>::iterator FindLastLessOrEqual(
---
>     typename map<string, Value>::iterator FindLastLessOrEqual(
Common subdirectories: /opt/csw/include/google/protobuf/io and
../../proto23/include/google/protobuf//io
diff /opt/csw/include/google/protobuf/repeated_field.h
../../proto23/include/google/protobuf//repeated_field.h
51d50
< #include <vector>
Common subdirectories: /opt/csw/include/google/protobuf/stubs and
../../proto23/include/google/protobuf//stubs

The diffrent cause that I can't use package - I mean I have a lot of
problems during a compilation  (additional information)- for instance I'm
building examples direct from source 2.3 of protobuf with headers of
package they don't compile properly, but if I use headers from source it is
ok.
   
I think that headers from package and source should be the same but they
don't.

      


  



====================================================================== 

---------------------------------------------------------------------- 
 (0010275) maciej (manager) - 2013-02-19 15:26
 https://www.opencsw.org/mantis/view.php?id=5051#c10275 
---------------------------------------------------------------------- 
The differences you see come from patches we applied.

Are you using protocol buffers 2.3 for a reason? We have version 2.4 in the
catalog: http://www.opencsw.org/packages/protobuf_gxx_dev/

Protocol buffers 2.3 in the catalog have been built with Sun Studio. You
cannot use them with GCC.

The 2.4 version is built with GCC.



More information about the bug-notifications mailing list