Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Issue 379 in protobuf: Build failure with MSVC2011
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  8 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
proto...@googlecode.com  
View profile  
 More options Mar 26 2012, 5:27 pm
From: proto...@googlecode.com
Date: Mon, 26 Mar 2012 21:27:11 +0000
Local: Mon, Mar 26 2012 5:27 pm
Subject: Issue 379 in protobuf: Build failure with MSVC2011
Status: New
Owner: liuj...@google.com
Labels: Type-Defect Priority-Medium

New issue 379 by thier...@filewave.com: Build failure with MSVC2011
http://code.google.com/p/protobuf/issues/detail?id=379

What steps will reproduce the problem?
1. build with MSVC2011
2. failure to buid command_line_interface.cc (l 784 and 913)
3.

What is the expected output? What do you see instead?
it should work

What version of the product are you using? On what operating system?
MSVC2011 beta on windows 7

Please provide any additional information below.
The pb is linked to C++11's new definition of make_pair. The fix is as easy  
as changing "make_pair<" into "pair<". See  
http://connect.microsoft.com/VisualStudio/feedback/details/691756/std...  
for more info.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
proto...@googlecode.com  
View profile  
 More options May 7 2012, 5:33 am
From: proto...@googlecode.com
Date: Mon, 07 May 2012 09:33:21 +0000
Local: Mon, May 7 2012 5:33 am
Subject: Re: Issue 379 in protobuf: Build failure with MSVC2011

Comment #1 on issue 379 by jangi...@gmail.com: Build failure with MSVC2011
http://code.google.com/p/protobuf/issues/detail?id=379

I am also not able to compile latest version of glog in Visual Studio 11  
ultimate edition.

