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

Windows 7, Visual Studio 2010, and "error C2065: uint32_t: undeclared identifier" #608

Closed
noloader opened this issue Mar 27, 2018 · 1 comment
Labels

Comments

@noloader
Copy link
Collaborator

noloader commented Mar 27, 2018

Based on cryptopp610 compilation issue in Visual Studio 2010 from the mailing list. Windows 7, Visual Studio 2010:

> nmake /f cryptest.nmake
        cl.exe /nologo /W4 /wd4511 /wd4156 /D_MBCS /Zi /TP /GR /EHsc /DNDEBUG /D
_NDEBUG /Oi /Oy /O2 /MT /FI sdkddkver.h /c aria.cpp
...
aria.cpp(224) : error C2065: 'uint32_t' : undeclared identifier
aria.cpp(224) : error C2059: syntax error : ')'
NMAKE : fatal error U1077: '"c:\Program Files\Microsoft Visual Studio 10.0\VC\BI
N\cl.exe"' : return code '0x2'
Stop.
@noloader noloader added the Bug label Mar 27, 2018
noloader added a commit that referenced this issue Mar 27, 2018
We could fix aria.cpp by using word32. However, NaCl gear uses int64_t and we don't have a typedef setup for it. So we will need <cstdint> later for NaCl
noloader added a commit that referenced this issue Mar 28, 2018
Visual Studio 2008 kind of forced out hand with this. VS2008 lacks <stdint.h> and <cstdint> and it caused compile problems in NaCl gear. We were being a tad bit lazy by relying on int8_t, int32_t and int64_t, but the compiler errors made us act
@noloader
Copy link
Collaborator Author

The initial fix was provided at Commit 506f90bcc804. The long term fix was to supply signed types, and it was cleared at Commit 3958fad099f1.

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

No branches or pull requests

1 participant