Skip to content

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

@GoogleCodeExporter

Description

@GoogleCodeExporter
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 Uni...@gmail.com on 15 Jul 2013 at 7:47

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions