How to use the scons.scons-local-120.SCons.Warnings.Warning function in SCons

To help you get started, we’ve selected a few SCons examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github mapnik / mapnik / scons / scons-local-1.2.0 / SCons / Warnings.py View on Github external
class DuplicateEnvironmentWarning(Warning):
    pass

class FutureReservedVariableWarning(Warning):
    pass

class LinkWarning(Warning):
    pass

class MisleadingKeywordsWarning(Warning):
    pass

class MissingSConscriptWarning(Warning):
    pass

class NoMD5ModuleWarning(Warning):
    pass

class NoMetaclassSupportWarning(Warning):
    pass

class NoObjectCountWarning(Warning):
    pass

class NoParallelSupportWarning(Warning):
    pass

class PythonVersionWarning(DeprecatedWarning):
    pass

class ReservedVariableWarning(Warning):
    pass
github mapnik / mapnik / scons / scons-local-1.2.0 / SCons / Warnings.py View on Github external
class DeprecatedSourceSignaturesWarning(DeprecatedWarning):
    pass

class DeprecatedTargetSignaturesWarning(DeprecatedWarning):
    pass

class DuplicateEnvironmentWarning(Warning):
    pass

class FutureReservedVariableWarning(Warning):
    pass

class LinkWarning(Warning):
    pass

class MisleadingKeywordsWarning(Warning):
    pass

class MissingSConscriptWarning(Warning):
    pass

class NoMD5ModuleWarning(Warning):
    pass

class NoMetaclassSupportWarning(Warning):
    pass

class NoObjectCountWarning(Warning):
    pass

class NoParallelSupportWarning(Warning):
    pass
github mapnik / mapnik / scons / scons-local-1.2.0 / SCons / Warnings.py View on Github external
class DeprecatedTargetSignaturesWarning(DeprecatedWarning):
    pass

class DuplicateEnvironmentWarning(Warning):
    pass

class FutureReservedVariableWarning(Warning):
    pass

class LinkWarning(Warning):
    pass

class MisleadingKeywordsWarning(Warning):
    pass

class MissingSConscriptWarning(Warning):
    pass

class NoMD5ModuleWarning(Warning):
    pass

class NoMetaclassSupportWarning(Warning):
    pass

class NoObjectCountWarning(Warning):
    pass

class NoParallelSupportWarning(Warning):
    pass

class PythonVersionWarning(DeprecatedWarning):
    pass
github mapnik / mapnik / scons / scons-local-1.2.0 / SCons / Warnings.py View on Github external
class DeprecatedWarning(Warning):
    pass

class DeprecatedCopyWarning(DeprecatedWarning):
    pass

class DeprecatedOptionsWarning(DeprecatedWarning):
    pass

class DeprecatedSourceSignaturesWarning(DeprecatedWarning):
    pass

class DeprecatedTargetSignaturesWarning(DeprecatedWarning):
    pass

class DuplicateEnvironmentWarning(Warning):
    pass

class FutureReservedVariableWarning(Warning):
    pass

class LinkWarning(Warning):
    pass

class MisleadingKeywordsWarning(Warning):
    pass

class MissingSConscriptWarning(Warning):
    pass

class NoMD5ModuleWarning(Warning):
    pass
github mapnik / mapnik / scons / scons-local-1.2.0 / SCons / Warnings.py View on Github external
import SCons.Errors

class Warning(SCons.Errors.UserError):
    pass


# NOTE:  If you add a new warning class, add it to the man page, too!

class CacheWriteErrorWarning(Warning):
    pass

class CorruptSConsignWarning(Warning):
    pass

class DependencyWarning(Warning):
    pass

class DeprecatedWarning(Warning):
    pass

class DeprecatedCopyWarning(DeprecatedWarning):
    pass

class DeprecatedOptionsWarning(DeprecatedWarning):
    pass

class DeprecatedSourceSignaturesWarning(DeprecatedWarning):
    pass

