• WATTCP minor warnings turned to errors

    From [via djgpp@delorie.com]" @21:1/5 to Djgpp on Sun Sep 4 05:47:59 2022
    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 neto 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.
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta content="text/html;charset=UTF-8" http-equiv="Content-Type"></head><body ><div style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10pt;"><div>Used invoke /
    r make &gt; out.txt in FreeDOS to redirect errors<br></div><div>Invoking:&nbsp; make<br></div><div>gcc -std=gnu89 -march=i386 -O3 -Wall -Wextra -Werror -Wno-long-long -pedantic -Wformat-security -I \DEVEL\DJGPP\NET\WATT\INC&nbsp;&nbsp; -c -o net.o net.c<
    </div><div>In file included from \DEVEL\DJGPP\NET\WATT\INC/sys/socket.h:47,<br></div><div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from net.c:17:<br></div><div>\DEVEL\DJGPP\NET\WATT\INC/sys/
    w32api.h:67:3: error: C++ style comments are not allowed in ISO C90 [-Werror]<br></div><div>&nbsp;&nbsp; 67 |&nbsp;&nbsp; // #error WIN32 defined for Djgpp?<br></div><div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp; ^<br></div><div>\DEVEL\DJGPP\NET\WATT\
    INC/sys/w32api.h:67:3: note: (this will be reported only once per input file)<br></div><div>In file included from \DEVEL\DJGPP\NET\WATT\INC/sys/werrno.h:17,<br></div><div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    &nbsp;&nbsp; from \DEVEL\DJGPP\NET\WATT\INC/sys/socket.h:51:<br></div><div>\DEVEL\DJGPP\NET\WATT\INC/sys/cdefs.h:61:4: error: #include_next is a GCC extension [-Werror]<br></div><div>&nbsp;&nbsp; 61 |&nbsp;&nbsp; #include_next &lt;sys/cdefs.h&gt;<br></
    <div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp; ^~~~~~~~~~~~<br></div><div>\DEVEL\DJGPP\NET\WATT\INC/sys/cdefs.h:132:3: error: C++ style comments are not allowed in ISO C90 [-Werror]<br></div><div>&nbsp; 132 |&nbsp;&nbsp; //#pragma message ("
    I am Embarcadero")<br></div><div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp; ^<br></div><div><br></div><div>Frankly... not sure it is worth to redo the package... I am not even sure it is worth mentioning.<br></div></div><br></body></html>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From [via djgpp@delorie.com]" @21:1/5 to djgpp on Sun Sep 4 06:14:02 2022
    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.
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta content="text/html;charset=UTF-8" http-equiv="Content-Type"></head><body ><div style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10pt;">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.<br></div><br></body></html>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)