1>------ Rebuild All started: Project: libglog, Configuration: Release  
Win32 ------
2>------ Rebuild All started: Project: libglog_static, Configuration:  
Release Win32 ------
1>Build started 07-05-2012 10:09:46.
2>Build started 07-05-2012 10:09:46.
1>PrepareForBuild:
1>  Creating directory "C:\Users\Manoj\Documents\Visual Studio  
11\Projects\logging\Release\".
1>InitializeBuildStatus:
1>  Creating "Release\libglog.unsuccessfulbuild" because "AlwaysCreate" was  
specified.
2>InitializeBuildStatus:
2>  Creating "Release\libglog_static.unsuccessfulbuild"  
because "AlwaysCreate" was specified.
1>ClCompile:
2>ClCompile:
2>  logging.cc
1>  logging.cc
1>C:\Program Files (x86)\Microsoft Visual Studio  
11.0\VC\include\vector(2912): error C2143: syntax error : missing ';'  
before '<'
1>C:\Program Files (x86)\Microsoft Visual Studio  
11.0\VC\include\vector(2912): error C2059: syntax error : '<'
1>C:\Program Files (x86)\Microsoft Visual Studio  
11.0\VC\include\vector(2912): error C2065: '_Alloc' : undeclared identifier
1>C:\Program Files (x86)\Microsoft Visual Studio  
11.0\VC\include\vector(2913): error C2059: syntax error : 'public'
1>C:\Program Files (x86)\Microsoft Visual Studio  
11.0\VC\include\vector(2913): error C2065: '_Alloc' : undeclared identifier
1>C:\Program Files (x86)\Microsoft Visual Studio  
11.0\VC\include\vector(2913): error C3203: 'vector' : unspecialized class  
template can't be used as a template argument for template  
parameter '_Arg', expected a real type
1>C:\Program Files (x86)\Microsoft Visual Studio  
11.0\VC\include\vector(2913): error C2955: 'std::vector' : use of class  
template requires template argument list
1>          C:\Program Files (x86)\Microsoft Visual Studio  
11.0\VC\include\vector(653) : see declaration of 'std::vector'
1>C:\Program Files (x86)\Microsoft Visual Studio  
11.0\VC\include\vector(2914): error C2143: syntax error : missing ';'  
before '{'
1>C:\Program Files (x86)\Microsoft Visual Studio  
11.0\VC\include\vector(2914): error C2447: '{' : missing function header  
(old-style formal list?)
2>C:\Program Files (x86)\Microsoft Visual Studio  
11.0\VC\include\vector(2912): error C2143: syntax error : missing ';'  
before '<'
2>C:\Program Files (x86)\Microsoft Visual Studio  
11.0\VC\include\vector(2912): error C2059: syntax error : '<'
2>C:\Program Files (x86)\Microsoft Visual Studio  
11.0\VC\include\vector(2912): error C2065: '_Alloc' : undeclared identifier
2>C:\Program Files (x86)\Microsoft Visual Studio  
11.0\VC\include\vector(2913): error C2059: syntax error : 'public'
2>C:\Program Files (x86)\Microsoft Visual Studio  
11.0\VC\include\vector(2913): error C2065: '_Alloc' : undeclared identifier
2>C:\Program Files (x86)\Microsoft Visual Studio  
11.0\VC\include\vector(2913): error C3203: 'vector' : unspecialized class  
template can't be used as a template argument for template  
parameter '_Arg', expected a real type
2>C:\Program Files (x86)\Microsoft Visual Studio  
11.0\VC\include\vector(2913): error C2955: 'std::vector' : use of class  
template requires template argument list
2>          C:\Program Files (x86)\Microsoft Visual Studio  
11.0\VC\include\vector(653) : see declaration of 'std::vector'
2>C:\Program Files (x86)\Microsoft Visual Studio  
11.0\VC\include\vector(2914): error C2143: syntax error : missing ';'  
before '{'
2>C:\Program Files (x86)\Microsoft Visual Studio  
11.0\VC\include\vector(2914): error C2447: '{' : missing function header  
(old-style formal list?)
1>  port.cc
2>  port.cc
1>  raw_logging.cc
2>  raw_logging.cc
1>C:\Program Files (x86)\Microsoft Visual Studio  
11.0\VC\include\vector(2912): error C2143: syntax error : missing ';'  
before '<'
1>C:\Program Files (x86)\Microsoft Visual Studio  
11.0\VC\include\vector(2912): error C2059: syntax error : '<'
1>C:\Program Files (x86)\Microsoft Visual Studio  
11.0\VC\include\vector(2912): error C2065: '_Alloc' : undeclared identifier
1>C:\Program Files (x86)\Microsoft Visual Studio  
11.0\VC\include\vector(2913): error C2059: syntax error : 'public'
1>C:\Program Files (x86)\Microsoft Visual Studio  
11.0\VC\include\vector(2913): error C2065: '_Alloc' : undeclared identifier
1>C:\Program Files (x86)\Microsoft Visual Studio  
11.0\VC\include\vector(2913): error C3203: 'vector' : unspecialized class  
template can't be used as a template argument for template  
parameter '_Arg', expected a real type
1>C:\Program Files (x86)\Microsoft Visual Studio  
11.0\VC\include\vector(2913): error C2955: 'std::vector' : use of class  
template requires template argument list
1>          C:\Program Files (x86)\Microsoft Visual Studio  
11.0\VC\include\vector(653) : see declaration of 'std::vector'
1>C:\Program Files (x86)\Microsoft Visual Studio  
11.0\VC\include\vector(2914): error C2143: syntax error : missing ';'  
before '{'
1>C:\Program Files (x86)\Microsoft Visual Studio  
11.0\VC\include\vector(2914): error C2447: '{' : missing function header  
(old-style formal list?)
1>  utilities.cc
2>C:\Program Files (x86)\Microsoft Visual Studio  
11.0\VC\include\vector(2912): error C2143: syntax error : missing ';'  
before '<'
2>C:\Program Files (x86)\Microsoft Visual Studio  
11.0\VC\include\vector(2912): error C2059: syntax error : '<'
2>C:\Program Files (x86)\Microsoft Visual Studio  
11.0\VC\include\vector(2912): error C2065: '_Alloc' : undeclared identifier
2>C:\Program Files (x86)\Microsoft Visual Studio  
11.0\VC\include\vector(2913): error C2059: syntax error : 'public'
2>C:\Program Files (x86)\Microsoft Visual Studio  
11.0\VC\include\vector(2913): error C2065: '_Alloc' : undeclared identifier
2>C:\Program Files (x86)\Microsoft Visual Studio  
11.0\VC\include\vector(2913): error C3203: 'vector' : unspecialized class  
template can't be used as a template argument for template  
parameter '_Arg', expected a real type
2>C:\Program Files (x86)\Microsoft Visual Studio  
11.0\VC\include\vector(2913): error C2955: 'std::vector' : use of class  
template requires template argument list
2>          C:\Program Files (x86)\Microsoft Visual Studio  
11.0\VC\include\vector(653) : see declaration of 'std::vector'
2>C:\Program Files (x86)\Microsoft Visual Studio  
11.0\VC\include\vector(2914): error C2143: syntax error : missing ';'  
before '{'
2>C:\Program Files (x86)\Microsoft Visual Studio  
11.0\VC\include\vector(2914): error C2447: '{' : missing function header  
(old-style formal list?)
2>  utilities.cc
1>C:\Program Files (x86)\Microsoft Visual Studio  
11.0\VC\include\vector(2912): error C2143: syntax error : missing ';'  
before '<'
1>C:\Program Files (x86)\Microsoft Visual Studio  
11.0\VC\include\vector(2912): error C2059: syntax error : '<'
1>C:\Program Files (x86)\Microsoft Visual Studio  
11.0\VC\include\vector(2912): error C2065: '_Alloc' : undeclared identifier
1>C:\Program Files (x86)\Microsoft Visual Studio  
11.0\VC\include\vector(2913): error C2059: syntax error : 'public'
1>C:\Program Files (x86)\Microsoft Visual Studio  
11.0\VC\include\vector(2913): error C2065: '_Alloc' : undeclared identifier
1>C:\Program Files (x86)\Microsoft Visual Studio  
11.0\VC\include\vector(2913): error C3203: 'vector' : unspecialized class  
template can't be used as a template argument for template  
parameter '_Arg', expected a real type
1>C:\Program Files (x86)\Microsoft Visual Studio  
11.0\VC\include\vector(2913): error C2955: 'std::vector' : use of class  
template requires template argument list
1>          C:\Program Files (x86)\Microsoft Visual Studio  
11.0\VC\include\vector(653) : see declaration of 'std::vector'
1>C:\Program Files (x86)\Microsoft Visual Studio  
11.0\VC\include\vector(2914): error C2143: syntax error : missing ';'  
before '{'
1>C:\Program Files (x86)\Microsoft Visual Studio  
11.0\VC\include\vector(2914): error C2447: '{' : missing function header  
(old-style formal list?)
1>  vlog_is_on.cc
2>C:\Program Files (x86)\Microsoft Visual Studio  
11.0\VC\include\vector(2912): error C2143: syntax error : missing ';'  
before '<'
2>C:\Program Files (x86)\Microsoft Visual Studio  
11.0\VC\include\vector(2912): error C2059: syntax error : '<'
2>C:\Program Files (x86)\Microsoft Visual Studio  
11.0\VC\include\vector(2912): error C2065: '_Alloc' : undeclared identifier
2>C:\Program Files (x86)\Microsoft Visual Studio  
11.0\VC\include\vector(2913): error C2059: syntax error : 'public'
2>C:\Program Files (x86)\Microsoft Visual Studio  
11.0\VC\include\vector(2913): error C2065: '_Alloc' : undeclared identifier
2>C:\Program Files (x86)\Microsoft Visual Studio  
11.0\VC\include\vector(2913): error C3203: 'vector' : unspecialized class  
template can't be used as a template argument for template  
parameter '_Arg', expected a real type
2>C:\Program Files (x86)\Microsoft Visual Studio  
11.0\VC\include\vector(2913): error C2955: 'std::vector' : use of class  
template requires template argument list
2>          C:\Program Files (x86)\Microsoft Visual Studio  
11.0\VC\include\vector(653) : see declaration of 'std::vector'
2>C:\Program Files (x86)\Microsoft Visual Studio  
11.0\VC\include\vector(2914): error C2143: syntax error : missing ';'  
before '{'
2>C:\Program Files (x86)\Microsoft Visual Studio  
11.0\VC\include\vector(2914): error C2447: '{' : missing function header  
(old-style formal list?)
2>  vlog_is_on.cc
1>C:\Program Files (x86)\Microsoft Visual Studio  
11.0\VC\include\vector(2912): error C2143: syntax error : missing ';'  
before '<'
1>C:\Program Files (x86)\Microsoft Visual Studio  
11.0\VC\include\vector(2912): error C2059: syntax error : '<'
1>C:\Program ...

