[ https://issues.apache.org/jira/browse/ARROW-12640?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ian Cook resolved ARROW-12640. ------------------------------ Resolution: Fixed Issue resolved by pull request 10234 [https://github.com/apache/arrow/pull/10234] > [C++] Fix errors from VS 2019 in cpp/src/parquet/types.h > -------------------------------------------------------- > > Key: ARROW-12640 > URL: https://issues.apache.org/jira/browse/ARROW-12640 > Project: Apache Arrow > Issue Type: Bug > Components: C++ > Reporter: Ian Cook > Assignee: Ian Cook > Priority: Major > Labels: pull-request-available > Fix For: 5.0.0 > > Time Spent: 1.5h > Remaining Estimate: 0h > > On April 30, a nightly CI job that builds libarrow with Visual Studio 2019 > ({{test-build-vcpkg-win}}) started failing because of numerous syntax errors: > {code:java} > D:\a\crossbow\crossbow\arrow\cpp\src\parquet/types.h(115,38): error C2143: > syntax error: missing '}' before '=' > [D:\a\crossbow\crossbow\arrow\cpp\build\src\arrow\dataset\arrow_dataset_shared.vcxproj] > 4423D:\a\crossbow\crossbow\arrow\cpp\src\parquet/types.h(115,38): error > C2059: syntax error: '=' > [D:\a\crossbow\crossbow\arrow\cpp\build\src\arrow\dataset\arrow_dataset_shared.vcxproj] > 4424D:\a\crossbow\crossbow\arrow\cpp\src\parquet/types.h(115,87): error > C2143: syntax error: missing ';' before '}' > [D:\a\crossbow\crossbow\arrow\cpp\build\src\arrow\dataset\arrow_dataset_shared.vcxproj] > 4425D:\a\crossbow\crossbow\arrow\cpp\src\parquet/types.h(115,87): error > C2238: unexpected token(s) preceding ';' > [D:\a\crossbow\crossbow\arrow\cpp\build\src\arrow\dataset\arrow_dataset_shared.vcxproj] > 4426D:\a\crossbow\crossbow\arrow\cpp\src\parquet/types.h(173,22): error > C2039: 'schema': is not a member of 'parquet' > [D:\a\crossbow\crossbow\arrow\cpp\build\src\arrow\dataset\arrow_dataset_shared.vcxproj] > 4427D:\a\crossbow\crossbow\arrow\cpp\src\parquet/types.h(40): message : see > declaration of 'parquet' > [D:\a\crossbow\crossbow\arrow\cpp\build\src\arrow\dataset\arrow_dataset_shared.vcxproj] > 4428D:\a\crossbow\crossbow\arrow\cpp\src\parquet/types.h(173,22): error > C3083: 'schema': the symbol to the left of a '::' must be a type > [D:\a\crossbow\crossbow\arrow\cpp\build\src\arrow\dataset\arrow_dataset_shared.vcxproj] > 4429D:\a\crossbow\crossbow\arrow\cpp\src\parquet/types.h(173,30): error > C2039: 'DecimalMetadata': is not a member of 'parquet' {code} > See full log at > [https://github.com/ursacomputing/crossbow/runs/2473230854#step:4:4422] > [~bkietz] [~davidli] I am almost certain that this was caused by ARROW-11929 > PR: [https://github.com/apache/arrow/pull/10166] > Commit: > [https://github.com/apache/arrow/commit/7430bbdfcda5d23cf18d7222da8419eb594d9f3f] > When I check out the commit immediately before this one, the build succeeds > without these errors. When I check out this commit, the build shows these > errors. > I believe the issue is not directly related to vcpkg. It happens also when I > use conda for dependencies. It seems to be related to Visual Studio 2019. -- This message was sent by Atlassian Jira (v8.3.4#803005)