Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stdint.h is not available with Visual Studio 2012 #12

Open
GoogleCodeExporter opened this issue Mar 14, 2015 · 3 comments
Open

stdint.h is not available with Visual Studio 2012 #12

GoogleCodeExporter opened this issue Mar 14, 2015 · 3 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. add inttypes.h and stdint.h with include files of ffmpeg
2. build code
3. the compilation gives error
F:\Windows 
Project\zeranoe\ffmpeg-20130713-git-aac57c7-win32-dev\include\inttypes.h(49): 
error C2146: syntax error : missing ';' before identifier 'quot'

What is the expected output? What do you see instead?
should compile like previous release (specifically tested r26) of msinttypes

What version of the product are you using? On what operating system?
r29 of msinttypes, Visual Studio 2012

Please provide any additional information below.
There are 3 lines in stdint.h

#if _MSC_VER >= 1600 // [
#include <stdint.h>
#else // ] _MSC_VER >= 1600 [

These 3 lines are responsible for the error. I have not found stdint.h with VS 
2012. To solve the issue I had temporarily replace it like this

#if _MSC_VER >= 1800 // [
#include <stdint.h>
#else // ] _MSC_VER >= 1800 [

I would like to know how the authors retained stdint.h with Visual Studio 2012.

Original issue reported on code.google.com by [email protected] on 15 Jul 2013 at 7:47

@GoogleCodeExporter
Copy link
Author

The offending revision is r28, which fixes issue #10. Please see if the fix in 
#10 is invalid.

Original comment by timothygu99 on 25 Nov 2013 at 4:35

@GoogleCodeExporter
Copy link
Author

Visual Studio 2012 includes stdint.h at C:\Program Files (x86)\Microsoft Visual 
Studio 11.0\VC\include\stdint.h, at least in the version I have installed here.

Original comment by [email protected] on 3 Apr 2014 at 5:05

@GoogleCodeExporter
Copy link
Author

C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdint.h does 
not exist in my fairly new installation (just installed last week).

Original comment by [email protected] on 24 Apr 2014 at 9:50

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant