pygccxml.declarations.compilers

Package pygccxml :: Package declarations :: Module compilers |

# Source Code for Module pygccxml.declarations.compilers

     1  # Copyright 2004-2008 Roman Yakovenko.
     2  # Distributed under the Boost Software License, Version 1.0. (See
     3  # accompanying file LICENSE_1_0.txt or copy at
     4  # http://www.boost.org/LICENSE_1_0.txt)
     5
     6  """
     7  contains enumeration of all compilers supported by the project
     8  """
     9
    10  GCC_XML_06 = "GCC-XML 0.6"
    11  GCC_XML_07 = "GCC-XML 0.7"
    12  GCC_XML_09 = "GCC-XML 0.9"
    13  GCC_XML_09_BUGGY = "GCC-XML 0.9 BUGGY"
    14  #revision 122:
    15  #After this fix, all constructors and destructors that exist for a class
    16  #are dumped whether the user declared them or not.  Those that were
    17  #implicitly declared by the compiler are marked as "artificial".
    18
    19  MSVC_PDB_9 = "MSVC PDB 9.0"
    20
    21 -def on_missing_functionality( compiler, functionality ):
    22      raise  NotImplementedError( '"%s" compiler doesn\'t support functionality "%s"'
    23                                  % ( compiler, functionality ))
    24