Tham created ARROW-4821:
---------------------------

             Summary: [cpp]  compiling issue on Windows
                 Key: ARROW-4821
                 URL: https://issues.apache.org/jira/browse/ARROW-4821
             Project: Apache Arrow
          Issue Type: Bug
          Components: C++
         Environment: Windows 10 x64
            Reporter: Tham


I'm using arrow/cpp into my cpp project and got this compiling issue. I'm not 
sure where this issue comes from. I don't have it on MacOS. Can anyone help to 
point out the problem?
{code:java}
E:\Source\emotivpro\EmotivPro\thirdParty\Parquet\src\ThirdParty\arrow\cpp\src\arrow/util/hash.h(32):
 warning C4003: not enough actual parameters for macro 'max'

E:\Source\emotivpro\EmotivPro\thirdParty\Parquet\src\ThirdParty\arrow\cpp\src\arrow/util/hash.h(32):
 error C2589: '(': illegal token on right side of '::'

E:\Source\emotivpro\EmotivPro\thirdParty\Parquet\src\ThirdParty\arrow\cpp\src\arrow/util/hash.h(32):
 error C2062: type 'unknown-type' unexpected

E:\Source\emotivpro\EmotivPro\thirdParty\Parquet\src\ThirdParty\arrow\cpp\src\arrow/util/hash.h(32):
 error C2059: syntax error: ')'

E:\Source\emotivpro\EmotivPro\thirdParty\Parquet\src\ThirdParty\arrow\cpp\src\arrow/builder.h(45):
 warning C4003: not enough actual parameters for macro 'max'

E:\Source\emotivpro\EmotivPro\thirdParty\Parquet\src\ThirdParty\arrow\cpp\src\arrow/builder.h(45):
 error C2589: '(': illegal token on right side of '::'

E:\Source\emotivpro\EmotivPro\thirdParty\Parquet\src\ThirdParty\arrow\cpp\src\arrow/builder.h(45):
 error C2062: type 'unknown-type' unexpected

E:\Source\emotivpro\EmotivPro\thirdParty\Parquet\src\ThirdParty\arrow\cpp\src\arrow/builder.h(45):
 error C2059: syntax error: ')'

E:\Source\emotivpro\EmotivPro\thirdParty\Parquet\src\ThirdParty\arrow\cpp\src\arrow/builder.h(46):
 warning C4003: not enough actual parameters for macro 'max'

E:\Source\emotivpro\EmotivPro\thirdParty\Parquet\src\ThirdParty\arrow\cpp\src\arrow/builder.h(46):
 error C2589: '(': illegal token on right side of '::'

E:\Source\emotivpro\EmotivPro\thirdParty\Parquet\src\ThirdParty\arrow\cpp\src\arrow/builder.h(46):
 error C2062: type 'unknown-type' unexpected

E:\Source\emotivpro\EmotivPro\thirdParty\Parquet\src\ThirdParty\arrow\cpp\src\arrow/builder.h(46):
 error C2059: syntax error: ')'

E:\Source\emotivpro\EmotivPro\thirdParty\Parquet\src\ThirdParty\arrow\cpp\src\arrow/builder.h(456):
 warning C4003: not enough actual parameters for macro 'max'

E:\Source\emotivpro\EmotivPro\thirdParty\Parquet\src\ThirdParty\arrow\cpp\src\arrow/builder.h(457):
 warning C4003: not enough actual parameters for macro 'min'

E:\Source\emotivpro\EmotivPro\thirdParty\Parquet\src\ThirdParty\arrow\cpp\src\arrow/builder.h(456):
 error C2589: '(': illegal token on right side of '::'

E:\Source\emotivpro\EmotivPro\thirdParty\Parquet\src\ThirdParty\arrow\cpp\src\arrow/builder.h(456):
 error C2062: type 'unknown-type' unexpected

E:\Source\emotivpro\EmotivPro\thirdParty\Parquet\src\ThirdParty\arrow\cpp\src\arrow/builder.h(456):
 error C2144: syntax error: 'unknown-type' should be preceded by '('

E:\Source\emotivpro\EmotivPro\thirdParty\Parquet\src\ThirdParty\arrow\cpp\src\arrow/builder.h(456):
 error C2059: syntax error: ')'

E:\Source\emotivpro\EmotivPro\thirdParty\Parquet\src\ThirdParty\arrow\cpp\src\arrow/builder.h(457):
 error C2589: '(': illegal token on right side of '::'

