WATTCP minor warnings turned to errors

7 views
Skip to first unread message

Paul Dufresne (dufresnep@zoho.com) [via djgpp@delorie.com]

unread,
Sep 4, 2022, 5:51:40 AM9/4/22
to Djgpp
Used invoke /r make > out.txt in FreeDOS to redirect errors
Invoking:  make
gcc -std=gnu89 -march=i386 -O3 -Wall -Wextra -Werror -Wno-long-long -pedantic -Wformat-security -I \DEVEL\DJGPP\NET\WATT\INC   -c -o net.o net.c
In file included from \DEVEL\DJGPP\NET\WATT\INC/sys/socket.h:47,
                 from net.c:17:
\DEVEL\DJGPP\NET\WATT\INC/sys/w32api.h:67:3: error: C++ style comments are not allowed in ISO C90 [-Werror]
   67 |   // #error WIN32 defined for Djgpp?
      |   ^
\DEVEL\DJGPP\NET\WATT\INC/sys/w32api.h:67:3: note: (this will be reported only once per input file)
In file included from \DEVEL\DJGPP\NET\WATT\INC/sys/werrno.h:17,
                 from \DEVEL\DJGPP\NET\WATT\INC/sys/socket.h:51:
\DEVEL\DJGPP\NET\WATT\INC/sys/cdefs.h:61:4: error: #include_next is a GCC extension [-Werror]
   61 |   #include_next <sys/cdefs.h>
      |    ^~~~~~~~~~~~
\DEVEL\DJGPP\NET\WATT\INC/sys/cdefs.h:132:3: error: C++ style comments are not allowed in ISO C90 [-Werror]
  132 |   //#pragma message ("I am Embarcadero")
      |   ^

Frankly... not sure it is worth to redo the package... I am not even sure it is worth mentioning.

Paul Dufresne (dufresnep@zoho.com) [via djgpp@delorie.com]

unread,
Sep 4, 2022, 6:17:42 AM9/4/22
to djgpp
However, than inc is in net/watt/inc, and that libwatt.a is in net/watt/lib rather than just in lib ... I find that more unexpected.

Reply all
Reply to author
Forward
0 new messages