Hi!

----

Small issue with Cygwin 3.6 (3.6.0-0.419.g3c1308ed890e.x86_64) system
/usr/include/unistd.h and clang:
---- snip ----
$ clang --version
clang version 8.0.1 (tags/RELEASE_801/final)
Target: x86_64-unknown-windows-cygnus
Thread model: posix
InstalledDir: /usr/bin
$ clang -std=gnu17 -Wall -Wextra -g foo.c -lntdll -o foo.i686.exe
In file included from foo.c:37:
In file included from /usr/include/unistd.h:4:
/usr/include/sys/unistd.h:218:42: error: parameter name omitted
static inline void setproctitle_init (int, char *[], char *[]) {}
                                        ^
/usr/include/sys/unistd.h:218:50: error: parameter name omitted
static inline void setproctitle_init (int, char *[], char *[]) {}
                                                ^
/usr/include/sys/unistd.h:218:60: error: parameter name omitted
static inline void setproctitle_init (int, char *[], char *[]) {}
                                                          ^
3 errors generated.
make: *** [Makefile:10: foo.i686.exe] Error 1
---- snip ----

----

Bye,
Roland
-- 
  __ .  . __
 (o.\ \/ /.o) roland.ma...@nrubsig.org
  \__\/\/__/  MPEG specialist, C&&JAVA&&Sun&&Unix programmer
  /O /==\ O\  TEL +49 641 3992797
 (;O/ \/ \O;)

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

Reply via email to