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

Compaling fails on MacOS #7

Open
gecbla opened this issue Nov 29, 2021 · 0 comments
Open

Compaling fails on MacOS #7

gecbla opened this issue Nov 29, 2021 · 0 comments

Comments

@gecbla
Copy link

gecbla commented Nov 29, 2021

Trying to compile with make trigger following error

cc  -I/usr/local/opt/icu4c/include -L/usr/local/opt/icu4c/lib  tcp-send-test.c   -o tcp-send-test
In file included from tcp-send-test.c:13:
./util.h:17:41: warning: format specifies type 'long' but the argument has type '__darwin_suseconds_t' (aka 'int') [-Wformat]
        printf("[%-.8ld.%-.6ld] ",  tv.tv_sec, tv.tv_usec);
                        ~~~~~~                 ^~~~~~~~~~
                        %-.6d
1 warning generated.
cc  -I/usr/local/opt/icu4c/include -L/usr/local/opt/icu4c/lib  tcp-recv-test.c   -o tcp-recv-test
In file included from tcp-recv-test.c:15:
./util.h:17:41: warning: format specifies type 'long' but the argument has type '__darwin_suseconds_t' (aka 'int') [-Wformat]
        printf("[%-.8ld.%-.6ld] ",  tv.tv_sec, tv.tv_usec);
                        ~~~~~~                 ^~~~~~~~~~
                        %-.6d
1 warning generated.
cc  -I/usr/local/opt/icu4c/include -L/usr/local/opt/icu4c/lib  tcp-keepalive-test.c   -o tcp-keepalive-test
In file included from tcp-keepalive-test.c:13:
./util.h:17:41: warning: format specifies type 'long' but the argument has type '__darwin_suseconds_t' (aka 'int') [-Wformat]
        printf("[%-.8ld.%-.6ld] ",  tv.tv_sec, tv.tv_usec);
                        ~~~~~~                 ^~~~~~~~~~
                        %-.6d
1 warning generated.

make: 3.81
Mac OS: 10.14.6

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

No branches or pull requests

1 participant