read more »


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
proto...@googlecode.com  
View profile  
 More options Oct 19 2012, 1:58 pm
From: proto...@googlecode.com
Date: Fri, 19 Oct 2012 17:58:22 +0000
Local: Fri, Oct 19 2012 1:58 pm
Subject: Re: Issue 379 in protobuf: Build failure with MSVC2011

Comment #2 on issue 379 by mjkl...@gmail.com: Build failure with MSVC2011
http://code.google.com/p/protobuf/issues/detail?id=379

Better fix here (duplicate problem):  
http://code.google.com/p/protobuf/issues/detail?id=398


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
proto...@googlecode.com  
View profile  
 More options Dec 3 2012, 7:10 pm
From: proto...@googlecode.com
Date: Tue, 04 Dec 2012 00:10:06 +0000
Local: Mon, Dec 3 2012 7:10 pm
Subject: Re: Issue 379 in protobuf: Build failure with MSVC2011

Comment #3 on issue 379 by xiaof...@google.com: Build failure with MSVC2011
http://code.google.com/p/protobuf/issues/detail?id=379

Issue 425 has been merged into this issue.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
proto...@googlecode.com  
View profile  
 More options Dec 3 2012, 7:13 pm
From: proto...@googlecode.com
Date: Tue, 04 Dec 2012 00:13:06 +0000
Local: Mon, Dec 3 2012 7:13 pm
Subject: Re: Issue 379 in protobuf: Build failure with MSVC2011

Comment #4 on issue 379 by xiaof...@google.com: Build failure with MSVC2011
http://code.google.com/p/protobuf/issues/detail?id=379

Issue 388 has been merged into this issue.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
proto...@googlecode.com  
View profile  
 More options Dec 3 2012, 7:14 pm
From: proto...@googlecode.com
Date: Tue, 04 Dec 2012 00:14:06 +0000
Local: Mon, Dec 3 2012 7:14 pm
Subject: Re: Issue 379 in protobuf: Build failure with MSVC2011
Updates:
        Status: Started
        Owner: xiaof...@google.com

Comment #5 on issue 379 by xiaof...@google.com: Build failure with MSVC2011
http://code.google.com/p/protobuf/issues/detail?id=379

(No comment was entered for this change.)


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
proto...@googlecode.com  
View profile  
 More options Dec 3 2012, 7:15 pm
From: proto...@googlecode.com
Date: Tue, 04 Dec 2012 00:15:06 +0000
Local: Mon, Dec 3 2012 7:15 pm
Subject: Re: Issue 379 in protobuf: Build failure with MSVC2011
Updates:
        Labels: FixedIn-2.5.0

Comment #6 on issue 379 by xiaof...@google.com: Build failure with MSVC2011
http://code.google.com/p/protobuf/issues/detail?id=379

Fixed in r245.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
proto...@googlecode.com  
View profile  
 More options Dec 4 2012, 5:32 pm
From: proto...@googlecode.com
Date: Tue, 04 Dec 2012 22:32:16 +0000
Local: Tues, Dec 4 2012 5:32 pm
Subject: Re: Issue 379 in protobuf: Build failure with MSVC2011
Updates:
        Status: Fixed

Comment #7 on issue 379 by xiaof...@google.com: Build failure with MSVC2011
http://code.google.com/p/protobuf/issues/detail?id=379

(No comment was entered for this change.)


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »