Ethereal-dev: [Ethereal-dev] 0.10.11 build failure with vendor C compiler

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

Date: Tue, 17 May 2005 12:24:43 -0500
The Sun, HP, IBM, and SGI C compilers fail when building
epan/ftypes/ftype-string.c:
  (Sun)
"ftype-string.c", line 56: operands have incompatible types:
         int ":" void

  (HP)
cc: "ftype-string.c", line 56: error 1553: Incompatible types in second and third operands of conditional expression (?:).

  (IBM)
"ftype-string.c", line 56.5: 1506-226 (S) The ":" operator is not
allowed between "int" and "void".

  (SGI)
cc-1032 cc: ERROR File = ftype-string.c, Line = 56
  The indicated expression must have an arithmetic type.

      DISSECTOR_ASSERT(value != NULL);
      ^

-- 
albert chin (china@xxxxxxxxxxxxxxxxxx)