E:\Source\emotivpro\EmotivPro\thirdParty\Parquet\src\ThirdParty\arrow\cpp\src\arrow/builder.h(457):
 error C2059: syntax error: ')'

E:\Source\emotivpro\EmotivPro\thirdParty\Parquet\src\ThirdParty\arrow\cpp\src\arrow/builder.h(457):
 error C2143: syntax error: missing ';' before '{'

E:\Source\emotivpro\EmotivPro\thirdParty\Parquet\src\ThirdParty\arrow\cpp\src\arrow/builder.h(459):
 error C2181: illegal else without matching if

E:\Source\emotivpro\EmotivPro\thirdParty\Parquet\src\ThirdParty\arrow\cpp\src\arrow/builder.h(461):
 warning C4003: not enough actual parameters for macro 'max'

E:\Source\emotivpro\EmotivPro\thirdParty\Parquet\src\ThirdParty\arrow\cpp\src\arrow/builder.h(462):
 warning C4003: not enough actual parameters for macro 'min'

E:\Source\emotivpro\EmotivPro\thirdParty\Parquet\src\ThirdParty\arrow\cpp\src\arrow/builder.h(461):
 error C2589: '(': illegal token on right side of '::'

E:\Source\emotivpro\EmotivPro\thirdParty\Parquet\src\ThirdParty\arrow\cpp\src\arrow/builder.h(461):
 error C2062: type 'unknown-type' unexpected

E:\Source\emotivpro\EmotivPro\thirdParty\Parquet\src\ThirdParty\arrow\cpp\src\arrow/builder.h(461):
 error C2144: syntax error: 'unknown-type' should be preceded by '('

E:\Source\emotivpro\EmotivPro\thirdParty\Parquet\src\ThirdParty\arrow\cpp\src\arrow/builder.h(461):
 error C2059: syntax error: ')'

E:\Source\emotivpro\EmotivPro\thirdParty\Parquet\src\ThirdParty\arrow\cpp\src\arrow/builder.h(462):
 error C2589: '(': illegal token on right side of '::'

E:\Source\emotivpro\EmotivPro\thirdParty\Parquet\src\ThirdParty\arrow\cpp\src\arrow/builder.h(462):
 error C2059: syntax error: ')'

E:\Source\emotivpro\EmotivPro\thirdParty\Parquet\src\ThirdParty\arrow\cpp\src\arrow/builder.h(462):
 error C2143: syntax error: missing ';' before '{'

E:\Source\emotivpro\EmotivPro\thirdParty\Parquet\src\ThirdParty\arrow\cpp\src\arrow/builder.h(464):
 error C2181: illegal else without matching if

E:\Source\emotivpro\EmotivPro\thirdParty\Parquet\src\ThirdParty\arrow\cpp\src\arrow/builder.h(466):
 warning C4003: not enough actual parameters for macro 'max'

E:\Source\emotivpro\EmotivPro\thirdParty\Parquet\src\ThirdParty\arrow\cpp\src\arrow/builder.h(467):
 warning C4003: not enough actual parameters for macro 'min'

E:\Source\emotivpro\EmotivPro\thirdParty\Parquet\src\ThirdParty\arrow\cpp\src\arrow/builder.h(466):
 error C2589: '(': illegal token on right side of '::'

E:\Source\emotivpro\EmotivPro\thirdParty\Parquet\src\ThirdParty\arrow\cpp\src\arrow/builder.h(466):
 error C2062: type 'unknown-type' unexpected

E:\Source\emotivpro\EmotivPro\thirdParty\Parquet\src\ThirdParty\arrow\cpp\src\arrow/builder.h(466):
 error C2144: syntax error: 'unknown-type' should be preceded by '('

E:\Source\emotivpro\EmotivPro\thirdParty\Parquet\src\ThirdParty\arrow\cpp\src\arrow/builder.h(466):
 error C2059: syntax error: ')'

E:\Source\emotivpro\EmotivPro\thirdParty\Parquet\src\ThirdParty\arrow\cpp\src\arrow/builder.h(467):
 error C2589: '(': illegal token on right side of '::'

E:\Source\emotivpro\EmotivPro\thirdParty\Parquet\src\ThirdParty\arrow\cpp\src\arrow/builder.h(467):
 error C2059: syntax error: ')'

E:\Source\emotivpro\EmotivPro\thirdParty\Parquet\src\ThirdParty\arrow\cpp\src\arrow/builder.h(467):
 error C2143: syntax error: missing ';' before '{'

