bug-glibc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

in.h is not ANSI C++ compliant


From: Stuart Kenny
Subject: in.h is not ANSI C++ compliant
Date: Tue, 17 Apr 2001 11:21:18 -0400

Lines 66-70 of in.h contains the following structure:
struct ip_opts
  {
    struct in_addr ip_dst;      /* First hop; zero without source
route.  */
    char ip_opts[40];          /* Actually variable in size.  */
  };


This is not ANSI C++ compliant as it has a structure with one of its
members having the same name.


Stuart Kenny
Solidum Systems




reply via email to

[Prev in Thread] Current Thread [Next in Thread]