bug-gsl
[Top][All Lists]
Advanced

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

[Bug-gsl] [bug #36197] reserved identifier violation


From: Rhys Ulerich
Subject: [Bug-gsl] [bug #36197] reserved identifier violation
Date: Sat, 02 Jun 2012 17:35:19 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.78 Safari/535.11

Follow-up Comment #1, bug #36197 (project gsl):

I agree that "__GSL_MATH_H_" is problematic according to the link you sent. 
That fix is just a judicious 'perl -pi -e' invocation across the code base and
should be doable.

At a glance, I'm uncertain why "gsl_mode_t" and "gsl_prec_t" tamper with the
POSIX name space.  I see the "ANY header" table entry in the specification you
linked.  It seems the clause "End in the string indicated as a reserved suffix
in the table and do not use the reserved prefixes posix_, POSIX_, or _POSIX_,
as long as the reserved suffix is in that part of the name considered
significant by the implementation." may prevent "gsl_mode_t" from being
problematic, e.g., because it does not have a posix-y prefix.

Regardless, changing the GSL types ending with a "_t" would break the existing
public APIs.  I don't think this part of your report is fixable.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?36197>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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