shiyilei / protobuf-c

Automatically exported from code.google.com/p/protobuf-c
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

VS 2008 compilation issue 0.15 #85

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Using cmake 2.8.5/Visual Studio 2008 version
2.
3.

What is the expected output? What do you see instead?

Getting compilation issues and am sure is a configuration error on my part but 
grasping at straws on what the issue may be..  Any pointers greatly 
appreciated..

What version of the product are you using? On what operating system?

0.15 on Windows 2008 using Visual Studio 2008

Please provide any additional information below.

(54) : error C2054: expected '(' to follow 'inline'
2>..\..\src\google\protobuf-c\protobuf-c-data-buffer.c(55) : error C2085: 
'protobuf_c_data_buffer_fragment_avail' : not in formal parameter list
2>..\..\src\google\protobuf-c\protobuf-c-data-buffer.c(55) : error C2143: 
syntax error : missing ';' before '{'
2>..\..\src\google\protobuf-c\protobuf-c-data-buffer.c(58) : error C2054: 
expected '(' to follow 'inline'
2>..\..\src\google\protobuf-c\protobuf-c-data-buffer.c(60) : error C2085: 
'protobuf_c_data_buffer_fragment_start' : not in formal parameter list
2>..\..\src\google\protobuf-c\protobuf-c-data-buffer.c(60) : error C2143: 
syntax error : missing ';' before '{'
2>..\..\src\google\protobuf-c\protobuf-c-data-buffer.c(63) : error C2054: 
expected '(' to follow 'inline'
2>..\..\src\google\protobuf-c\protobuf-c-data-buffer.c(65) : error C2085: 
'protobuf_c_data_buffer_fragment_end' : not in formal parameter list

Original issue reported on code.google.com by m.milbr...@gmail.com on 15 Jun 2012 at 12:18

GoogleCodeExporter commented 8 years ago
I have same error in VS2010, how to fix it ?

Original comment by rup...@gmail.com on 4 Apr 2014 at 9:32