[
https://issues.apache.org/jira/browse/AVRO-4084?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Oscar Westra van Holthe - Kind updated AVRO-4084:
-------------------------------------------------
Fix Version/s: (was: 1.13.0)
> CommonsSchemasTests.cc does not compile on windows
> --------------------------------------------------
>
> Key: AVRO-4084
> URL: https://issues.apache.org/jira/browse/AVRO-4084
> Project: Apache Avro
> Issue Type: Bug
> Components: c++
> Affects Versions: 1.12.0
> Reporter: Guillaume Labourey
> Assignee: Guillaume Labourey
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.12.1
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> {code:java}
> ***\lang\c++\test\CommonsSchemasTests.cc(44,55): Reason : cannot convert from
> 'const std::filesystem::path::value_type *' to 'const
> avro::DataFileReader<avro::GenericDatum> {code}
> On Windows, {{std::filesystem::path::value_type}} is based on {{wchar_t}} and
> not on {{{}char{}}}.
> ([std::filesystem::path|https://en.cppreference.com/w/cpp/filesystem/path]).
> That's why {{DataFileReader<>}} constructor is not compatible with the
> filesystem::path default string conversion operator.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)