You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you try to build, using Visual Studio, with one of the following build configurations, Win32 | Release and x64 | Debug, Visual Studio provides the following errors:
The x64 | Release configuration also runs into the same issue, after an issue with include paths is resolved; this include path issue reports that it cannot include errno.h, and should be reported/handled separately. The Itanium | Debug and Itanium | Release configurations have another issue with the Output Path not being set, however, I have confirmed neither configuration has the required preprocessor definitions in their settings inside the xdelta3.vcxproj file.
The undeclared identifier errors occur because the preprocessor definitions do not exist in any of the configurations (other than Win32 | Debug). To fix the issue, either utilize the compilation time calculations of sizeof(size_t) and sizeof(unsigned long long) to define SIZEOF_SIZE_T and SIZEOF_UNSIGNED_LONG_LONG, respectively, or define the preprocessor symbols in the PreprocessorDefinitions segments of the rest of the configurations.
To repeat the issue:
Open the xdelta3.vcxproj file in Visual Studio
Select a build configuration, other than Win32 | Debug (or x64 | Release, due to the other issue with errno.h, until that is fixed)
Select Build->Build Solution
Observe the configuration fails to build.
The text was updated successfully, but these errors were encountered:
When you try to build, using Visual Studio, with one of the following build configurations, Win32 | Release and x64 | Debug, Visual Studio provides the following errors:
The x64 | Release configuration also runs into the same issue, after an issue with include paths is resolved; this include path issue reports that it cannot include errno.h, and should be reported/handled separately. The Itanium | Debug and Itanium | Release configurations have another issue with the Output Path not being set, however, I have confirmed neither configuration has the required preprocessor definitions in their settings inside the xdelta3.vcxproj file.
The
undeclared identifier
errors occur because the preprocessor definitions do not exist in any of the configurations (other than Win32 | Debug). To fix the issue, either utilize the compilation time calculations ofsizeof(size_t)
andsizeof(unsigned long long)
to defineSIZEOF_SIZE_T
andSIZEOF_UNSIGNED_LONG_LONG
, respectively, or define the preprocessor symbols in thePreprocessorDefinitions
segments of the rest of the configurations.To repeat the issue:
The text was updated successfully, but these errors were encountered: