-
-
Notifications
You must be signed in to change notification settings - Fork 249
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
Error with make on M1 mac #951
Comments
./configure --disable-werror for the time being. |
rurban
added a commit
that referenced
this issue
Mar 10, 2024
0 is int, not short. Fixes GH #951, -Werror,-Wformat
rurban
added a commit
that referenced
this issue
Mar 10, 2024
0 is int, not short. Fixes GH #951, -Werror,-Wformat
rurban
added a commit
that referenced
this issue
Mar 10, 2024
0 is int, not short. But C doesn't know numeric literals shorter than int, so the new Apple M1 clang is overly strict. Fixes GH #951, -Werror,-Wformat on the M1
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It seems like an issue similar to #820. When I try and make I get these errors.
In file included from print.c:397:
./dwg.spec:5969:15: error: format specifies type 'unsigned short' but the argument has type 'int' [-Werror,-Wformat]
VALUE_RS (0, 360);
~~~~~~~~~~^~~~~~~
print.c:216:37: note: expanded from macro 'VALUE_RS'
#define VALUE_RS(value, dxf) VALUE (value, RS, dxf)
~~~~~~~^~~~~~~~~~~~~~~
print.c:214:55: note: expanded from macro 'VALUE'
LOG_TRACE (FORMAT_##type " [" #type " " #dxf "]\n", value)
The text was updated successfully, but these errors were encountered: