Skip to content
Snippets Groups Projects
Forked from Utils / KWSys
Source project has a limited visibility.
  • Brad King's avatar
    7ecacbfa
    COMP: Avoid String.c inclusion by Compaq templates · 7ecacbfa
    Brad King authored
    The Compaq compiler (on VMS) includes 'String.c' in source files that
    use the stl string while looking for template definitions.  This was the
    true cause of double-inclusion of the 'kwsysPrivate.h' header.  We work
    around the problem by conditionally compiling the entire source file on
    a condition only true when really building the source.
    7ecacbfa
    History
    COMP: Avoid String.c inclusion by Compaq templates
    Brad King authored
    The Compaq compiler (on VMS) includes 'String.c' in source files that
    use the stl string while looking for template definitions.  This was the
    true cause of double-inclusion of the 'kwsysPrivate.h' header.  We work
    around the problem by conditionally compiling the entire source file on
    a condition only true when really building the source.