9306 pppd: this use of "defined" may not be portable

Review Request #969 — Created March 18, 2018 and submitted

tsoome
illumos-gate
9306
cc946eb...
general
ipcp.c: In function 'ipcp_up':
ipcp.c:1546:5: error: this use of "defined" may not be portable [-Werror=expansion-to-defined]
 #if SIFUPFIRST
     ^~~~~~~~~~
ipcp.c:1546:5: error: this use of "defined" may not be portable [-Werror=expansion-to-defined]
ipcp.c:1546:5: error: this use of "defined" may not be portable [-Werror=expansion-to-defined]
ipcp.c:1561:6: error: this use of "defined" may not be portable [-Werror=expansion-to-defined]
 #if !SIFUPFIRST
      ^~~~~~~~~~
ipcp.c:1561:6: error: this use of "defined" may not be portable [-Werror=expansion-to-defined]
ipcp.c:1561:6: error: this use of "defined" may not be portable [-Werror=expansion-to-defined]

ipv6cp.c:1110:5: error: this use of "defined" may not be portable [-Werror=expansion-to-defined]
 #if SIF6UPFIRST
     ^~~~~~~~~~~
ipv6cp.c:1110:5: error: this use of "defined" may not be portable [-Werror=expansion-to-defined]
ipv6cp.c:1110:5: error: this use of "defined" may not be portable [-Werror=expansion-to-defined]
ipv6cp.c:1110:5: error: this use of "defined" may not be portable [-Werror=expansion-to-defined]
ipv6cp.c:1116:6: error: this use of "defined" may not be portable [-Werror=expansion-to-defined]
 #if !SIF6UPFIRST
      ^~~~~~~~~~~
ipv6cp.c:1116:6: error: this use of "defined" may not be portable [-Werror=expansion-to-defined]
ipv6cp.c:1116:6: error: this use of "defined" may not be portable [-Werror=expansion-to-defined]
ipv6cp.c:1116:6: error: this use of "defined" may not be portable [-Werror=expansion-to-defined]
ipv6cp.c: In function 'ipv6cp_up':
ipv6cp.c:1212:6: error: this use of "defined" may not be portable [-Werror=expansion-to-defined]
 #if !SIF6UPFIRST
      ^~~~~~~~~~~
ipv6cp.c:1212:6: error: this use of "defined" may not be portable [-Werror=expansion-to-defined]
ipv6cp.c:1212:6: error: this use of "defined" may not be portable [-Werror=expansion-to-defined]
ipv6cp.c:1212:6: error: this use of "defined" may not be portable [-Werror=expansion-to-defined]
ipv6cp.c:1236:5: error: this use of "defined" may not be portable [-Werror=expansion-to-defined]
 #if SIF6UPFIRST
     ^~~~~~~~~~~
ipv6cp.c:1236:5: error: this use of "defined" may not be portable [-Werror=expansion-to-defined]
ipv6cp.c:1236:5: error: this use of "defined" may not be portable [-Werror=expansion-to-defined]
ipv6cp.c:1236:5: error: this use of "defined" may not be portable [-Werror=expansion-to-defined]

cc1: all warnings being treated as errors


seeemef@mac.com
  1. Ship It!
  2. 
      
citrus
  1. Ship It!
  2. 
      
tsoome
Review request changed

Status: Closed (submitted)

Loading...