mathematical 1.6.12 → 1.6.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/ext/mathematical/CMakeLists.txt +48 -6
- data/ext/mathematical/extconf.rb +11 -8
- data/ext/mathematical/lasem/COPYING +2 -1
- data/ext/mathematical/lasem/NEWS +4 -2
- data/ext/mathematical/lasem/configure.ac +1 -1
- data/ext/mathematical/lasem/lasem.doap +2 -2
- data/ext/mathematical/lasem/po/LINGUAS +3 -0
- data/ext/mathematical/lasem/po/da.po +99 -0
- data/ext/mathematical/lasem/po/eu.po +66 -30
- data/ext/mathematical/lasem/po/it.po +68 -28
- data/ext/mathematical/lasem/po/ro.po +64 -0
- data/ext/mathematical/lasem/po/tr.po +68 -28
- data/ext/mathematical/lasem/src/lasemrender.c +2 -2
- data/ext/mathematical/lasem/src/lsm.c +2 -2
- data/ext/mathematical/lasem/src/lsm.h +2 -2
- data/ext/mathematical/lasem/src/lsmattributes.c +2 -2
- data/ext/mathematical/lasem/src/lsmattributes.h +2 -2
- data/ext/mathematical/lasem/src/lsmcairo.c +2 -2
- data/ext/mathematical/lasem/src/lsmcairo.h +2 -2
- data/ext/mathematical/lasem/src/lsmdebug.c +2 -2
- data/ext/mathematical/lasem/src/lsmdebug.h +2 -2
- data/ext/mathematical/lasem/src/lsmdom.h +2 -2
- data/ext/mathematical/lasem/src/lsmdomcharacterdata.c +2 -2
- data/ext/mathematical/lasem/src/lsmdomcharacterdata.h +2 -2
- data/ext/mathematical/lasem/src/lsmdomdocument.c +2 -2
- data/ext/mathematical/lasem/src/lsmdomdocument.h +2 -2
- data/ext/mathematical/lasem/src/lsmdomdocumentfragment.c +2 -2
- data/ext/mathematical/lasem/src/lsmdomdocumentfragment.h +2 -2
- data/ext/mathematical/lasem/src/lsmdomelement.c +2 -2
- data/ext/mathematical/lasem/src/lsmdomelement.h +2 -2
- data/ext/mathematical/lasem/src/lsmdomentities.c +2 -2
- data/ext/mathematical/lasem/src/lsmdomentities.h +2 -2
- data/ext/mathematical/lasem/src/lsmdomimplementation.c +2 -2
- data/ext/mathematical/lasem/src/lsmdomimplementation.h +2 -2
- data/ext/mathematical/lasem/src/lsmdomnamednodemap.c +2 -2
- data/ext/mathematical/lasem/src/lsmdomnamednodemap.h +2 -2
- data/ext/mathematical/lasem/src/lsmdomnode.c +2 -2
- data/ext/mathematical/lasem/src/lsmdomnode.h +2 -2
- data/ext/mathematical/lasem/src/lsmdomnodelist.c +2 -2
- data/ext/mathematical/lasem/src/lsmdomnodelist.h +2 -2
- data/ext/mathematical/lasem/src/lsmdomparser.c +2 -2
- data/ext/mathematical/lasem/src/lsmdomparser.h +2 -2
- data/ext/mathematical/lasem/src/lsmdomtext.c +2 -2
- data/ext/mathematical/lasem/src/lsmdomtext.h +2 -2
- data/ext/mathematical/lasem/src/lsmdomtypes.h +2 -2
- data/ext/mathematical/lasem/src/lsmdomview.c +2 -2
- data/ext/mathematical/lasem/src/lsmdomview.h +2 -2
- data/ext/mathematical/lasem/src/lsmitex.c +2 -2
- data/ext/mathematical/lasem/src/lsmitex.h +2 -2
- data/ext/mathematical/lasem/src/lsmmathml.h +2 -2
- data/ext/mathematical/lasem/src/lsmmathmlactionelement.c +2 -2
- data/ext/mathematical/lasem/src/lsmmathmlactionelement.h +2 -2
- data/ext/mathematical/lasem/src/lsmmathmlaligngroupelement.c +2 -2
- data/ext/mathematical/lasem/src/lsmmathmlaligngroupelement.h +2 -2
- data/ext/mathematical/lasem/src/lsmmathmlalignmarkelement.c +2 -2
- data/ext/mathematical/lasem/src/lsmmathmlalignmarkelement.h +2 -2
- data/ext/mathematical/lasem/src/lsmmathmlattributes.c +2 -2
- data/ext/mathematical/lasem/src/lsmmathmlattributes.h +2 -2
- data/ext/mathematical/lasem/src/lsmmathmldocument.c +3 -3
- data/ext/mathematical/lasem/src/lsmmathmldocument.h +2 -2
- data/ext/mathematical/lasem/src/lsmmathmlelement.c +2 -2
- data/ext/mathematical/lasem/src/lsmmathmlelement.h +2 -2
- data/ext/mathematical/lasem/src/lsmmathmlencloseelement.c +2 -2
- data/ext/mathematical/lasem/src/lsmmathmlencloseelement.h +2 -2
- data/ext/mathematical/lasem/src/lsmmathmlenums.c +6 -2
- data/ext/mathematical/lasem/src/lsmmathmlenums.h +2 -2
- data/ext/mathematical/lasem/src/lsmmathmlerrorelement.c +2 -2
- data/ext/mathematical/lasem/src/lsmmathmlerrorelement.h +2 -2
- data/ext/mathematical/lasem/src/lsmmathmlfencedelement.c +2 -2
- data/ext/mathematical/lasem/src/lsmmathmlfencedelement.h +2 -2
- data/ext/mathematical/lasem/src/lsmmathmlfractionelement.c +2 -2
- data/ext/mathematical/lasem/src/lsmmathmlfractionelement.h +2 -2
- data/ext/mathematical/lasem/src/lsmmathmlglyphtableams.c +2 -2
- data/ext/mathematical/lasem/src/lsmmathmlglyphtableams.h +2 -2
- data/ext/mathematical/lasem/src/lsmmathmlitexelement.c +2 -2
- data/ext/mathematical/lasem/src/lsmmathmlitexelement.h +2 -2
- data/ext/mathematical/lasem/src/lsmmathmllayoututils.c +2 -2
- data/ext/mathematical/lasem/src/lsmmathmllayoututils.h +2 -2
- data/ext/mathematical/lasem/src/lsmmathmlmathelement.c +2 -2
- data/ext/mathematical/lasem/src/lsmmathmlmathelement.h +2 -2
- data/ext/mathematical/lasem/src/lsmmathmloperatordictionary.c +2 -2
- data/ext/mathematical/lasem/src/lsmmathmloperatordictionary.h +2 -2
- data/ext/mathematical/lasem/src/lsmmathmloperatorelement.c +2 -2
- data/ext/mathematical/lasem/src/lsmmathmloperatorelement.h +2 -2
- data/ext/mathematical/lasem/src/lsmmathmlpaddedelement.c +2 -2
- data/ext/mathematical/lasem/src/lsmmathmlpaddedelement.h +2 -2
- data/ext/mathematical/lasem/src/lsmmathmlphantomelement.c +2 -2
- data/ext/mathematical/lasem/src/lsmmathmlphantomelement.h +2 -2
- data/ext/mathematical/lasem/src/lsmmathmlpresentationcontainer.c +2 -2
- data/ext/mathematical/lasem/src/lsmmathmlpresentationcontainer.h +2 -2
- data/ext/mathematical/lasem/src/lsmmathmlpresentationtoken.c +2 -2
- data/ext/mathematical/lasem/src/lsmmathmlpresentationtoken.h +2 -2
- data/ext/mathematical/lasem/src/lsmmathmlradicalelement.c +2 -2
- data/ext/mathematical/lasem/src/lsmmathmlradicalelement.h +2 -2
- data/ext/mathematical/lasem/src/lsmmathmlrowelement.c +2 -2
- data/ext/mathematical/lasem/src/lsmmathmlrowelement.h +2 -2
- data/ext/mathematical/lasem/src/lsmmathmlscriptelement.c +2 -2
- data/ext/mathematical/lasem/src/lsmmathmlscriptelement.h +2 -2
- data/ext/mathematical/lasem/src/lsmmathmlsemanticselement.c +2 -2
- data/ext/mathematical/lasem/src/lsmmathmlsemanticselement.h +2 -2
- data/ext/mathematical/lasem/src/lsmmathmlspaceelement.c +2 -2
- data/ext/mathematical/lasem/src/lsmmathmlspaceelement.h +2 -2
- data/ext/mathematical/lasem/src/lsmmathmlstringelement.c +2 -2
- data/ext/mathematical/lasem/src/lsmmathmlstringelement.h +2 -2
- data/ext/mathematical/lasem/src/lsmmathmlstyle.c +2 -2
- data/ext/mathematical/lasem/src/lsmmathmlstyle.h +2 -2
- data/ext/mathematical/lasem/src/lsmmathmlstyleelement.c +2 -2
- data/ext/mathematical/lasem/src/lsmmathmlstyleelement.h +2 -2
- data/ext/mathematical/lasem/src/lsmmathmltablecellelement.c +2 -2
- data/ext/mathematical/lasem/src/lsmmathmltablecellelement.h +2 -2
- data/ext/mathematical/lasem/src/lsmmathmltableelement.c +2 -2
- data/ext/mathematical/lasem/src/lsmmathmltableelement.h +2 -2
- data/ext/mathematical/lasem/src/lsmmathmltablerowelement.c +2 -2
- data/ext/mathematical/lasem/src/lsmmathmltablerowelement.h +2 -2
- data/ext/mathematical/lasem/src/lsmmathmltraits.c +2 -2
- data/ext/mathematical/lasem/src/lsmmathmltraits.h +2 -2
- data/ext/mathematical/lasem/src/lsmmathmltypes.h +2 -2
- data/ext/mathematical/lasem/src/lsmmathmlunderoverelement.c +2 -2
- data/ext/mathematical/lasem/src/lsmmathmlunderoverelement.h +2 -2
- data/ext/mathematical/lasem/src/lsmmathmlutils.c +2 -2
- data/ext/mathematical/lasem/src/lsmmathmlutils.h +2 -2
- data/ext/mathematical/lasem/src/lsmmathmlview.c +2 -2
- data/ext/mathematical/lasem/src/lsmmathmlview.h +2 -2
- data/ext/mathematical/lasem/src/lsmproperties.c +2 -2
- data/ext/mathematical/lasem/src/lsmproperties.h +2 -2
- data/ext/mathematical/lasem/src/lsmstr.c +2 -2
- data/ext/mathematical/lasem/src/lsmstr.h +2 -2
- data/ext/mathematical/lasem/src/lsmsvg.h +2 -2
- data/ext/mathematical/lasem/src/lsmsvgaelement.c +2 -2
- data/ext/mathematical/lasem/src/lsmsvgaelement.h +2 -2
- data/ext/mathematical/lasem/src/lsmsvgattributes.h +2 -2
- data/ext/mathematical/lasem/src/lsmsvgcircleelement.c +2 -2
- data/ext/mathematical/lasem/src/lsmsvgcircleelement.h +2 -2
- data/ext/mathematical/lasem/src/lsmsvgclippathelement.c +2 -2
- data/ext/mathematical/lasem/src/lsmsvgclippathelement.h +2 -2
- data/ext/mathematical/lasem/src/lsmsvgcolors.c +2 -2
- data/ext/mathematical/lasem/src/lsmsvgcolors.h +2 -2
- data/ext/mathematical/lasem/src/lsmsvgdefselement.c +2 -2
- data/ext/mathematical/lasem/src/lsmsvgdefselement.h +2 -2
- data/ext/mathematical/lasem/src/lsmsvgdocument.c +2 -2
- data/ext/mathematical/lasem/src/lsmsvgdocument.h +2 -2
- data/ext/mathematical/lasem/src/lsmsvgelement.c +2 -2
- data/ext/mathematical/lasem/src/lsmsvgelement.h +2 -3
- data/ext/mathematical/lasem/src/lsmsvgellipseelement.c +2 -2
- data/ext/mathematical/lasem/src/lsmsvgellipseelement.h +2 -2
- data/ext/mathematical/lasem/src/lsmsvgenums.c +2 -2
- data/ext/mathematical/lasem/src/lsmsvgenums.h +2 -2
- data/ext/mathematical/lasem/src/lsmsvgfilterblend.c +2 -2
- data/ext/mathematical/lasem/src/lsmsvgfilterblend.h +2 -2
- data/ext/mathematical/lasem/src/lsmsvgfiltercolormatrix.c +2 -2
- data/ext/mathematical/lasem/src/lsmsvgfiltercolormatrix.h +2 -2
- data/ext/mathematical/lasem/src/lsmsvgfiltercomposite.c +2 -2
- data/ext/mathematical/lasem/src/lsmsvgfiltercomposite.h +2 -2
- data/ext/mathematical/lasem/src/lsmsvgfilterconvolvematrix.c +2 -2
- data/ext/mathematical/lasem/src/lsmsvgfilterconvolvematrix.h +2 -2
- data/ext/mathematical/lasem/src/lsmsvgfilterdisplacementmap.c +2 -2
- data/ext/mathematical/lasem/src/lsmsvgfilterdisplacementmap.h +2 -2
- data/ext/mathematical/lasem/src/lsmsvgfilterelement.c +2 -2
- data/ext/mathematical/lasem/src/lsmsvgfilterelement.h +2 -2
- data/ext/mathematical/lasem/src/lsmsvgfilterflood.c +2 -2
- data/ext/mathematical/lasem/src/lsmsvgfilterflood.h +2 -2
- data/ext/mathematical/lasem/src/lsmsvgfiltergaussianblur.c +2 -2
- data/ext/mathematical/lasem/src/lsmsvgfiltergaussianblur.h +2 -2
- data/ext/mathematical/lasem/src/lsmsvgfilterimage.c +6 -4
- data/ext/mathematical/lasem/src/lsmsvgfilterimage.h +2 -2
- data/ext/mathematical/lasem/src/lsmsvgfiltermerge.c +2 -2
- data/ext/mathematical/lasem/src/lsmsvgfiltermerge.h +2 -2
- data/ext/mathematical/lasem/src/lsmsvgfiltermergenode.c +2 -2
- data/ext/mathematical/lasem/src/lsmsvgfiltermergenode.h +2 -2
- data/ext/mathematical/lasem/src/lsmsvgfiltermorphology.c +2 -2
- data/ext/mathematical/lasem/src/lsmsvgfiltermorphology.h +2 -2
- data/ext/mathematical/lasem/src/lsmsvgfilteroffset.c +2 -2
- data/ext/mathematical/lasem/src/lsmsvgfilteroffset.h +2 -2
- data/ext/mathematical/lasem/src/lsmsvgfilterprimitive.c +2 -2
- data/ext/mathematical/lasem/src/lsmsvgfilterprimitive.h +2 -2
- data/ext/mathematical/lasem/src/lsmsvgfilterspecularlighting.c +2 -2
- data/ext/mathematical/lasem/src/lsmsvgfilterspecularlighting.h +2 -2
- data/ext/mathematical/lasem/src/lsmsvgfiltersurface.c +2 -2
- data/ext/mathematical/lasem/src/lsmsvgfiltersurface.h +2 -2
- data/ext/mathematical/lasem/src/lsmsvgfiltertile.c +2 -2
- data/ext/mathematical/lasem/src/lsmsvgfiltertile.h +2 -2
- data/ext/mathematical/lasem/src/lsmsvgfilterturbulence.c +2 -2
- data/ext/mathematical/lasem/src/lsmsvgfilterturbulence.h +2 -2
- data/ext/mathematical/lasem/src/lsmsvggelement.c +2 -2
- data/ext/mathematical/lasem/src/lsmsvggelement.h +2 -2
- data/ext/mathematical/lasem/src/lsmsvggradientelement.c +2 -2
- data/ext/mathematical/lasem/src/lsmsvggradientelement.h +2 -2
- data/ext/mathematical/lasem/src/lsmsvgimageelement.c +2 -2
- data/ext/mathematical/lasem/src/lsmsvgimageelement.h +2 -2
- data/ext/mathematical/lasem/src/lsmsvglength.c +2 -2
- data/ext/mathematical/lasem/src/lsmsvglength.h +2 -2
- data/ext/mathematical/lasem/src/lsmsvglineargradientelement.c +2 -2
- data/ext/mathematical/lasem/src/lsmsvglineargradientelement.h +2 -2
- data/ext/mathematical/lasem/src/lsmsvglineelement.c +2 -2
- data/ext/mathematical/lasem/src/lsmsvglineelement.h +2 -2
- data/ext/mathematical/lasem/src/lsmsvgmarkerelement.c +2 -2
- data/ext/mathematical/lasem/src/lsmsvgmarkerelement.h +2 -2
- data/ext/mathematical/lasem/src/lsmsvgmaskelement.c +2 -2
- data/ext/mathematical/lasem/src/lsmsvgmaskelement.h +2 -2
- data/ext/mathematical/lasem/src/lsmsvgmatrix.c +2 -2
- data/ext/mathematical/lasem/src/lsmsvgmatrix.h +2 -2
- data/ext/mathematical/lasem/src/lsmsvgpathelement.c +2 -2
- data/ext/mathematical/lasem/src/lsmsvgpathelement.h +2 -2
- data/ext/mathematical/lasem/src/lsmsvgpatternelement.c +2 -2
- data/ext/mathematical/lasem/src/lsmsvgpatternelement.h +2 -2
- data/ext/mathematical/lasem/src/lsmsvgpolygonelement.c +2 -2
- data/ext/mathematical/lasem/src/lsmsvgpolygonelement.h +2 -2
- data/ext/mathematical/lasem/src/lsmsvgpolylineelement.c +2 -2
- data/ext/mathematical/lasem/src/lsmsvgpolylineelement.h +2 -2
- data/ext/mathematical/lasem/src/lsmsvgradialgradientelement.c +2 -2
- data/ext/mathematical/lasem/src/lsmsvgradialgradientelement.h +2 -2
- data/ext/mathematical/lasem/src/lsmsvgrectelement.c +2 -2
- data/ext/mathematical/lasem/src/lsmsvgrectelement.h +2 -2
- data/ext/mathematical/lasem/src/lsmsvgstopelement.c +2 -2
- data/ext/mathematical/lasem/src/lsmsvgstopelement.h +2 -2
- data/ext/mathematical/lasem/src/lsmsvgstyle.c +2 -2
- data/ext/mathematical/lasem/src/lsmsvgstyle.h +2 -2
- data/ext/mathematical/lasem/src/lsmsvgsvgelement.c +2 -2
- data/ext/mathematical/lasem/src/lsmsvgsvgelement.h +2 -2
- data/ext/mathematical/lasem/src/lsmsvgswitchelement.c +2 -2
- data/ext/mathematical/lasem/src/lsmsvgswitchelement.h +2 -2
- data/ext/mathematical/lasem/src/lsmsvgsymbolelement.c +2 -2
- data/ext/mathematical/lasem/src/lsmsvgsymbolelement.h +2 -2
- data/ext/mathematical/lasem/src/lsmsvgtextelement.c +2 -2
- data/ext/mathematical/lasem/src/lsmsvgtextelement.h +2 -2
- data/ext/mathematical/lasem/src/lsmsvgtraits.c +2 -2
- data/ext/mathematical/lasem/src/lsmsvgtraits.h +2 -2
- data/ext/mathematical/lasem/src/lsmsvgtransformable.c +2 -2
- data/ext/mathematical/lasem/src/lsmsvgtransformable.h +2 -2
- data/ext/mathematical/lasem/src/lsmsvgtspanelement.c +2 -2
- data/ext/mathematical/lasem/src/lsmsvgtspanelement.h +2 -2
- data/ext/mathematical/lasem/src/lsmsvgtypes.h +2 -2
- data/ext/mathematical/lasem/src/lsmsvguseelement.c +2 -2
- data/ext/mathematical/lasem/src/lsmsvguseelement.h +2 -2
- data/ext/mathematical/lasem/src/lsmsvgview.c +2 -2
- data/ext/mathematical/lasem/src/lsmsvgview.h +2 -2
- data/ext/mathematical/lasem/src/lsmtraits.c +2 -2
- data/ext/mathematical/lasem/src/lsmtraits.h +2 -2
- data/ext/mathematical/lasem/src/lsmtypes.h +2 -2
- data/ext/mathematical/lasem/src/lsmutils.c +2 -2
- data/ext/mathematical/lasem/src/lsmutils.h +2 -2
- data/ext/mathematical/lasem/tests/lsmtest.c +1 -3
- data/ext/mathematical/lasem/tests/suite.c +1 -2
- data/ext/mathematical/lasem_overrides.c +3 -0
- data/ext/mathematical/lib/liblasem.dylib +0 -0
- data/ext/mathematical/lib/libmtex2MML.a +0 -0
- data/ext/mathematical/mtex2MML/build/CMakeCache.txt +84 -79
- data/ext/mathematical/mtex2MML/build/CMakeFiles/{3.8.0 → 3.15.5}/CMakeCCompiler.cmake +15 -7
- data/ext/mathematical/mtex2MML/build/CMakeFiles/{3.8.0 → 3.15.5}/CMakeCXXCompiler.cmake +17 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/{3.8.0 → 3.15.5}/CMakeDetermineCompilerABI_C.bin +0 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/{3.7.2 → 3.15.5}/CMakeDetermineCompilerABI_CXX.bin +0 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/{3.7.2 → 3.15.5}/CMakeSystem.cmake +4 -4
- data/ext/mathematical/mtex2MML/build/CMakeFiles/{3.8.0 → 3.15.5}/CompilerIdC/CMakeCCompilerId.c +135 -37
- data/ext/mathematical/mtex2MML/build/CMakeFiles/{3.7.2 → 3.15.5}/CompilerIdC/a.out +0 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/{3.8.0 → 3.15.5}/CompilerIdCXX/CMakeCXXCompilerId.cpp +143 -38
- data/ext/mathematical/mtex2MML/build/CMakeFiles/{3.7.2 → 3.15.5}/CompilerIdCXX/a.out +0 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/CMakeDirectoryInformation.cmake +3 -3
- data/ext/mathematical/mtex2MML/build/CMakeFiles/CMakeOutput.log +250 -939
- data/ext/mathematical/mtex2MML/build/CMakeFiles/CMakeRuleHashes.txt +33 -33
- data/ext/mathematical/mtex2MML/build/CMakeFiles/Continuous.dir/build.make +7 -7
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousBuild.dir/build.make +7 -7
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousConfigure.dir/build.make +7 -7
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousCoverage.dir/build.make +7 -7
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousMemCheck.dir/build.make +7 -7
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousStart.dir/build.make +7 -7
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousSubmit.dir/build.make +7 -7
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousTest.dir/build.make +7 -7
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousUpdate.dir/build.make +7 -7
- data/ext/mathematical/mtex2MML/build/CMakeFiles/Experimental.dir/build.make +7 -7
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalBuild.dir/build.make +7 -7
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalConfigure.dir/build.make +7 -7
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalCoverage.dir/build.make +7 -7
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalMemCheck.dir/build.make +7 -7
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalStart.dir/build.make +7 -7
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalSubmit.dir/build.make +7 -7
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalTest.dir/build.make +7 -7
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalUpdate.dir/build.make +7 -7
- data/ext/mathematical/mtex2MML/build/CMakeFiles/Makefile.cmake +113 -109
- data/ext/mathematical/mtex2MML/build/CMakeFiles/Makefile2 +149 -278
- data/ext/mathematical/mtex2MML/build/CMakeFiles/Nightly.dir/build.make +7 -7
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyBuild.dir/build.make +7 -7
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyConfigure.dir/build.make +7 -7
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyCoverage.dir/build.make +7 -7
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyMemCheck.dir/build.make +7 -7
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyMemoryCheck.dir/build.make +7 -7
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyStart.dir/build.make +7 -7
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlySubmit.dir/build.make +7 -7
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyTest.dir/build.make +7 -7
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyUpdate.dir/build.make +7 -7
- data/ext/mathematical/mtex2MML/build/CMakeFiles/TargetDirectories.txt +41 -41
- data/ext/mathematical/mtex2MML/build/CMakeFiles/format.dir/build.make +7 -7
- data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML.dir/DependInfo.cmake +11 -10
- data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML.dir/build.make +39 -126
- data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML.dir/cmake_clean.cmake +6 -6
- data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML.dir/flags.make +5 -5
- data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML.dir/link.txt +1 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/C.includecache +42 -42
- data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/DependInfo.cmake +9 -9
- data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/build.make +39 -126
- data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/cmake_clean.cmake +6 -6
- data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/depend.internal +25 -25
- data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/depend.make +1 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/flags.make +5 -5
- data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/link.txt +2 -2
- data/ext/mathematical/mtex2MML/build/CMakeFiles/memcheck.dir/build.make +6 -6
- data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML.dir/DependInfo.cmake +10 -10
- data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML.dir/build.make +43 -142
- data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML.dir/cmake_clean.cmake +7 -7
- data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML.dir/flags.make +5 -5
- data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML.dir/link.txt +1 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML_clar.dir/DependInfo.cmake +26 -26
- data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML_clar.dir/build.make +113 -404
- data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML_clar.dir/cmake_clean.cmake +11 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML_clar.dir/flags.make +5 -5
- data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML_clar.dir/link.txt +1 -1
- data/ext/mathematical/mtex2MML/build/CTestTestfile.cmake +3 -2
- data/ext/mathematical/mtex2MML/build/DartConfiguration.tcl +11 -18
- data/ext/mathematical/mtex2MML/build/Makefile +18 -18
- data/ext/mathematical/mtex2MML/build/cmake_install.cmake +63 -4
- data/ext/mathematical/mtex2MML/build/lexer.c +4104 -4048
- data/ext/mathematical/mtex2MML/build/libmtex2MML.a +0 -0
- data/ext/mathematical/mtex2MML/build/libmtex2MML.pc +1 -1
- data/ext/mathematical/mtex2MML/build/mtex2mml_export.h +1 -1
- data/ext/mathematical/mtex2MML/build/parser.c +3137 -3123
- data/ext/mathematical/mtex2MML/build/parser.h +32 -32
- data/ext/mathematical/mtex2MML/build/parser.output +13641 -12859
- data/lib/mathematical/version.rb +1 -1
- data/mathematical.gemspec +2 -3
- data/test/test_helper.rb +4 -1
- metadata +18 -44
- data/ext/mathematical/FindPackageHandleStandardArgs.cmake +0 -58
- data/ext/mathematical/mtex2MML/build/CMakeFiles/3.7.2/CMakeCCompiler.cmake +0 -68
- data/ext/mathematical/mtex2MML/build/CMakeFiles/3.7.2/CMakeCXXCompiler.cmake +0 -69
- data/ext/mathematical/mtex2MML/build/CMakeFiles/3.7.2/CMakeDetermineCompilerABI_C.bin +0 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/3.7.2/CompilerIdC/CMakeCCompilerId.c +0 -561
- data/ext/mathematical/mtex2MML/build/CMakeFiles/3.7.2/CompilerIdCXX/CMakeCXXCompilerId.cpp +0 -533
- data/ext/mathematical/mtex2MML/build/CMakeFiles/3.8.0/CMakeDetermineCompilerABI_CXX.bin +0 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/3.8.0/CMakeSystem.cmake +0 -15
- data/ext/mathematical/mtex2MML/build/CMakeFiles/3.8.0/CompilerIdC/a.out +0 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/3.8.0/CompilerIdCXX/a.out +0 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/feature_tests.bin +0 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/feature_tests.c +0 -34
- data/ext/mathematical/mtex2MML/build/CMakeFiles/feature_tests.cxx +0 -405
@@ -1,533 +0,0 @@
|
|
1
|
-
/* This source file must have a .cpp extension so that all C++ compilers
|
2
|
-
recognize the extension without flags. Borland does not know .cxx for
|
3
|
-
example. */
|
4
|
-
#ifndef __cplusplus
|
5
|
-
# error "A C compiler has been selected for C++."
|
6
|
-
#endif
|
7
|
-
|
8
|
-
|
9
|
-
/* Version number components: V=Version, R=Revision, P=Patch
|
10
|
-
Version date components: YYYY=Year, MM=Month, DD=Day */
|
11
|
-
|
12
|
-
#if defined(__COMO__)
|
13
|
-
# define COMPILER_ID "Comeau"
|
14
|
-
/* __COMO_VERSION__ = VRR */
|
15
|
-
# define COMPILER_VERSION_MAJOR DEC(__COMO_VERSION__ / 100)
|
16
|
-
# define COMPILER_VERSION_MINOR DEC(__COMO_VERSION__ % 100)
|
17
|
-
|
18
|
-
#elif defined(__INTEL_COMPILER) || defined(__ICC)
|
19
|
-
# define COMPILER_ID "Intel"
|
20
|
-
# if defined(_MSC_VER)
|
21
|
-
# define SIMULATE_ID "MSVC"
|
22
|
-
# endif
|
23
|
-
/* __INTEL_COMPILER = VRP */
|
24
|
-
# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER/100)
|
25
|
-
# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER/10 % 10)
|
26
|
-
# if defined(__INTEL_COMPILER_UPDATE)
|
27
|
-
# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER_UPDATE)
|
28
|
-
# else
|
29
|
-
# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER % 10)
|
30
|
-
# endif
|
31
|
-
# if defined(__INTEL_COMPILER_BUILD_DATE)
|
32
|
-
/* __INTEL_COMPILER_BUILD_DATE = YYYYMMDD */
|
33
|
-
# define COMPILER_VERSION_TWEAK DEC(__INTEL_COMPILER_BUILD_DATE)
|
34
|
-
# endif
|
35
|
-
# if defined(_MSC_VER)
|
36
|
-
/* _MSC_VER = VVRR */
|
37
|
-
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
|
38
|
-
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
|
39
|
-
# endif
|
40
|
-
|
41
|
-
#elif defined(__PATHCC__)
|
42
|
-
# define COMPILER_ID "PathScale"
|
43
|
-
# define COMPILER_VERSION_MAJOR DEC(__PATHCC__)
|
44
|
-
# define COMPILER_VERSION_MINOR DEC(__PATHCC_MINOR__)
|
45
|
-
# if defined(__PATHCC_PATCHLEVEL__)
|
46
|
-
# define COMPILER_VERSION_PATCH DEC(__PATHCC_PATCHLEVEL__)
|
47
|
-
# endif
|
48
|
-
|
49
|
-
#elif defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__)
|
50
|
-
# define COMPILER_ID "Embarcadero"
|
51
|
-
# define COMPILER_VERSION_MAJOR HEX(__CODEGEARC_VERSION__>>24 & 0x00FF)
|
52
|
-
# define COMPILER_VERSION_MINOR HEX(__CODEGEARC_VERSION__>>16 & 0x00FF)
|
53
|
-
# define COMPILER_VERSION_PATCH DEC(__CODEGEARC_VERSION__ & 0xFFFF)
|
54
|
-
|
55
|
-
#elif defined(__BORLANDC__)
|
56
|
-
# define COMPILER_ID "Borland"
|
57
|
-
/* __BORLANDC__ = 0xVRR */
|
58
|
-
# define COMPILER_VERSION_MAJOR HEX(__BORLANDC__>>8)
|
59
|
-
# define COMPILER_VERSION_MINOR HEX(__BORLANDC__ & 0xFF)
|
60
|
-
|
61
|
-
#elif defined(__WATCOMC__) && __WATCOMC__ < 1200
|
62
|
-
# define COMPILER_ID "Watcom"
|
63
|
-
/* __WATCOMC__ = VVRR */
|
64
|
-
# define COMPILER_VERSION_MAJOR DEC(__WATCOMC__ / 100)
|
65
|
-
# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10)
|
66
|
-
# if (__WATCOMC__ % 10) > 0
|
67
|
-
# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10)
|
68
|
-
# endif
|
69
|
-
|
70
|
-
#elif defined(__WATCOMC__)
|
71
|
-
# define COMPILER_ID "OpenWatcom"
|
72
|
-
/* __WATCOMC__ = VVRP + 1100 */
|
73
|
-
# define COMPILER_VERSION_MAJOR DEC((__WATCOMC__ - 1100) / 100)
|
74
|
-
# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10)
|
75
|
-
# if (__WATCOMC__ % 10) > 0
|
76
|
-
# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10)
|
77
|
-
# endif
|
78
|
-
|
79
|
-
#elif defined(__SUNPRO_CC)
|
80
|
-
# define COMPILER_ID "SunPro"
|
81
|
-
# if __SUNPRO_CC >= 0x5100
|
82
|
-
/* __SUNPRO_CC = 0xVRRP */
|
83
|
-
# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_CC>>12)
|
84
|
-
# define COMPILER_VERSION_MINOR HEX(__SUNPRO_CC>>4 & 0xFF)
|
85
|
-
# define COMPILER_VERSION_PATCH HEX(__SUNPRO_CC & 0xF)
|
86
|
-
# else
|
87
|
-
/* __SUNPRO_CC = 0xVRP */
|
88
|
-
# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_CC>>8)
|
89
|
-
# define COMPILER_VERSION_MINOR HEX(__SUNPRO_CC>>4 & 0xF)
|
90
|
-
# define COMPILER_VERSION_PATCH HEX(__SUNPRO_CC & 0xF)
|
91
|
-
# endif
|
92
|
-
|
93
|
-
#elif defined(__HP_aCC)
|
94
|
-
# define COMPILER_ID "HP"
|
95
|
-
/* __HP_aCC = VVRRPP */
|
96
|
-
# define COMPILER_VERSION_MAJOR DEC(__HP_aCC/10000)
|
97
|
-
# define COMPILER_VERSION_MINOR DEC(__HP_aCC/100 % 100)
|
98
|
-
# define COMPILER_VERSION_PATCH DEC(__HP_aCC % 100)
|
99
|
-
|
100
|
-
#elif defined(__DECCXX)
|
101
|
-
# define COMPILER_ID "Compaq"
|
102
|
-
/* __DECCXX_VER = VVRRTPPPP */
|
103
|
-
# define COMPILER_VERSION_MAJOR DEC(__DECCXX_VER/10000000)
|
104
|
-
# define COMPILER_VERSION_MINOR DEC(__DECCXX_VER/100000 % 100)
|
105
|
-
# define COMPILER_VERSION_PATCH DEC(__DECCXX_VER % 10000)
|
106
|
-
|
107
|
-
#elif defined(__IBMCPP__) && defined(__COMPILER_VER__)
|
108
|
-
# define COMPILER_ID "zOS"
|
109
|
-
/* __IBMCPP__ = VRP */
|
110
|
-
# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100)
|
111
|
-
# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10)
|
112
|
-
# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10)
|
113
|
-
|
114
|
-
#elif defined(__IBMCPP__) && !defined(__COMPILER_VER__) && __IBMCPP__ >= 800
|
115
|
-
# define COMPILER_ID "XL"
|
116
|
-
/* __IBMCPP__ = VRP */
|
117
|
-
# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100)
|
118
|
-
# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10)
|
119
|
-
# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10)
|
120
|
-
|
121
|
-
#elif defined(__IBMCPP__) && !defined(__COMPILER_VER__) && __IBMCPP__ < 800
|
122
|
-
# define COMPILER_ID "VisualAge"
|
123
|
-
/* __IBMCPP__ = VRP */
|
124
|
-
# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100)
|
125
|
-
# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10)
|
126
|
-
# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10)
|
127
|
-
|
128
|
-
#elif defined(__PGI)
|
129
|
-
# define COMPILER_ID "PGI"
|
130
|
-
# define COMPILER_VERSION_MAJOR DEC(__PGIC__)
|
131
|
-
# define COMPILER_VERSION_MINOR DEC(__PGIC_MINOR__)
|
132
|
-
# if defined(__PGIC_PATCHLEVEL__)
|
133
|
-
# define COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__)
|
134
|
-
# endif
|
135
|
-
|
136
|
-
#elif defined(_CRAYC)
|
137
|
-
# define COMPILER_ID "Cray"
|
138
|
-
# define COMPILER_VERSION_MAJOR DEC(_RELEASE_MAJOR)
|
139
|
-
# define COMPILER_VERSION_MINOR DEC(_RELEASE_MINOR)
|
140
|
-
|
141
|
-
#elif defined(__TI_COMPILER_VERSION__)
|
142
|
-
# define COMPILER_ID "TI"
|
143
|
-
/* __TI_COMPILER_VERSION__ = VVVRRRPPP */
|
144
|
-
# define COMPILER_VERSION_MAJOR DEC(__TI_COMPILER_VERSION__/1000000)
|
145
|
-
# define COMPILER_VERSION_MINOR DEC(__TI_COMPILER_VERSION__/1000 % 1000)
|
146
|
-
# define COMPILER_VERSION_PATCH DEC(__TI_COMPILER_VERSION__ % 1000)
|
147
|
-
|
148
|
-
#elif defined(__FUJITSU) || defined(__FCC_VERSION) || defined(__fcc_version)
|
149
|
-
# define COMPILER_ID "Fujitsu"
|
150
|
-
|
151
|
-
#elif defined(__SCO_VERSION__)
|
152
|
-
# define COMPILER_ID "SCO"
|
153
|
-
|
154
|
-
#elif defined(__clang__) && defined(__apple_build_version__)
|
155
|
-
# define COMPILER_ID "AppleClang"
|
156
|
-
# if defined(_MSC_VER)
|
157
|
-
# define SIMULATE_ID "MSVC"
|
158
|
-
# endif
|
159
|
-
# define COMPILER_VERSION_MAJOR DEC(__clang_major__)
|
160
|
-
# define COMPILER_VERSION_MINOR DEC(__clang_minor__)
|
161
|
-
# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
|
162
|
-
# if defined(_MSC_VER)
|
163
|
-
/* _MSC_VER = VVRR */
|
164
|
-
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
|
165
|
-
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
|
166
|
-
# endif
|
167
|
-
# define COMPILER_VERSION_TWEAK DEC(__apple_build_version__)
|
168
|
-
|
169
|
-
#elif defined(__clang__)
|
170
|
-
# define COMPILER_ID "Clang"
|
171
|
-
# if defined(_MSC_VER)
|
172
|
-
# define SIMULATE_ID "MSVC"
|
173
|
-
# endif
|
174
|
-
# define COMPILER_VERSION_MAJOR DEC(__clang_major__)
|
175
|
-
# define COMPILER_VERSION_MINOR DEC(__clang_minor__)
|
176
|
-
# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
|
177
|
-
# if defined(_MSC_VER)
|
178
|
-
/* _MSC_VER = VVRR */
|
179
|
-
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
|
180
|
-
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
|
181
|
-
# endif
|
182
|
-
|
183
|
-
#elif defined(__GNUC__)
|
184
|
-
# define COMPILER_ID "GNU"
|
185
|
-
# define COMPILER_VERSION_MAJOR DEC(__GNUC__)
|
186
|
-
# if defined(__GNUC_MINOR__)
|
187
|
-
# define COMPILER_VERSION_MINOR DEC(__GNUC_MINOR__)
|
188
|
-
# endif
|
189
|
-
# if defined(__GNUC_PATCHLEVEL__)
|
190
|
-
# define COMPILER_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
|
191
|
-
# endif
|
192
|
-
|
193
|
-
#elif defined(_MSC_VER)
|
194
|
-
# define COMPILER_ID "MSVC"
|
195
|
-
/* _MSC_VER = VVRR */
|
196
|
-
# define COMPILER_VERSION_MAJOR DEC(_MSC_VER / 100)
|
197
|
-
# define COMPILER_VERSION_MINOR DEC(_MSC_VER % 100)
|
198
|
-
# if defined(_MSC_FULL_VER)
|
199
|
-
# if _MSC_VER >= 1400
|
200
|
-
/* _MSC_FULL_VER = VVRRPPPPP */
|
201
|
-
# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 100000)
|
202
|
-
# else
|
203
|
-
/* _MSC_FULL_VER = VVRRPPPP */
|
204
|
-
# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 10000)
|
205
|
-
# endif
|
206
|
-
# endif
|
207
|
-
# if defined(_MSC_BUILD)
|
208
|
-
# define COMPILER_VERSION_TWEAK DEC(_MSC_BUILD)
|
209
|
-
# endif
|
210
|
-
|
211
|
-
#elif defined(__VISUALDSPVERSION__) || defined(__ADSPBLACKFIN__) || defined(__ADSPTS__) || defined(__ADSP21000__)
|
212
|
-
# define COMPILER_ID "ADSP"
|
213
|
-
#if defined(__VISUALDSPVERSION__)
|
214
|
-
/* __VISUALDSPVERSION__ = 0xVVRRPP00 */
|
215
|
-
# define COMPILER_VERSION_MAJOR HEX(__VISUALDSPVERSION__>>24)
|
216
|
-
# define COMPILER_VERSION_MINOR HEX(__VISUALDSPVERSION__>>16 & 0xFF)
|
217
|
-
# define COMPILER_VERSION_PATCH HEX(__VISUALDSPVERSION__>>8 & 0xFF)
|
218
|
-
#endif
|
219
|
-
|
220
|
-
#elif defined(__IAR_SYSTEMS_ICC__ ) || defined(__IAR_SYSTEMS_ICC)
|
221
|
-
# define COMPILER_ID "IAR"
|
222
|
-
|
223
|
-
#elif defined(__ARMCC_VERSION)
|
224
|
-
# define COMPILER_ID "ARMCC"
|
225
|
-
#if __ARMCC_VERSION >= 1000000
|
226
|
-
/* __ARMCC_VERSION = VRRPPPP */
|
227
|
-
# define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/1000000)
|
228
|
-
# define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 100)
|
229
|
-
# define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
|
230
|
-
#else
|
231
|
-
/* __ARMCC_VERSION = VRPPPP */
|
232
|
-
# define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/100000)
|
233
|
-
# define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 10)
|
234
|
-
# define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
|
235
|
-
#endif
|
236
|
-
|
237
|
-
|
238
|
-
#elif defined(_SGI_COMPILER_VERSION) || defined(_COMPILER_VERSION)
|
239
|
-
# define COMPILER_ID "MIPSpro"
|
240
|
-
# if defined(_SGI_COMPILER_VERSION)
|
241
|
-
/* _SGI_COMPILER_VERSION = VRP */
|
242
|
-
# define COMPILER_VERSION_MAJOR DEC(_SGI_COMPILER_VERSION/100)
|
243
|
-
# define COMPILER_VERSION_MINOR DEC(_SGI_COMPILER_VERSION/10 % 10)
|
244
|
-
# define COMPILER_VERSION_PATCH DEC(_SGI_COMPILER_VERSION % 10)
|
245
|
-
# else
|
246
|
-
/* _COMPILER_VERSION = VRP */
|
247
|
-
# define COMPILER_VERSION_MAJOR DEC(_COMPILER_VERSION/100)
|
248
|
-
# define COMPILER_VERSION_MINOR DEC(_COMPILER_VERSION/10 % 10)
|
249
|
-
# define COMPILER_VERSION_PATCH DEC(_COMPILER_VERSION % 10)
|
250
|
-
# endif
|
251
|
-
|
252
|
-
|
253
|
-
/* These compilers are either not known or too old to define an
|
254
|
-
identification macro. Try to identify the platform and guess that
|
255
|
-
it is the native compiler. */
|
256
|
-
#elif defined(__sgi)
|
257
|
-
# define COMPILER_ID "MIPSpro"
|
258
|
-
|
259
|
-
#elif defined(__hpux) || defined(__hpua)
|
260
|
-
# define COMPILER_ID "HP"
|
261
|
-
|
262
|
-
#else /* unknown compiler */
|
263
|
-
# define COMPILER_ID ""
|
264
|
-
#endif
|
265
|
-
|
266
|
-
/* Construct the string literal in pieces to prevent the source from
|
267
|
-
getting matched. Store it in a pointer rather than an array
|
268
|
-
because some compilers will just produce instructions to fill the
|
269
|
-
array rather than assigning a pointer to a static array. */
|
270
|
-
char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]";
|
271
|
-
#ifdef SIMULATE_ID
|
272
|
-
char const* info_simulate = "INFO" ":" "simulate[" SIMULATE_ID "]";
|
273
|
-
#endif
|
274
|
-
|
275
|
-
#ifdef __QNXNTO__
|
276
|
-
char const* qnxnto = "INFO" ":" "qnxnto[]";
|
277
|
-
#endif
|
278
|
-
|
279
|
-
#if defined(__CRAYXE) || defined(__CRAYXC)
|
280
|
-
char const *info_cray = "INFO" ":" "compiler_wrapper[CrayPrgEnv]";
|
281
|
-
#endif
|
282
|
-
|
283
|
-
#define STRINGIFY_HELPER(X) #X
|
284
|
-
#define STRINGIFY(X) STRINGIFY_HELPER(X)
|
285
|
-
|
286
|
-
/* Identify known platforms by name. */
|
287
|
-
#if defined(__linux) || defined(__linux__) || defined(linux)
|
288
|
-
# define PLATFORM_ID "Linux"
|
289
|
-
|
290
|
-
#elif defined(__CYGWIN__)
|
291
|
-
# define PLATFORM_ID "Cygwin"
|
292
|
-
|
293
|
-
#elif defined(__MINGW32__)
|
294
|
-
# define PLATFORM_ID "MinGW"
|
295
|
-
|
296
|
-
#elif defined(__APPLE__)
|
297
|
-
# define PLATFORM_ID "Darwin"
|
298
|
-
|
299
|
-
#elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32)
|
300
|
-
# define PLATFORM_ID "Windows"
|
301
|
-
|
302
|
-
#elif defined(__FreeBSD__) || defined(__FreeBSD)
|
303
|
-
# define PLATFORM_ID "FreeBSD"
|
304
|
-
|
305
|
-
#elif defined(__NetBSD__) || defined(__NetBSD)
|
306
|
-
# define PLATFORM_ID "NetBSD"
|
307
|
-
|
308
|
-
#elif defined(__OpenBSD__) || defined(__OPENBSD)
|
309
|
-
# define PLATFORM_ID "OpenBSD"
|
310
|
-
|
311
|
-
#elif defined(__sun) || defined(sun)
|
312
|
-
# define PLATFORM_ID "SunOS"
|
313
|
-
|
314
|
-
#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__)
|
315
|
-
# define PLATFORM_ID "AIX"
|
316
|
-
|
317
|
-
#elif defined(__sgi) || defined(__sgi__) || defined(_SGI)
|
318
|
-
# define PLATFORM_ID "IRIX"
|
319
|
-
|
320
|
-
#elif defined(__hpux) || defined(__hpux__)
|
321
|
-
# define PLATFORM_ID "HP-UX"
|
322
|
-
|
323
|
-
#elif defined(__HAIKU__)
|
324
|
-
# define PLATFORM_ID "Haiku"
|
325
|
-
|
326
|
-
#elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS)
|
327
|
-
# define PLATFORM_ID "BeOS"
|
328
|
-
|
329
|
-
#elif defined(__QNX__) || defined(__QNXNTO__)
|
330
|
-
# define PLATFORM_ID "QNX"
|
331
|
-
|
332
|
-
#elif defined(__tru64) || defined(_tru64) || defined(__TRU64__)
|
333
|
-
# define PLATFORM_ID "Tru64"
|
334
|
-
|
335
|
-
#elif defined(__riscos) || defined(__riscos__)
|
336
|
-
# define PLATFORM_ID "RISCos"
|
337
|
-
|
338
|
-
#elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__)
|
339
|
-
# define PLATFORM_ID "SINIX"
|
340
|
-
|
341
|
-
#elif defined(__UNIX_SV__)
|
342
|
-
# define PLATFORM_ID "UNIX_SV"
|
343
|
-
|
344
|
-
#elif defined(__bsdos__)
|
345
|
-
# define PLATFORM_ID "BSDOS"
|
346
|
-
|
347
|
-
#elif defined(_MPRAS) || defined(MPRAS)
|
348
|
-
# define PLATFORM_ID "MP-RAS"
|
349
|
-
|
350
|
-
#elif defined(__osf) || defined(__osf__)
|
351
|
-
# define PLATFORM_ID "OSF1"
|
352
|
-
|
353
|
-
#elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv)
|
354
|
-
# define PLATFORM_ID "SCO_SV"
|
355
|
-
|
356
|
-
#elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX)
|
357
|
-
# define PLATFORM_ID "ULTRIX"
|
358
|
-
|
359
|
-
#elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX)
|
360
|
-
# define PLATFORM_ID "Xenix"
|
361
|
-
|
362
|
-
#elif defined(__WATCOMC__)
|
363
|
-
# if defined(__LINUX__)
|
364
|
-
# define PLATFORM_ID "Linux"
|
365
|
-
|
366
|
-
# elif defined(__DOS__)
|
367
|
-
# define PLATFORM_ID "DOS"
|
368
|
-
|
369
|
-
# elif defined(__OS2__)
|
370
|
-
# define PLATFORM_ID "OS2"
|
371
|
-
|
372
|
-
# elif defined(__WINDOWS__)
|
373
|
-
# define PLATFORM_ID "Windows3x"
|
374
|
-
|
375
|
-
# else /* unknown platform */
|
376
|
-
# define PLATFORM_ID
|
377
|
-
# endif
|
378
|
-
|
379
|
-
#else /* unknown platform */
|
380
|
-
# define PLATFORM_ID
|
381
|
-
|
382
|
-
#endif
|
383
|
-
|
384
|
-
/* For windows compilers MSVC and Intel we can determine
|
385
|
-
the architecture of the compiler being used. This is because
|
386
|
-
the compilers do not have flags that can change the architecture,
|
387
|
-
but rather depend on which compiler is being used
|
388
|
-
*/
|
389
|
-
#if defined(_WIN32) && defined(_MSC_VER)
|
390
|
-
# if defined(_M_IA64)
|
391
|
-
# define ARCHITECTURE_ID "IA64"
|
392
|
-
|
393
|
-
# elif defined(_M_X64) || defined(_M_AMD64)
|
394
|
-
# define ARCHITECTURE_ID "x64"
|
395
|
-
|
396
|
-
# elif defined(_M_IX86)
|
397
|
-
# define ARCHITECTURE_ID "X86"
|
398
|
-
|
399
|
-
# elif defined(_M_ARM)
|
400
|
-
# if _M_ARM == 4
|
401
|
-
# define ARCHITECTURE_ID "ARMV4I"
|
402
|
-
# elif _M_ARM == 5
|
403
|
-
# define ARCHITECTURE_ID "ARMV5I"
|
404
|
-
# else
|
405
|
-
# define ARCHITECTURE_ID "ARMV" STRINGIFY(_M_ARM)
|
406
|
-
# endif
|
407
|
-
|
408
|
-
# elif defined(_M_MIPS)
|
409
|
-
# define ARCHITECTURE_ID "MIPS"
|
410
|
-
|
411
|
-
# elif defined(_M_SH)
|
412
|
-
# define ARCHITECTURE_ID "SHx"
|
413
|
-
|
414
|
-
# else /* unknown architecture */
|
415
|
-
# define ARCHITECTURE_ID ""
|
416
|
-
# endif
|
417
|
-
|
418
|
-
#elif defined(__WATCOMC__)
|
419
|
-
# if defined(_M_I86)
|
420
|
-
# define ARCHITECTURE_ID "I86"
|
421
|
-
|
422
|
-
# elif defined(_M_IX86)
|
423
|
-
# define ARCHITECTURE_ID "X86"
|
424
|
-
|
425
|
-
# else /* unknown architecture */
|
426
|
-
# define ARCHITECTURE_ID ""
|
427
|
-
# endif
|
428
|
-
|
429
|
-
#else
|
430
|
-
# define ARCHITECTURE_ID
|
431
|
-
#endif
|
432
|
-
|
433
|
-
/* Convert integer to decimal digit literals. */
|
434
|
-
#define DEC(n) \
|
435
|
-
('0' + (((n) / 10000000)%10)), \
|
436
|
-
('0' + (((n) / 1000000)%10)), \
|
437
|
-
('0' + (((n) / 100000)%10)), \
|
438
|
-
('0' + (((n) / 10000)%10)), \
|
439
|
-
('0' + (((n) / 1000)%10)), \
|
440
|
-
('0' + (((n) / 100)%10)), \
|
441
|
-
('0' + (((n) / 10)%10)), \
|
442
|
-
('0' + ((n) % 10))
|
443
|
-
|
444
|
-
/* Convert integer to hex digit literals. */
|
445
|
-
#define HEX(n) \
|
446
|
-
('0' + ((n)>>28 & 0xF)), \
|
447
|
-
('0' + ((n)>>24 & 0xF)), \
|
448
|
-
('0' + ((n)>>20 & 0xF)), \
|
449
|
-
('0' + ((n)>>16 & 0xF)), \
|
450
|
-
('0' + ((n)>>12 & 0xF)), \
|
451
|
-
('0' + ((n)>>8 & 0xF)), \
|
452
|
-
('0' + ((n)>>4 & 0xF)), \
|
453
|
-
('0' + ((n) & 0xF))
|
454
|
-
|
455
|
-
/* Construct a string literal encoding the version number components. */
|
456
|
-
#ifdef COMPILER_VERSION_MAJOR
|
457
|
-
char const info_version[] = {
|
458
|
-
'I', 'N', 'F', 'O', ':',
|
459
|
-
'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','[',
|
460
|
-
COMPILER_VERSION_MAJOR,
|
461
|
-
# ifdef COMPILER_VERSION_MINOR
|
462
|
-
'.', COMPILER_VERSION_MINOR,
|
463
|
-
# ifdef COMPILER_VERSION_PATCH
|
464
|
-
'.', COMPILER_VERSION_PATCH,
|
465
|
-
# ifdef COMPILER_VERSION_TWEAK
|
466
|
-
'.', COMPILER_VERSION_TWEAK,
|
467
|
-
# endif
|
468
|
-
# endif
|
469
|
-
# endif
|
470
|
-
']','\0'};
|
471
|
-
#endif
|
472
|
-
|
473
|
-
/* Construct a string literal encoding the version number components. */
|
474
|
-
#ifdef SIMULATE_VERSION_MAJOR
|
475
|
-
char const info_simulate_version[] = {
|
476
|
-
'I', 'N', 'F', 'O', ':',
|
477
|
-
's','i','m','u','l','a','t','e','_','v','e','r','s','i','o','n','[',
|
478
|
-
SIMULATE_VERSION_MAJOR,
|
479
|
-
# ifdef SIMULATE_VERSION_MINOR
|
480
|
-
'.', SIMULATE_VERSION_MINOR,
|
481
|
-
# ifdef SIMULATE_VERSION_PATCH
|
482
|
-
'.', SIMULATE_VERSION_PATCH,
|
483
|
-
# ifdef SIMULATE_VERSION_TWEAK
|
484
|
-
'.', SIMULATE_VERSION_TWEAK,
|
485
|
-
# endif
|
486
|
-
# endif
|
487
|
-
# endif
|
488
|
-
']','\0'};
|
489
|
-
#endif
|
490
|
-
|
491
|
-
/* Construct the string literal in pieces to prevent the source from
|
492
|
-
getting matched. Store it in a pointer rather than an array
|
493
|
-
because some compilers will just produce instructions to fill the
|
494
|
-
array rather than assigning a pointer to a static array. */
|
495
|
-
char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]";
|
496
|
-
char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]";
|
497
|
-
|
498
|
-
|
499
|
-
|
500
|
-
|
501
|
-
const char* info_language_dialect_default = "INFO" ":" "dialect_default["
|
502
|
-
#if __cplusplus >= 201402L
|
503
|
-
"14"
|
504
|
-
#elif __cplusplus >= 201103L
|
505
|
-
"11"
|
506
|
-
#else
|
507
|
-
"98"
|
508
|
-
#endif
|
509
|
-
"]";
|
510
|
-
|
511
|
-
/*--------------------------------------------------------------------------*/
|
512
|
-
|
513
|
-
int main(int argc, char* argv[])
|
514
|
-
{
|
515
|
-
int require = 0;
|
516
|
-
require += info_compiler[argc];
|
517
|
-
require += info_platform[argc];
|
518
|
-
#ifdef COMPILER_VERSION_MAJOR
|
519
|
-
require += info_version[argc];
|
520
|
-
#endif
|
521
|
-
#ifdef SIMULATE_ID
|
522
|
-
require += info_simulate[argc];
|
523
|
-
#endif
|
524
|
-
#ifdef SIMULATE_VERSION_MAJOR
|
525
|
-
require += info_simulate_version[argc];
|
526
|
-
#endif
|
527
|
-
#if defined(__CRAYXE) || defined(__CRAYXC)
|
528
|
-
require += info_cray[argc];
|
529
|
-
#endif
|
530
|
-
require += info_language_dialect_default[argc];
|
531
|
-
(void)argv;
|
532
|
-
return require;
|
533
|
-
}
|