names defined in pcre_internal.h

Peter Ernst P.Ernst at dkfz-heidelberg.de
Fri Oct 24 10:51:53 UTC 2003


Dear Emboss developers,

  version: pre-release of EMBOSS-2.8.0.
  problem: names defined in pcre_internal.h

the new "perl compatible regular expressions" (pcre) in EMBOSS do have
an include file named "pcre_internal.h". However this include file is
not just used internally to compile the regular expression code in
Ajax, but is also included in the "emboss.h" include chain (through
ajreg.h).

Because this include file contains several definitions not following
the usual prefix-scheme e.g. definitions for "TRUE" and "FALSE" or
names derived from Perl (e.g. OP_NOT, OP_REF or OP_REVERSE), I
experienced name conflicts during compilation of my programs that are
using EMBOSS.

Maybe it is possible to

  a.) prefix the definitions in pcre_internal.h (to fight against the
      namespace pollution) and/or

  b.) remove pcre_internal.h from the include chain of emboss.h.
      (the name suggests that it was not supposed to be public)

Kind regards,

     Peter

-- 
=======================================================================
 Peter Ernst
 Department of Molecular Biophysics - B020
 Deutsches Krebsforschungszentrum (German Cancer Research Center) DKFZ
 Im Neuenheimer Feld 580 / Technologiepark 3
 69120 Heidelberg, Germany                     phone: +49-6221-42-2330
 http://genome.dkfz-heidelberg.de/               fax: +49-6221-42-2333
=======================================================================




More information about the emboss-dev mailing list