E:\Source\emotivpro\EmotivPro\thirdParty\Parquet\src\ThirdParty\arrow\cpp\src\arrow/builder.h(469):
 error C2181: illegal else without matching if

E:\Source\emotivpro\EmotivPro\thirdParty\Parquet\src\ThirdParty\arrow\cpp\src\arrow/builder.h(478):
 warning C4003: not enough actual parameters for macro 'max'

E:\Source\emotivpro\EmotivPro\thirdParty\Parquet\src\ThirdParty\arrow\cpp\src\arrow/builder.h(478):
 error C2589: '(': illegal token on right side of '::'

E:\Source\emotivpro\EmotivPro\thirdParty\Parquet\src\ThirdParty\arrow\cpp\src\arrow/builder.h(478):
 error C2062: type 'unknown-type' unexpected

E:\Source\emotivpro\EmotivPro\thirdParty\Parquet\src\ThirdParty\arrow\cpp\src\arrow/builder.h(478):
 error C2144: syntax error: 'unknown-type' should be preceded by '('

E:\Source\emotivpro\EmotivPro\thirdParty\Parquet\src\ThirdParty\arrow\cpp\src\arrow/builder.h(478):
 error C2059: syntax error: ')'

E:\Source\emotivpro\EmotivPro\thirdParty\Parquet\src\ThirdParty\arrow\cpp\src\arrow/builder.h(478):
 error C2143: syntax error: missing ';' before '{'

E:\Source\emotivpro\EmotivPro\thirdParty\Parquet\src\ThirdParty\arrow\cpp\src\arrow/builder.h(480):
 error C2181: illegal else without matching if

E:\Source\emotivpro\EmotivPro\thirdParty\Parquet\src\ThirdParty\arrow\cpp\src\arrow/builder.h(482):
 warning C4003: not enough actual parameters for macro 'max'

E:\Source\emotivpro\EmotivPro\thirdParty\Parquet\src\ThirdParty\arrow\cpp\src\arrow/builder.h(482):
 error C2589: '(': illegal token on right side of '::'

E:\Source\emotivpro\EmotivPro\thirdParty\Parquet\src\ThirdParty\arrow\cpp\src\arrow/builder.h(482):
 error C2062: type 'unknown-type' unexpected

E:\Source\emotivpro\EmotivPro\thirdParty\Parquet\src\ThirdParty\arrow\cpp\src\arrow/builder.h(482):
 error C2144: syntax error: 'unknown-type' should be preceded by '('

E:\Source\emotivpro\EmotivPro\thirdParty\Parquet\src\ThirdParty\arrow\cpp\src\arrow/builder.h(482):
 error C2059: syntax error: ')'

E:\Source\emotivpro\EmotivPro\thirdParty\Parquet\src\ThirdParty\arrow\cpp\src\arrow/builder.h(482):
 error C2143: syntax error: missing ';' before '{'

E:\Source\emotivpro\EmotivPro\thirdParty\Parquet\src\ThirdParty\arrow\cpp\src\arrow/builder.h(484):
 error C2181: illegal else without matching if

E:\Source\emotivpro\EmotivPro\thirdParty\Parquet\src\ThirdParty\arrow\cpp\src\arrow/builder.h(486):
 warning C4003: not enough actual parameters for macro 'max'

E:\Source\emotivpro\EmotivPro\thirdParty\Parquet\src\ThirdParty\arrow\cpp\src\arrow/builder.h(486):
 error C2589: '(': illegal token on right side of '::'

E:\Source\emotivpro\EmotivPro\thirdParty\Parquet\src\ThirdParty\arrow\cpp\src\arrow/builder.h(486):
 error C2062: type 'unknown-type' unexpected

E:\Source\emotivpro\EmotivPro\thirdParty\Parquet\src\ThirdParty\arrow\cpp\src\arrow/builder.h(486):
 error C2144: syntax error: 'unknown-type' should be preceded by '('

E:\Source\emotivpro\EmotivPro\thirdParty\Parquet\src\ThirdParty\arrow\cpp\src\arrow/builder.h(486):
 error C2059: syntax error: ')'

E:\Source\emotivpro\EmotivPro\thirdParty\Parquet\src\ThirdParty\arrow\cpp\src\arrow/builder.h(486):
 error C2143: syntax error: missing ';' before '{'

E:\Source\emotivpro\EmotivPro\thirdParty\Parquet\src\ThirdParty\arrow\cpp\src\arrow/builder.h(488):
 error C2181: illegal else without matching if
{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to