class DeprecatedTargetSignaturesWarning(DeprecatedWarning):
    pass
github mapnik / mapnik / scons / scons-local-1.2.0 / SCons / Warnings.py View on Github external
"""

__revision__ = "src/engine/SCons/Warnings.py 3842 2008/12/20 22:59:52 scons"

import string
import sys

import SCons.Errors

class Warning(SCons.Errors.UserError):
    pass


# NOTE:  If you add a new warning class, add it to the man page, too!

class CacheWriteErrorWarning(Warning):
    pass

class CorruptSConsignWarning(Warning):
    pass

class DependencyWarning(Warning):
    pass

class DeprecatedWarning(Warning):
    pass

class DeprecatedCopyWarning(DeprecatedWarning):
    pass

class DeprecatedOptionsWarning(DeprecatedWarning):
    pass
github mapnik / mapnik / scons / scons-local-1.2.0 / SCons / Warnings.py View on Github external
class LinkWarning(Warning):
    pass

class MisleadingKeywordsWarning(Warning):
    pass

class MissingSConscriptWarning(Warning):
    pass

class NoMD5ModuleWarning(Warning):
    pass

class NoMetaclassSupportWarning(Warning):
    pass

class NoObjectCountWarning(Warning):
    pass

class NoParallelSupportWarning(Warning):
    pass

class PythonVersionWarning(DeprecatedWarning):
    pass

class ReservedVariableWarning(Warning):
    pass

class StackSizeWarning(Warning):
    pass

class FortranCxxMixWarning(LinkWarning):
    pass
github mapnik / mapnik / scons / scons-local-1.2.0 / SCons / Warnings.py View on Github external
class DeprecatedCopyWarning(DeprecatedWarning):
    pass

class DeprecatedOptionsWarning(DeprecatedWarning):
    pass

class DeprecatedSourceSignaturesWarning(DeprecatedWarning):
    pass

class DeprecatedTargetSignaturesWarning(DeprecatedWarning):
    pass

class DuplicateEnvironmentWarning(Warning):
    pass

class FutureReservedVariableWarning(Warning):
    pass

class LinkWarning(Warning):
    pass

class MisleadingKeywordsWarning(Warning):
    pass

class MissingSConscriptWarning(Warning):
    pass

class NoMD5ModuleWarning(Warning):
    pass

class NoMetaclassSupportWarning(Warning):
    pass
github mapnik / mapnik / scons / scons-local-1.2.0 / SCons / Warnings.py View on Github external
class NoMetaclassSupportWarning(Warning):
    pass

class NoObjectCountWarning(Warning):
    pass

class NoParallelSupportWarning(Warning):
    pass

class PythonVersionWarning(DeprecatedWarning):
    pass

class ReservedVariableWarning(Warning):
    pass

class StackSizeWarning(Warning):
    pass

class FortranCxxMixWarning(LinkWarning):
    pass

_warningAsException = 0

# The below is a list of 2-tuples.  The first element is a class object.
# The second element is true if that class is enabled, false if it is disabled.
_enabled = []

_warningOut = None

def suppressWarningClass(clazz):
    """Suppresses all warnings that are of type clazz or
    derived from clazz."""
github mapnik / mapnik / scons / scons-local-1.2.0 / SCons / Warnings.py View on Github external
class NoMD5ModuleWarning(Warning):
    pass

class NoMetaclassSupportWarning(Warning):
    pass

class NoObjectCountWarning(Warning):
    pass

class NoParallelSupportWarning(Warning):
    pass

class PythonVersionWarning(DeprecatedWarning):
    pass

class ReservedVariableWarning(Warning):
    pass

class StackSizeWarning(Warning):
    pass

class FortranCxxMixWarning(LinkWarning):
    pass

_warningAsException = 0

# The below is a list of 2-tuples.  The first element is a class object.
# The second element is true if that class is enabled, false if it is disabled.
_enabled = []

_warningOut = None