Uploaded image for project: 'Apache Avro'
  1. Apache Avro
  2. AVRO-4084

CommonsSchemasTests.cc does not compile on windows

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.12.0
    • 1.13.0
    • c++

    Description

      ***\lang\c++\test\CommonsSchemasTests.cc(44,55): Reason : cannot convert from 'const std::filesystem::path::value_type *' to 'const avro::DataFileReader<avro::GenericDatum> 

      On Windows, std::filesystem::path::value_type is based on wchar_t and not on char. (std::filesystem::path). That's why DataFileReader<> constructor is not compatible with the filesystem::path default string conversion operator.

      Attachments

        Issue Links

          Activity

            People

              glywk Guillaume Labourey
              glywk Guillaume Labourey
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h