C port of Stockfish
GNU General Public License v3.0
137
stars
58
forks
source link
compiling errors by MSYS2 MinGW64 9.2.0 #114
Closed
caissist closed 4 years ago
| ^
position.h:839:70: error: stray '#' in program
839 | #ifndef POSITION_H
| ^
position.h:843:70: error: stray '#' in program
843 | #define POSITION_H
| ^
position.h:852:70: error: stray '#' in program
852 | #include < assert.h>
| ^
position.h:852:149: error: expected identifier or '(' before '<' token
852 | #include < assert.h>
| ^
position.h:852:189: error: expected identifier or '(' before '<' token
852 | #include < assert.h>
| ^
position.h:856:70: error: stray '#' in program
856 | #ifndef _WIN32
| ^
position.h:860:70: error: stray '#' in program
860 | #include < pthread.h>
| ^
position.h:860:149: error: expected identifier or '(' before '<' token
860 | #include < pthread.h>
| ^
position.h:860:190: error: expected identifier or '(' before '<' token
860 | #include < pthread.h>
| ^
position.h:864:70: error: stray '#' in program
864 | #endif
| ^
position.h:868:70: error: stray '#' in program
868 | #include < stdatomic.h>
| ^
position.h:868:149: error: expected identifier or '(' before '<' token
868 | #include < stdatomic.h>
| ^
position.h:868:192: error: expected identifier or '(' before '<' token
868 | #include < stdatomic.h>
| ^
position.h:872:70: error: stray '#' in program
872 | #include < stddef.h> // For offsetof()
| ^
position.h:872:149: error: expected identifier or '(' before '<' token
872 | #include < stddef.h> // For offsetof()
| ^
position.h:872:189: error: expected identifier or '(' before '<' token
872 | #include < stddef.h> // For offsetof()
| ^
position.h:876:70: error: stray '#' in program
876 | #include < string.h>
| ^
position.h:876:149: error: expected identifier or '(' before '<' token
876 | #include < string.h>
| ^
position.h:876:189: error: expected identifier or '(' before '<' token
876 | #include < string.h>
| ^
position.h:885:70: error: stray '#' in program
885 | #include " bitboard.h"
| ^
position.h:885:151: error: expected identifier or '(' before '<' token
885 | #include " bitboard.h"
| ^
position.h:885:195: error: expected identifier or '(' before '<' token
885 | #include " bitboard.h"
| ^
position.h:889:70: error: stray '#' in program
889 | #include " types.h"
| ^
position.h:889:151: error: expected identifier or '(' before '<' token
889 | #include " types.h"
| ^
position.h:889:192: error: expected identifier or '(' before '<' token
889 | #include " types.h"
| ^
position.h:898:180: error: expected identifier or '(' before '<' token
898 | extern const char PieceToChar[];
| ^
position.h:902:145: error: expected identifier or '(' before '<' token
902 | extern Key matKey[16 ];
| ^
position.h:931:71: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic]
931 | };
| ^
position.h:931:72: error: expected identifier or '(' before '<' token
931 | };
| ^
position.h:940:144: error: expected identifier or '(' before '<' token
940 | extern struct Zob zob;
| ^
position.h:949:170: error: expected identifier or '(' before '<' token
949 | void psqt_init (void );
| ^
position.h:953:169: error: expected identifier or '(' before '<' token
953 | void zob_init (void );
| ^
position.h:1227:72: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic]
1227 | };
| ^
position.h:1227:73: error: expected identifier or '(' before '<' token
1227 | };
| ^
position.h:1236:150: error: expected identifier or '(' before '<' token
1236 | typedef struct Stack Stack;
| ^
position.h:1245:71: error: stray '#' in program
1245 | #define StateCopySize offsetof (Stack, capturedPiece)
| ^
position.h:1249:71: error: stray '#' in program
1249 | #define StateSize offsetof (Stack, pv)
| ^
position.h:1253:71: error: stray '#' in program
1253 | #define SStackBegin (st ) (&st.pv)
| ^
position.h:1253:182: error: expected '=', ',', ';', 'asm' or 'attribute ' before '.' token
1253 | #define SStackBegin (st ) (&st.pv)
| ^
position.h:1257:71: error: stray '#' in program
1257 | #define SStackSize (offsetof(Stack, countermove) - offsetof(Stack, pv))
| ^
position.h:1324:71: error: stray '#' in program
1324 | #ifdef PEDANTIC
| ^
position.h:1352:71: error: stray '#' in program
1352 | #endif
| ^
position.h:1488:71: error: stray '#' in program
1488 | #ifndef _WIN32
| ^
position.h:1504:71: error: stray '#' in program
1504 | #else
| ^
position.h:1516:71: error: stray '#' in program
1516 | #endif
| ^
position.h:1520:72: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic]
1520 | };
| ^
position.h:1520:73: error: expected identifier or '(' before '<' token
1520 | };
| ^
position.h:1533:226: error: expected identifier or '(' before '<' token
1533 | void pos_set (Pos pos, char fen, int isChess960);
| ^
position.h:1537:216: error: expected identifier or '(' before '<' token
1537 | void pos_fen (const Pos pos, char fen);
| ^
position.h:1541:149: error: expected identifier or '(' before '<' token
1541 | void print_pos (Pos pos);
| ^
position.h:1558:120: error: expected identifier or '(' before '<' token
1558 | Bitboard pinners);
| ^
position.h:1567:192: error: expected identifier or '(' before '<' token
1567 | PURE int is_legal (const Pos pos, Move m);
| ^
position.h:1571:199: error: expected identifier or '(' before '<' token
1571 | PURE int is_pseudo_legal (const Pos pos, Move m);
| ^
position.h:1575:214: error: expected identifier or '(' before '<' token
1575 | PURE int gives_check_special (const Pos pos, Stack st, Move m);
| ^
position.h:1588:197: error: expected identifier or '(' before '<' token
1588 | void do_move (Pos pos, Move m, int givesCheck);
| ^
position.h:1592:157: error: expected identifier or '(' before '<' token
1592 | void undo_move (Pos pos, Move m);
| ^
position.h:1596:152: error: expected identifier or '(' before '<' token
1596 | void do_null_move (Pos pos);
| ^
position.h:1600:161: error: expected identifier or '(' before '<' token
1600 | INLINE void undo_null_move (Pos pos);
| ^
position.h:1613:168: error: expected identifier or '(' before '<' token
1613 | PURE Value see_sign (const Pos pos, Move m);
| ^
position.h:1617:205: error: expected identifier or '(' before '<' token
1617 | PURE Value see_test (const Pos pos, Move m, int value);
| ^
position.h:1626:167: error: expected identifier or '(' before '<' token
1626 | PURE Key key_after (const Pos pos, Move m);
| ^
position.h:1630:183: error: expected identifier or '(' before '<' token
1630 | PURE int is_draw (const Pos pos);
| ^
position.h:1634:226: error: expected identifier or '(' before '<' token
1634 | PURE bool has_game_cycle (const Pos *pos, int ply);
| ^
position.h:1647:71: error: stray '#' in program
1647 | #define pieces () (pos->byTypeBB[0 ])
| ^
position.h:1647:159: error: expected expression before '<' token
1647 | #define pieces () (pos->byTypeBB[0 ])
| ^
position.h:1651:71: error: stray '#' in program
1651 | #define pieces_p (p ) (pos->byTypeBB[p])
| ^
position.h:1651:190: error: expected '=', ',', ';', 'asm' or 'attribute ' before ')' token
1651 | #define pieces_p (p ) (pos->byTypeBB[p])
| ^
position.h:1655:71: error: stray '#' in program
1655 | #define pieces_pp (p1,p2 ) (pos->byTypeBB[p1] | pos->byTypeBB[p2])
| ^
position.h:1655:197: error: expected '=', ',', ';', 'asm' or 'attribute ' before '|' token
1655 | #define pieces_pp (p1,p2 ) (pos->byTypeBB[p1] | pos->byTypeBB[p2])
| ^
position.h:1655:219: error: expected '=', ',', ';', 'asm' or 'attribute ' before ')' token
1655 | #define pieces_pp (p1,p2 ) (pos->byTypeBB[p1] | pos->byTypeBB[p2])
| ^
position.h:1659:71: error: stray '#' in program
1659 | #define pieces_c (c ) (pos->byColorBB[c])
| ^
position.h:1659:191: error: expected '=', ',', ';', 'asm' or 'attribute ' before ')' token
1659 | #define pieces_c (c ) (pos->byColorBB[c])
| ^
position.h:1663:71: error: stray '#' in program
1663 | #define pieces_cp (c,p ) (pieces_p(p) & pieces_c (c))
| ^
position.h:1663:192: error: expected identifier or '(' before '<' token
1663 | #define pieces_cp (c,p ) (pieces_p(p) & pieces_c (c))
| ^
position.h:1667:71: error: stray '#' in program
1667 | #define pieces_cpp (c,p1,p2 ) (pieces_pp(p1,p2) & pieces_c (c))
| ^
position.h:1667:202: error: expected identifier or '(' before '<' token
1667 | #define pieces_cpp (c,p1,p2 ) (pieces_pp(p1,p2) & pieces_c (c))
| ^
position.h:1671:71: error: stray '#' in program
1671 | #define piece_on (s ) (pos->board[s])
| ^
position.h:1671:187: error: expected '=', ',', ';', 'asm' or 'attribute ' before ')' token
1671 | #define piece_on (s ) (pos->board[s])
| ^
position.h:1675:71: error: stray '#' in program
1675 | #define ep_square () (pos->st->epSquare)
| ^
position.h:1675:155: error: expected '=', ',', ';', 'asm' or 'attribute ' before '-' token
1675 | #define ep_square () (pos->st->epSquare)
| ^
position.h:1675:168: error: expected '=', ',', ';', 'asm' or 'attribute ' before ')' token
1675 | #define ep_square () (pos->st->epSquare)
| ^
position.h:1679:71: error: stray '#' in program
1679 | #define is_empty (s ) (!piece_on(s))
| ^
position.h:1683:71: error: stray '#' in program
1683 | #ifdef PEDANTIC
| ^
position.h:1687:71: error: stray '#' in program
1687 | #define piece_count (c,p ) (pos->pieceCount[8 (c) + (p)] - (8 (c)+(p)) 16 )
| ^
position.h:1687:195: error: expected expression before '<' token
1687 | #define piece_count (c,p ) (pos->pieceCount[8 (c) + (p)] - (8 (c)+(p)) 16 )
| ^
position.h:1691:71: error: stray '#' in program
1691 | #define piece_list (c,p ) (&pos->pieceList[16 (8 (c) + (p))])
| ^
position.h:1691:183: error: expected '=', ',', ';', 'asm' or 'attribute ' before '-' token
1691 | #define piece_list (c,p ) (&pos->pieceList[16 (8 (c) + (p))])
| ^
position.h:1691:198: error: expected expression before '<' token
1691 | #define piece_list (c,p ) (&pos->pieceList[16 (8 (c) + (p))])
| ^
position.h:1695:71: error: stray '#' in program
1695 | #define square_of (c,p ) (pos->pieceList[16 (8 (c) + (p))])
| ^
position.h:1695:192: error: expected expression before '<' token
1695 | #define square_of (c,p ) (pos->pieceList[16 (8 (c) + (p))])
| ^
position.h:1699:71: error: stray '#' in program
1699 | #define loop_through_pieces (c,p,s ) \
| ^
position.h:1699:185: error: stray '\' in program
1699 | #define loop_through_pieces (c,p,s ) \
| ^
position.h:1703:163: error: stray '\' in program
1703 | const uint8_t pl = piece_list(c,p); \
| ^
position.h:1703:164: error: expected identifier or '(' before '<' token
1703 | const uint8_t pl = piece_list(c,p); \
| ^
position.h:1711:71: error: stray '#' in program
1711 | #else
| ^
position.h:1715:71: error: stray '#' in program
1715 | #define piece_count (c,p ) (popcount(pieces_cp(c, p)))
| ^
position.h:1719:71: error: stray '#' in program
1719 | #define square_of (c,p ) (lsb(pieces_cp(c,p)))
| ^
position.h:1723:71: error: stray '#' in program
1723 | #define loop_through_pieces (c,p,s ) \
| ^
position.h:1723:185: error: stray '\' in program
1723 | #define loop_through_pieces (c,p,s ) \
| ^
position.h:1727:104: error: stray '\' in program
1727 | Bitboard pcs = pieces_cp(c,p); \
| ^
position.h:1727:105: error: expected identifier or '(' before '<' token
1727 | Bitboard pcs = pieces_cp(c,p); \
| ^
position.h:1731:115: error: expected identifier or '(' before '&' token
1731 | while (pcs && (s = pop_lsb(&pcs), 1 ))
| ^
position.h:1731:123: error: expected ')' before '=' token
1731 | while (pcs && (s = pop_lsb(&pcs), 1 ))
| ^~
| )
position.h:1735:71: error: stray '#' in program
1735 | #endif
| ^
position.h:1739:71: error: stray '#' in program
1739 | #define piece_count_mk (c, p ) (((pos_material_key()) >> (20 (c) + 4 (p) + 4 )) & 15 )
| ^
position.h:1739:206: error: expected identifier or '(' before '&' token
1739 | #define piece_count_mk (c, p ) (((pos_material_key()) >> (20 (c) + 4 (p) + 4 )) & 15 )
| ^
position.h:1739:212: error: expected identifier or '(' before '<' token
1739 | #define piece_count_mk (c, p ) (((pos_material_key()) >> (20 (c) + 4 (p) + 4 )) & 15 )
| ^
position.h:1739:324: error: expected identifier or '(' before '<' token
1739 | #define piece_count_mk (c, p ) (((pos_material_key()) >> (20 (c) + 4 (p) + 4 )) & 15 )
| ^
position.h:1752:71: error: stray '#' in program
1752 | #define can_castle_cr (cr ) (pos->st->castlingRights & (cr))
| ^
position.h:1752:187: error: expected '=', ',', ';', 'asm' or 'attribute ' before '-' token
1752 | #define can_castle_cr (cr ) (pos->st->castlingRights & (cr))
| ^
position.h:1752:207: error: expected '=', ',', ';', 'asm' or 'attribute ' before '&' token
1752 | #define can_castle_cr (cr ) (pos->st->castlingRights & (cr))
| ^
position.h:1752:217: error: expected '=', ',', ';', 'asm' or 'attribute ' before ')' token
1752 | #define can_castle_cr (cr ) (pos->st->castlingRights & (cr))
| ^
position.h:1756:71: error: stray '#' in program
1756 | #define can_castle_c (c ) can_castle_cr((WHITE_OO | WHITE_OOO) << (2 (c)))
| ^
position.h:1756:215: error: expected identifier or '(' before '&' token
1756 | #define can_castle_c (c ) can_castle_cr((WHITE_OO | WHITE_OOO) << (2 (c)))
| ^
position.h:1756:221: error: expected identifier or '(' before '<' token
1756 | #define can_castle_c (c ) can_castle_cr((WHITE_OO | WHITE_OOO) << (2 * (c)))
| ^
position.h:1760:71: error: stray '#' in program
1760 | #define can_castle_any () (pos->st->castlingRights)
| ^
position.h:1760:160: error: expected '=', ',', ';', 'asm' or 'attribute ' before '-' token
1760 | #define can_castle_any () (pos->st->castlingRights)
| ^
position.h:1760:179: error: expected '=', ',', ';', 'asm' or 'attribute ' before ')' token
1760 | #define can_castle_any () (pos->st->castlingRights)
| ^
position.h:1764:71: error: stray '#' in program
1764 | #ifdef PEDANTIC
| ^
position.h:1768:71: error: stray '#' in program
1768 | #define castling_impeded (cr ) (pieces() & pos->castlingPath[cr])
| ^
position.h:1768:198: error: expected '=', ',', ';', 'asm' or 'attribute ' before '-' token
1768 | #define castling_impeded (cr ) (pieces() & pos->castlingPath[cr])
| ^
position.h:1768:219: error: expected '=', ',', ';', 'asm' or 'attribute ' before ')' token
1768 | #define castling_impeded (cr ) (pieces() & pos->castlingPath[cr])
| ^
position.h:1772:71: error: stray '#' in program
1772 | #define castling_rook_square (cr ) (pos->castlingRookSquare[cr])
| ^
position.h:1772:214: error: expected '=', ',', ';', 'asm' or 'attribute ' before ')' token
1772 | #define castling_rook_square (cr ) (pos->castlingRookSquare[cr])
| ^
position.h:1776:71: error: stray '#' in program
1776 | #else
| ^
position.h:1780:71: error: stray '#' in program
1780 | #define castling_impeded (cr ) (pieces() & CastlingPath[cr])
| ^
position.h:1780:211: error: expected '=', ',', ';', 'asm' or 'attribute ' before ')' token
1780 | #define castling_impeded (cr ) (pieces() & CastlingPath[cr])
| ^
position.h:1784:71: error: stray '#' in program
1784 | #define castling_rook_square (cr ) (CastlingRookSquare[cr])
| ^
position.h:1788:71: error: stray '#' in program
1788 | #endif
| ^
position.h:1801:71: error: stray '#' in program
1801 | #define pos_checkers () (pos->st->checkersBB)
| ^
position.h:1801:158: error: expected '=', ',', ';', 'asm' or 'attribute ' before '-' token
1801 | #define pos_checkers () (pos->st->checkersBB)
| ^
position.h:1801:173: error: expected '=', ',', ';', 'asm' or 'attribute ' before ')' token
1801 | #define pos_checkers () (pos->st->checkersBB)
| ^
position.h:1814:71: error: stray '#' in program
1814 | #define attackers_to_occ (s,occ ) pos_attackers_to_occ(pos,s,occ)
| ^
position.h:1818:71: error: stray '#' in program
1818 | #define attackers_to (s ) attackers_to_occ(s,pieces())
| ^
position.h:1822:71: error: stray '#' in program
1822 | #define attacks_from_pawn (s,c ) (PawnAttacks[c][s])
| ^
position.h:1826:71: error: stray '#' in program
1826 | #define attacks_from_knight (s ) (PseudoAttacks[KNIGHT][s])
| ^
position.h:1830:71: error: stray '#' in program
1830 | #define attacks_from_bishop (s ) attacks_bb_bishop(s, pieces())
| ^
position.h:1834:71: error: stray '#' in program
1834 | #define attacks_from_rook (s ) attacks_bb_rook(s, pieces())
| ^
position.h:1838:71: error: stray '#' in program
1838 | #define attacks_from_queen (s ) (attacks_from_bishop(s)|attacks_from_rook(s))
| ^
position.h:1842:71: error: stray '#' in program
1842 | #define attacks_from_king (s ) (PseudoAttacks[KING][s])
| ^
position.h:1846:71: error: stray '#' in program
1846 | #define attacks_from (pc,s ) attacks_bb(pc,s,pieces())
| ^
position.h:1859:71: error: stray '#' in program
1859 | #define moved_piece (m ) (piece_on(from_sq(m)))
| ^
position.h:1863:71: error: stray '#' in program
1863 | #define captured_piece () (pos->st->capturedPiece)
| ^
position.h:1863:160: error: expected '=', ',', ';', 'asm' or 'attribute ' before '-' token
1863 | #define captured_piece () (pos->st->capturedPiece)
| ^
position.h:1863:178: error: expected '=', ',', ';', 'asm' or 'attribute ' before ')' token
1863 | #define captured_piece () (pos->st->capturedPiece)
| ^
position.h:1876:71: error: stray '#' in program
1876 | #define pos_key () (pos->st->key)
| ^
position.h:1876:153: error: expected '=', ',', ';', 'asm' or 'attribute ' before '-' token
1876 | #define pos_key () (pos->st->key)
| ^
position.h:1876:161: error: expected '=', ',', ';', 'asm' or 'attribute ' before ')' token
1876 | #define pos_key () (pos->st->key)
| ^
position.h:1880:71: error: stray '#' in program
1880 | #define pos_material_key () (pos->st->materialKey)
| ^
position.h:1880:162: error: expected '=', ',', ';', 'asm' or 'attribute ' before '-' token
1880 | #define pos_material_key () (pos->st->materialKey)
| ^
position.h:1880:178: error: expected '=', ',', ';', 'asm' or 'attribute ' before ')' token
1880 | #define pos_material_key () (pos->st->materialKey)
| ^
position.h:1884:71: error: stray '#' in program
1884 | #define pos_pawn_key () (pos->st->pawnKey)
| ^
position.h:1884:158: error: expected '=', ',', ';', 'asm' or 'attribute ' before '-' token
1884 | #define pos_pawn_key () (pos->st->pawnKey)
| ^
position.h:1884:170: error: expected '=', ',', ';', 'asm' or 'attribute ' before ')' token
1884 | #define pos_pawn_key () (pos->st->pawnKey)
| ^
position.h:1897:71: error: stray '#' in program
1897 | #define pos_stm () (pos->sideToMove)
| ^
position.h:1897:161: error: expected '=', ',', ';', 'asm' or 'attribute ' before ')' token
1897 | #define pos_stm () (pos->sideToMove)
| ^
position.h:1901:71: error: stray '#' in program
1901 | #define pos_game_ply () (pos->gamePly)
| ^
position.h:1901:163: error: expected '=', ',', ';', 'asm' or 'attribute ' before ')' token
1901 | #define pos_game_ply () (pos->gamePly)
| ^
position.h:1905:71: error: stray '#' in program
1905 | #define is_chess960 () (pos->chess960)
| ^
position.h:1905:163: error: expected '=', ',', ';', 'asm' or 'attribute ' before ')' token
1905 | #define is_chess960 () (pos->chess960)
| ^
position.h:1909:71: error: stray '#' in program
1909 | #define pos_nodes_searched () (pos->nodes)
| ^
position.h:1909:167: error: expected '=', ',', ';', 'asm' or 'attribute ' before ')' token
1909 | #define pos_nodes_searched () (pos->nodes)
| ^
position.h:1913:71: error: stray '#' in program
1913 | #define pos_rule50_count () (pos->st->rule50)
| ^
position.h:1913:162: error: expected '=', ',', ';', 'asm' or 'attribute ' before '-' token
1913 | #define pos_rule50_count () (pos->st->rule50)
| ^
position.h:1913:173: error: expected '=', ',', ';', 'asm' or 'attribute ' before ')' token
1913 | #define pos_rule50_count () (pos->st->rule50)
| ^
position.h:1917:71: error: stray '#' in program
1917 | #define pos_psq_score () (pos->st->psq)
| ^
position.h:1917:159: error: expected '=', ',', ';', 'asm' or 'attribute ' before '-' token
1917 | #define pos_psq_score () (pos->st->psq)
| ^
position.h:1917:167: error: expected '=', ',', ';', 'asm' or 'attribute ' before ')' token
1917 | #define pos_psq_score () (pos->st->psq)
| ^
position.h:1921:71: error: stray '#' in program
1921 | #define pos_non_pawn_material (c ) (pos->st->nonPawnMaterial[c])
| ^
position.h:1921:194: error: expected '=', ',', ';', 'asm' or 'attribute ' before '-' token
1921 | #define pos_non_pawn_material (c ) (pos->st->nonPawnMaterial[c])
| ^
position.h:1921:217: error: expected '=', ',', ';', 'asm' or 'attribute ' before ')' token
1921 | #define pos_non_pawn_material (c ) (pos->st->nonPawnMaterial[c])
| ^
position.h:1925:71: error: stray '#' in program
1925 | #define pos_pawns_only () (!pos->st->nonPawn)
| ^
position.h:1925:161: error: expected '=', ',', ';', 'asm' or 'attribute ' before '-' token
1925 | #define pos_pawns_only () (!pos->st->nonPawn)
| ^
position.h:1925:173: error: expected '=', ',', ';', 'asm' or 'attribute ' before ')' token
1925 | #define pos_pawns_only () (!pos->st->nonPawn)
| ^
position.h:1946:72: error: expected identifier or '(' before '<' token
1946 | }
| ^
position.h:1967:72: error: expected identifier or '(' before '<' token
1967 | }
| ^
position.h:1988:72: error: expected identifier or '(' before '<' token
1988 | }
| ^
position.h:2013:72: error: expected identifier or '(' before '<' token
2013 | }
| ^
position.h:2030:71: error: stray '#' in program
2030 | #if 0
| ^
position.h:2046:71: error: stray '#' in program
2046 | #elif 0
| ^
position.h:2062:71: error: stray '#' in program
2062 | #else
| ^
position.h:2082:71: error: stray '#' in program
2082 | #endif
| ^
position.h:2086:72: error: expected identifier or '(' before '<' token
2086 | }
| ^
position.h:2111:72: error: expected identifier or '(' before '<' token
2111 | }
| ^
position.h:2140:72: error: expected identifier or '(' before '<' token
2140 | }
| ^
position.h:2169:72: error: expected identifier or '(' before '<' token
2169 | }
| ^
position.h:2178:158: error: expected identifier or '(' before '<' token
2178 | void pos_set_check_info (Pos *pos);
| ^
position.h:2221:72: error: expected identifier or '(' before '<' token
2221 | }
| ^
position.h:2234:71: error: stray '#' in program
2234 | #if 0
| ^
position.h:2354:72: error: expected identifier or '(' before '<' token
2354 | }
| ^
position.h:2358:71: error: stray '#' in program
2358 | #endif
| ^
position.h:2416:72: error: expected identifier or '(' before '<' token
2416 | }
| ^
position.h:2425:71: error: stray '#' in program
2425 | #endif
| ^
position.h:2460:12: warning: missing terminating ' character
2460 |
In file included from benchmark.c:27: position.h:7:1: error: expected identifier or '(' before '<' token 7 | <!DOCTYPE html> | ^ In file included from benchmark.c:27: position.h:32:37: error: stray '\302' in program 32 |
Learn & contribute
| ^ position.h:246:262: error: expected identifier or '(' before '<' token 246 | Plans → | ^ position.h:254:312: error: expected identifier or '(' before '<' token 254 |