[
https://issues.apache.org/jira/browse/HADOOP-16812?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17019158#comment-17019158
]
mark pettovello commented on HADOOP-16812:
------------------------------------------
Not sure why the relative path and file name is hardwired ...
Temporary Workaround ...
//#pragma message("WSCE config is " STRINGIFY(WSCE_CONFIG_DIR) "\\"
STRINGIFY(WSCE_CONFIG_FILE))
//const WCHAR* wsceConfigRelativePath =
WIDEN_STRING(STRINGIFY(WSCE_CONFIG_DIR)) L"\\"
WIDEN_STRING(STRINGIFY(WSCE_CONFIG_FILE));
//MSFT VC++ wide characters are not allowed in pragma - C2002
#define WSCE_MSG "WSCE config is ../etc/hadoop/wsce-site.xml"
#pragma message(WSCE_MSG)
#define WSCE_CONFIG_DIR L"../etc/hadoop"
#define WSCE_CONFIG_FILE L"wsce-site.xml"
const WCHAR* wsceConfigRelativePath = WSCE_CONFIG_DIR L"\\" WSCE_CONFIG_FILE;
> Unable to build 3.1.3 winutils and libwinutils native x64 using VisualStudio
> 2019: winutils.sln, Platform Toolset v142, SDK v10.0, C++ LangStd: Default,
> and other default settings
> -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: HADOOP-16812
> URL: https://issues.apache.org/jira/browse/HADOOP-16812
> Project: Hadoop Common
> Issue Type: Bug
> Components: common
> Affects Versions: 3.2.1, 3.1.3
> Reporter: mark pettovello
> Priority: Major
>
> libwinutils.c line 40 gives several build errors:
> C2065 'L': undeclared identifier
> E0065 expected a ';'
> E0020 identifier "L" is undefined
> C2099 initializer is not a constant
> C2143 syntax error: missing ';' before 'string'
>
>
>
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]