Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test #139

Closed
wants to merge 15 commits into from
Closed

test #139

wants to merge 15 commits into from

Conversation

planetis-m
Copy link
Owner

No description provided.

@planetis-m
Copy link
Owner Author

There it goes, finally triggered it:

In file included from C:/mingw64/x86_64-w64-mingw32/include/windows.h:71,
                 from C:\Users\runneradmin\nimcache\basic_window_r\@mbasic_window.nim.c:10:
C:/mingw64/x86_64-w64-mingw32/include/wingdi.h:3158:28: error: 'Rectangle' redeclared as different kind of symbol
 3158 |   WINGDIAPI WINBOOL WINAPI Rectangle(HDC hdc,int left,int top,int right,int bottom);
      |                            ^~~~~~~~~
In file included from C:\Users\runneradmin\nimcache\basic_window_r\@mbasic_window.nim.c:8:
D:\a\naylib\naylib\src\raylib/raylib.h:254:3: note: previous declaration of 'Rectangle' with type 'Rectangle'
  254 | } Rectangle;
      |   ^~~~~~~~~
In file included from C:/mingw64/x86_64-w64-mingw32/include/windows.h:72:
C:/mingw64/x86_64-w64-mingw32/include/winuser.h:2282:29: error: conflicting types for 'CloseWindow'; have 'WINBOOL(struct HWND__ *)' {aka 'int(struct HWND__ *)'}
 2282 |   WINUSERAPI WINBOOL WINAPI CloseWindow (HWND hWnd);
      |                             ^~~~~~~~~~~
D:\a\naylib\naylib\src\raylib/raylib.h:964:12: note: previous declaration of 'CloseWindow' with type 'void(void)'
  964 | RLAPI void CloseWindow(void);                                     // Close window and unload OpenGL context
      |            ^~~~~~~~~~~
C:/mingw64/x86_64-w64-mingw32/include/winuser.h:[37](https://github.com/planetis-m/naylib/actions/runs/11430805153/job/31798871050?pr=139#step:5:38)60:25: error: conflicting types for 'ShowCursor'; have 'int(WINBOOL)' {aka 'int(int)'}
 3760 |   WINUSERAPI int WINAPI ShowCursor(WINBOOL bShow);
      |                         ^~~~~~~~~~
D:\a\naylib\naylib\src\raylib/raylib.h:1013:12: note: previous declaration of 'ShowCursor' with type 'void(void)'
 1013 | RLAPI void ShowCursor(void);                                      // Shows cursor
      |            ^~~~~~~~~~
compilation terminated due to -fmax-errors=3.

@planetis-m planetis-m closed this Oct 21, 2024
@planetis-m planetis-m deleted the exp branch October 21, 2024 00:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant