mathematical 1.6.12 → 1.6.13

Sign up to get free protection for your applications and to get access to all the features.
Files changed (344) hide show
  1. checksums.yaml +5 -5
  2. data/ext/mathematical/CMakeLists.txt +48 -6
  3. data/ext/mathematical/extconf.rb +11 -8
  4. data/ext/mathematical/lasem/COPYING +2 -1
  5. data/ext/mathematical/lasem/NEWS +4 -2
  6. data/ext/mathematical/lasem/configure.ac +1 -1
  7. data/ext/mathematical/lasem/lasem.doap +2 -2
  8. data/ext/mathematical/lasem/po/LINGUAS +3 -0
  9. data/ext/mathematical/lasem/po/da.po +99 -0
  10. data/ext/mathematical/lasem/po/eu.po +66 -30
  11. data/ext/mathematical/lasem/po/it.po +68 -28
  12. data/ext/mathematical/lasem/po/ro.po +64 -0
  13. data/ext/mathematical/lasem/po/tr.po +68 -28
  14. data/ext/mathematical/lasem/src/lasemrender.c +2 -2
  15. data/ext/mathematical/lasem/src/lsm.c +2 -2
  16. data/ext/mathematical/lasem/src/lsm.h +2 -2
  17. data/ext/mathematical/lasem/src/lsmattributes.c +2 -2
  18. data/ext/mathematical/lasem/src/lsmattributes.h +2 -2
  19. data/ext/mathematical/lasem/src/lsmcairo.c +2 -2
  20. data/ext/mathematical/lasem/src/lsmcairo.h +2 -2
  21. data/ext/mathematical/lasem/src/lsmdebug.c +2 -2
  22. data/ext/mathematical/lasem/src/lsmdebug.h +2 -2
  23. data/ext/mathematical/lasem/src/lsmdom.h +2 -2
  24. data/ext/mathematical/lasem/src/lsmdomcharacterdata.c +2 -2
  25. data/ext/mathematical/lasem/src/lsmdomcharacterdata.h +2 -2
  26. data/ext/mathematical/lasem/src/lsmdomdocument.c +2 -2
  27. data/ext/mathematical/lasem/src/lsmdomdocument.h +2 -2
  28. data/ext/mathematical/lasem/src/lsmdomdocumentfragment.c +2 -2
  29. data/ext/mathematical/lasem/src/lsmdomdocumentfragment.h +2 -2
  30. data/ext/mathematical/lasem/src/lsmdomelement.c +2 -2
  31. data/ext/mathematical/lasem/src/lsmdomelement.h +2 -2
  32. data/ext/mathematical/lasem/src/lsmdomentities.c +2 -2
  33. data/ext/mathematical/lasem/src/lsmdomentities.h +2 -2
  34. data/ext/mathematical/lasem/src/lsmdomimplementation.c +2 -2
  35. data/ext/mathematical/lasem/src/lsmdomimplementation.h +2 -2
  36. data/ext/mathematical/lasem/src/lsmdomnamednodemap.c +2 -2
  37. data/ext/mathematical/lasem/src/lsmdomnamednodemap.h +2 -2
  38. data/ext/mathematical/lasem/src/lsmdomnode.c +2 -2
  39. data/ext/mathematical/lasem/src/lsmdomnode.h +2 -2
  40. data/ext/mathematical/lasem/src/lsmdomnodelist.c +2 -2
  41. data/ext/mathematical/lasem/src/lsmdomnodelist.h +2 -2
  42. data/ext/mathematical/lasem/src/lsmdomparser.c +2 -2
  43. data/ext/mathematical/lasem/src/lsmdomparser.h +2 -2
  44. data/ext/mathematical/lasem/src/lsmdomtext.c +2 -2
  45. data/ext/mathematical/lasem/src/lsmdomtext.h +2 -2
  46. data/ext/mathematical/lasem/src/lsmdomtypes.h +2 -2
  47. data/ext/mathematical/lasem/src/lsmdomview.c +2 -2
  48. data/ext/mathematical/lasem/src/lsmdomview.h +2 -2
  49. data/ext/mathematical/lasem/src/lsmitex.c +2 -2
  50. data/ext/mathematical/lasem/src/lsmitex.h +2 -2
  51. data/ext/mathematical/lasem/src/lsmmathml.h +2 -2
  52. data/ext/mathematical/lasem/src/lsmmathmlactionelement.c +2 -2
  53. data/ext/mathematical/lasem/src/lsmmathmlactionelement.h +2 -2
  54. data/ext/mathematical/lasem/src/lsmmathmlaligngroupelement.c +2 -2
  55. data/ext/mathematical/lasem/src/lsmmathmlaligngroupelement.h +2 -2
  56. data/ext/mathematical/lasem/src/lsmmathmlalignmarkelement.c +2 -2
  57. data/ext/mathematical/lasem/src/lsmmathmlalignmarkelement.h +2 -2
  58. data/ext/mathematical/lasem/src/lsmmathmlattributes.c +2 -2
  59. data/ext/mathematical/lasem/src/lsmmathmlattributes.h +2 -2
  60. data/ext/mathematical/lasem/src/lsmmathmldocument.c +3 -3
  61. data/ext/mathematical/lasem/src/lsmmathmldocument.h +2 -2
  62. data/ext/mathematical/lasem/src/lsmmathmlelement.c +2 -2
  63. data/ext/mathematical/lasem/src/lsmmathmlelement.h +2 -2
  64. data/ext/mathematical/lasem/src/lsmmathmlencloseelement.c +2 -2
  65. data/ext/mathematical/lasem/src/lsmmathmlencloseelement.h +2 -2
  66. data/ext/mathematical/lasem/src/lsmmathmlenums.c +6 -2
  67. data/ext/mathematical/lasem/src/lsmmathmlenums.h +2 -2
  68. data/ext/mathematical/lasem/src/lsmmathmlerrorelement.c +2 -2
  69. data/ext/mathematical/lasem/src/lsmmathmlerrorelement.h +2 -2
  70. data/ext/mathematical/lasem/src/lsmmathmlfencedelement.c +2 -2
  71. data/ext/mathematical/lasem/src/lsmmathmlfencedelement.h +2 -2
  72. data/ext/mathematical/lasem/src/lsmmathmlfractionelement.c +2 -2
  73. data/ext/mathematical/lasem/src/lsmmathmlfractionelement.h +2 -2
  74. data/ext/mathematical/lasem/src/lsmmathmlglyphtableams.c +2 -2
  75. data/ext/mathematical/lasem/src/lsmmathmlglyphtableams.h +2 -2
  76. data/ext/mathematical/lasem/src/lsmmathmlitexelement.c +2 -2
  77. data/ext/mathematical/lasem/src/lsmmathmlitexelement.h +2 -2
  78. data/ext/mathematical/lasem/src/lsmmathmllayoututils.c +2 -2
  79. data/ext/mathematical/lasem/src/lsmmathmllayoututils.h +2 -2
  80. data/ext/mathematical/lasem/src/lsmmathmlmathelement.c +2 -2
  81. data/ext/mathematical/lasem/src/lsmmathmlmathelement.h +2 -2
  82. data/ext/mathematical/lasem/src/lsmmathmloperatordictionary.c +2 -2
  83. data/ext/mathematical/lasem/src/lsmmathmloperatordictionary.h +2 -2
  84. data/ext/mathematical/lasem/src/lsmmathmloperatorelement.c +2 -2
  85. data/ext/mathematical/lasem/src/lsmmathmloperatorelement.h +2 -2
  86. data/ext/mathematical/lasem/src/lsmmathmlpaddedelement.c +2 -2
  87. data/ext/mathematical/lasem/src/lsmmathmlpaddedelement.h +2 -2
  88. data/ext/mathematical/lasem/src/lsmmathmlphantomelement.c +2 -2
  89. data/ext/mathematical/lasem/src/lsmmathmlphantomelement.h +2 -2
  90. data/ext/mathematical/lasem/src/lsmmathmlpresentationcontainer.c +2 -2
  91. data/ext/mathematical/lasem/src/lsmmathmlpresentationcontainer.h +2 -2
  92. data/ext/mathematical/lasem/src/lsmmathmlpresentationtoken.c +2 -2
  93. data/ext/mathematical/lasem/src/lsmmathmlpresentationtoken.h +2 -2
  94. data/ext/mathematical/lasem/src/lsmmathmlradicalelement.c +2 -2
  95. data/ext/mathematical/lasem/src/lsmmathmlradicalelement.h +2 -2
  96. data/ext/mathematical/lasem/src/lsmmathmlrowelement.c +2 -2
  97. data/ext/mathematical/lasem/src/lsmmathmlrowelement.h +2 -2
  98. data/ext/mathematical/lasem/src/lsmmathmlscriptelement.c +2 -2
  99. data/ext/mathematical/lasem/src/lsmmathmlscriptelement.h +2 -2
  100. data/ext/mathematical/lasem/src/lsmmathmlsemanticselement.c +2 -2
  101. data/ext/mathematical/lasem/src/lsmmathmlsemanticselement.h +2 -2
  102. data/ext/mathematical/lasem/src/lsmmathmlspaceelement.c +2 -2
  103. data/ext/mathematical/lasem/src/lsmmathmlspaceelement.h +2 -2
  104. data/ext/mathematical/lasem/src/lsmmathmlstringelement.c +2 -2
  105. data/ext/mathematical/lasem/src/lsmmathmlstringelement.h +2 -2
  106. data/ext/mathematical/lasem/src/lsmmathmlstyle.c +2 -2
  107. data/ext/mathematical/lasem/src/lsmmathmlstyle.h +2 -2
  108. data/ext/mathematical/lasem/src/lsmmathmlstyleelement.c +2 -2
  109. data/ext/mathematical/lasem/src/lsmmathmlstyleelement.h +2 -2
  110. data/ext/mathematical/lasem/src/lsmmathmltablecellelement.c +2 -2
  111. data/ext/mathematical/lasem/src/lsmmathmltablecellelement.h +2 -2
  112. data/ext/mathematical/lasem/src/lsmmathmltableelement.c +2 -2
  113. data/ext/mathematical/lasem/src/lsmmathmltableelement.h +2 -2
  114. data/ext/mathematical/lasem/src/lsmmathmltablerowelement.c +2 -2
  115. data/ext/mathematical/lasem/src/lsmmathmltablerowelement.h +2 -2
  116. data/ext/mathematical/lasem/src/lsmmathmltraits.c +2 -2
  117. data/ext/mathematical/lasem/src/lsmmathmltraits.h +2 -2
  118. data/ext/mathematical/lasem/src/lsmmathmltypes.h +2 -2
  119. data/ext/mathematical/lasem/src/lsmmathmlunderoverelement.c +2 -2
  120. data/ext/mathematical/lasem/src/lsmmathmlunderoverelement.h +2 -2
  121. data/ext/mathematical/lasem/src/lsmmathmlutils.c +2 -2
  122. data/ext/mathematical/lasem/src/lsmmathmlutils.h +2 -2
  123. data/ext/mathematical/lasem/src/lsmmathmlview.c +2 -2
  124. data/ext/mathematical/lasem/src/lsmmathmlview.h +2 -2
  125. data/ext/mathematical/lasem/src/lsmproperties.c +2 -2
  126. data/ext/mathematical/lasem/src/lsmproperties.h +2 -2
  127. data/ext/mathematical/lasem/src/lsmstr.c +2 -2
  128. data/ext/mathematical/lasem/src/lsmstr.h +2 -2
  129. data/ext/mathematical/lasem/src/lsmsvg.h +2 -2
  130. data/ext/mathematical/lasem/src/lsmsvgaelement.c +2 -2
  131. data/ext/mathematical/lasem/src/lsmsvgaelement.h +2 -2
  132. data/ext/mathematical/lasem/src/lsmsvgattributes.h +2 -2
  133. data/ext/mathematical/lasem/src/lsmsvgcircleelement.c +2 -2
  134. data/ext/mathematical/lasem/src/lsmsvgcircleelement.h +2 -2
  135. data/ext/mathematical/lasem/src/lsmsvgclippathelement.c +2 -2
  136. data/ext/mathematical/lasem/src/lsmsvgclippathelement.h +2 -2
  137. data/ext/mathematical/lasem/src/lsmsvgcolors.c +2 -2
  138. data/ext/mathematical/lasem/src/lsmsvgcolors.h +2 -2
  139. data/ext/mathematical/lasem/src/lsmsvgdefselement.c +2 -2
  140. data/ext/mathematical/lasem/src/lsmsvgdefselement.h +2 -2
  141. data/ext/mathematical/lasem/src/lsmsvgdocument.c +2 -2
  142. data/ext/mathematical/lasem/src/lsmsvgdocument.h +2 -2
  143. data/ext/mathematical/lasem/src/lsmsvgelement.c +2 -2
  144. data/ext/mathematical/lasem/src/lsmsvgelement.h +2 -3
  145. data/ext/mathematical/lasem/src/lsmsvgellipseelement.c +2 -2
  146. data/ext/mathematical/lasem/src/lsmsvgellipseelement.h +2 -2
  147. data/ext/mathematical/lasem/src/lsmsvgenums.c +2 -2
  148. data/ext/mathematical/lasem/src/lsmsvgenums.h +2 -2
  149. data/ext/mathematical/lasem/src/lsmsvgfilterblend.c +2 -2
  150. data/ext/mathematical/lasem/src/lsmsvgfilterblend.h +2 -2
  151. data/ext/mathematical/lasem/src/lsmsvgfiltercolormatrix.c +2 -2
  152. data/ext/mathematical/lasem/src/lsmsvgfiltercolormatrix.h +2 -2
  153. data/ext/mathematical/lasem/src/lsmsvgfiltercomposite.c +2 -2
  154. data/ext/mathematical/lasem/src/lsmsvgfiltercomposite.h +2 -2
  155. data/ext/mathematical/lasem/src/lsmsvgfilterconvolvematrix.c +2 -2
  156. data/ext/mathematical/lasem/src/lsmsvgfilterconvolvematrix.h +2 -2
  157. data/ext/mathematical/lasem/src/lsmsvgfilterdisplacementmap.c +2 -2
  158. data/ext/mathematical/lasem/src/lsmsvgfilterdisplacementmap.h +2 -2
  159. data/ext/mathematical/lasem/src/lsmsvgfilterelement.c +2 -2
  160. data/ext/mathematical/lasem/src/lsmsvgfilterelement.h +2 -2
  161. data/ext/mathematical/lasem/src/lsmsvgfilterflood.c +2 -2
  162. data/ext/mathematical/lasem/src/lsmsvgfilterflood.h +2 -2
  163. data/ext/mathematical/lasem/src/lsmsvgfiltergaussianblur.c +2 -2
  164. data/ext/mathematical/lasem/src/lsmsvgfiltergaussianblur.h +2 -2
  165. data/ext/mathematical/lasem/src/lsmsvgfilterimage.c +6 -4
  166. data/ext/mathematical/lasem/src/lsmsvgfilterimage.h +2 -2
  167. data/ext/mathematical/lasem/src/lsmsvgfiltermerge.c +2 -2
  168. data/ext/mathematical/lasem/src/lsmsvgfiltermerge.h +2 -2
  169. data/ext/mathematical/lasem/src/lsmsvgfiltermergenode.c +2 -2
  170. data/ext/mathematical/lasem/src/lsmsvgfiltermergenode.h +2 -2
  171. data/ext/mathematical/lasem/src/lsmsvgfiltermorphology.c +2 -2
  172. data/ext/mathematical/lasem/src/lsmsvgfiltermorphology.h +2 -2
  173. data/ext/mathematical/lasem/src/lsmsvgfilteroffset.c +2 -2
  174. data/ext/mathematical/lasem/src/lsmsvgfilteroffset.h +2 -2
  175. data/ext/mathematical/lasem/src/lsmsvgfilterprimitive.c +2 -2
  176. data/ext/mathematical/lasem/src/lsmsvgfilterprimitive.h +2 -2
  177. data/ext/mathematical/lasem/src/lsmsvgfilterspecularlighting.c +2 -2
  178. data/ext/mathematical/lasem/src/lsmsvgfilterspecularlighting.h +2 -2
  179. data/ext/mathematical/lasem/src/lsmsvgfiltersurface.c +2 -2
  180. data/ext/mathematical/lasem/src/lsmsvgfiltersurface.h +2 -2
  181. data/ext/mathematical/lasem/src/lsmsvgfiltertile.c +2 -2
  182. data/ext/mathematical/lasem/src/lsmsvgfiltertile.h +2 -2
  183. data/ext/mathematical/lasem/src/lsmsvgfilterturbulence.c +2 -2
  184. data/ext/mathematical/lasem/src/lsmsvgfilterturbulence.h +2 -2
  185. data/ext/mathematical/lasem/src/lsmsvggelement.c +2 -2
  186. data/ext/mathematical/lasem/src/lsmsvggelement.h +2 -2
  187. data/ext/mathematical/lasem/src/lsmsvggradientelement.c +2 -2
  188. data/ext/mathematical/lasem/src/lsmsvggradientelement.h +2 -2
  189. data/ext/mathematical/lasem/src/lsmsvgimageelement.c +2 -2
  190. data/ext/mathematical/lasem/src/lsmsvgimageelement.h +2 -2
  191. data/ext/mathematical/lasem/src/lsmsvglength.c +2 -2
  192. data/ext/mathematical/lasem/src/lsmsvglength.h +2 -2
  193. data/ext/mathematical/lasem/src/lsmsvglineargradientelement.c +2 -2
  194. data/ext/mathematical/lasem/src/lsmsvglineargradientelement.h +2 -2
  195. data/ext/mathematical/lasem/src/lsmsvglineelement.c +2 -2
  196. data/ext/mathematical/lasem/src/lsmsvglineelement.h +2 -2
  197. data/ext/mathematical/lasem/src/lsmsvgmarkerelement.c +2 -2
  198. data/ext/mathematical/lasem/src/lsmsvgmarkerelement.h +2 -2
  199. data/ext/mathematical/lasem/src/lsmsvgmaskelement.c +2 -2
  200. data/ext/mathematical/lasem/src/lsmsvgmaskelement.h +2 -2
  201. data/ext/mathematical/lasem/src/lsmsvgmatrix.c +2 -2
  202. data/ext/mathematical/lasem/src/lsmsvgmatrix.h +2 -2
  203. data/ext/mathematical/lasem/src/lsmsvgpathelement.c +2 -2
  204. data/ext/mathematical/lasem/src/lsmsvgpathelement.h +2 -2
  205. data/ext/mathematical/lasem/src/lsmsvgpatternelement.c +2 -2
  206. data/ext/mathematical/lasem/src/lsmsvgpatternelement.h +2 -2
  207. data/ext/mathematical/lasem/src/lsmsvgpolygonelement.c +2 -2
  208. data/ext/mathematical/lasem/src/lsmsvgpolygonelement.h +2 -2
  209. data/ext/mathematical/lasem/src/lsmsvgpolylineelement.c +2 -2
  210. data/ext/mathematical/lasem/src/lsmsvgpolylineelement.h +2 -2
  211. data/ext/mathematical/lasem/src/lsmsvgradialgradientelement.c +2 -2
  212. data/ext/mathematical/lasem/src/lsmsvgradialgradientelement.h +2 -2
  213. data/ext/mathematical/lasem/src/lsmsvgrectelement.c +2 -2
  214. data/ext/mathematical/lasem/src/lsmsvgrectelement.h +2 -2
  215. data/ext/mathematical/lasem/src/lsmsvgstopelement.c +2 -2
  216. data/ext/mathematical/lasem/src/lsmsvgstopelement.h +2 -2
  217. data/ext/mathematical/lasem/src/lsmsvgstyle.c +2 -2
  218. data/ext/mathematical/lasem/src/lsmsvgstyle.h +2 -2
  219. data/ext/mathematical/lasem/src/lsmsvgsvgelement.c +2 -2
  220. data/ext/mathematical/lasem/src/lsmsvgsvgelement.h +2 -2
  221. data/ext/mathematical/lasem/src/lsmsvgswitchelement.c +2 -2
  222. data/ext/mathematical/lasem/src/lsmsvgswitchelement.h +2 -2
  223. data/ext/mathematical/lasem/src/lsmsvgsymbolelement.c +2 -2
  224. data/ext/mathematical/lasem/src/lsmsvgsymbolelement.h +2 -2
  225. data/ext/mathematical/lasem/src/lsmsvgtextelement.c +2 -2
  226. data/ext/mathematical/lasem/src/lsmsvgtextelement.h +2 -2
  227. data/ext/mathematical/lasem/src/lsmsvgtraits.c +2 -2
  228. data/ext/mathematical/lasem/src/lsmsvgtraits.h +2 -2
  229. data/ext/mathematical/lasem/src/lsmsvgtransformable.c +2 -2
  230. data/ext/mathematical/lasem/src/lsmsvgtransformable.h +2 -2
  231. data/ext/mathematical/lasem/src/lsmsvgtspanelement.c +2 -2
  232. data/ext/mathematical/lasem/src/lsmsvgtspanelement.h +2 -2
  233. data/ext/mathematical/lasem/src/lsmsvgtypes.h +2 -2
  234. data/ext/mathematical/lasem/src/lsmsvguseelement.c +2 -2
  235. data/ext/mathematical/lasem/src/lsmsvguseelement.h +2 -2
  236. data/ext/mathematical/lasem/src/lsmsvgview.c +2 -2
  237. data/ext/mathematical/lasem/src/lsmsvgview.h +2 -2
  238. data/ext/mathematical/lasem/src/lsmtraits.c +2 -2
  239. data/ext/mathematical/lasem/src/lsmtraits.h +2 -2
  240. data/ext/mathematical/lasem/src/lsmtypes.h +2 -2
  241. data/ext/mathematical/lasem/src/lsmutils.c +2 -2
  242. data/ext/mathematical/lasem/src/lsmutils.h +2 -2
  243. data/ext/mathematical/lasem/tests/lsmtest.c +1 -3
  244. data/ext/mathematical/lasem/tests/suite.c +1 -2
  245. data/ext/mathematical/lasem_overrides.c +3 -0
  246. data/ext/mathematical/lib/liblasem.dylib +0 -0
  247. data/ext/mathematical/lib/libmtex2MML.a +0 -0
  248. data/ext/mathematical/mtex2MML/build/CMakeCache.txt +84 -79
  249. data/ext/mathematical/mtex2MML/build/CMakeFiles/{3.8.0 → 3.15.5}/CMakeCCompiler.cmake +15 -7
  250. data/ext/mathematical/mtex2MML/build/CMakeFiles/{3.8.0 → 3.15.5}/CMakeCXXCompiler.cmake +17 -8
  251. data/ext/mathematical/mtex2MML/build/CMakeFiles/{3.8.0 → 3.15.5}/CMakeDetermineCompilerABI_C.bin +0 -0
  252. data/ext/mathematical/mtex2MML/build/CMakeFiles/{3.7.2 → 3.15.5}/CMakeDetermineCompilerABI_CXX.bin +0 -0
  253. data/ext/mathematical/mtex2MML/build/CMakeFiles/{3.7.2 → 3.15.5}/CMakeSystem.cmake +4 -4
  254. data/ext/mathematical/mtex2MML/build/CMakeFiles/{3.8.0 → 3.15.5}/CompilerIdC/CMakeCCompilerId.c +135 -37
  255. data/ext/mathematical/mtex2MML/build/CMakeFiles/{3.7.2 → 3.15.5}/CompilerIdC/a.out +0 -0
  256. data/ext/mathematical/mtex2MML/build/CMakeFiles/{3.8.0 → 3.15.5}/CompilerIdCXX/CMakeCXXCompilerId.cpp +143 -38
  257. data/ext/mathematical/mtex2MML/build/CMakeFiles/{3.7.2 → 3.15.5}/CompilerIdCXX/a.out +0 -0
  258. data/ext/mathematical/mtex2MML/build/CMakeFiles/CMakeDirectoryInformation.cmake +3 -3
  259. data/ext/mathematical/mtex2MML/build/CMakeFiles/CMakeOutput.log +250 -939
  260. data/ext/mathematical/mtex2MML/build/CMakeFiles/CMakeRuleHashes.txt +33 -33
  261. data/ext/mathematical/mtex2MML/build/CMakeFiles/Continuous.dir/build.make +7 -7
  262. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousBuild.dir/build.make +7 -7
  263. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousConfigure.dir/build.make +7 -7
  264. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousCoverage.dir/build.make +7 -7
  265. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousMemCheck.dir/build.make +7 -7
  266. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousStart.dir/build.make +7 -7
  267. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousSubmit.dir/build.make +7 -7
  268. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousTest.dir/build.make +7 -7
  269. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousUpdate.dir/build.make +7 -7
  270. data/ext/mathematical/mtex2MML/build/CMakeFiles/Experimental.dir/build.make +7 -7
  271. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalBuild.dir/build.make +7 -7
  272. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalConfigure.dir/build.make +7 -7
  273. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalCoverage.dir/build.make +7 -7
  274. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalMemCheck.dir/build.make +7 -7
  275. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalStart.dir/build.make +7 -7
  276. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalSubmit.dir/build.make +7 -7
  277. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalTest.dir/build.make +7 -7
  278. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalUpdate.dir/build.make +7 -7
  279. data/ext/mathematical/mtex2MML/build/CMakeFiles/Makefile.cmake +113 -109
  280. data/ext/mathematical/mtex2MML/build/CMakeFiles/Makefile2 +149 -278
  281. data/ext/mathematical/mtex2MML/build/CMakeFiles/Nightly.dir/build.make +7 -7
  282. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyBuild.dir/build.make +7 -7
  283. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyConfigure.dir/build.make +7 -7
  284. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyCoverage.dir/build.make +7 -7
  285. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyMemCheck.dir/build.make +7 -7
  286. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyMemoryCheck.dir/build.make +7 -7
  287. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyStart.dir/build.make +7 -7
  288. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlySubmit.dir/build.make +7 -7
  289. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyTest.dir/build.make +7 -7
  290. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyUpdate.dir/build.make +7 -7
  291. data/ext/mathematical/mtex2MML/build/CMakeFiles/TargetDirectories.txt +41 -41
  292. data/ext/mathematical/mtex2MML/build/CMakeFiles/format.dir/build.make +7 -7
  293. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML.dir/DependInfo.cmake +11 -10
  294. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML.dir/build.make +39 -126
  295. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML.dir/cmake_clean.cmake +6 -6
  296. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML.dir/flags.make +5 -5
  297. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML.dir/link.txt +1 -1
  298. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/C.includecache +42 -42
  299. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/DependInfo.cmake +9 -9
  300. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/build.make +39 -126
  301. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/cmake_clean.cmake +6 -6
  302. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/depend.internal +25 -25
  303. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/depend.make +1 -1
  304. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/flags.make +5 -5
  305. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/link.txt +2 -2
  306. data/ext/mathematical/mtex2MML/build/CMakeFiles/memcheck.dir/build.make +6 -6
  307. data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML.dir/DependInfo.cmake +10 -10
  308. data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML.dir/build.make +43 -142
  309. data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML.dir/cmake_clean.cmake +7 -7
  310. data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML.dir/flags.make +5 -5
  311. data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML.dir/link.txt +1 -1
  312. data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML_clar.dir/DependInfo.cmake +26 -26
  313. data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML_clar.dir/build.make +113 -404
  314. data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML_clar.dir/cmake_clean.cmake +11 -11
  315. data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML_clar.dir/flags.make +5 -5
  316. data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML_clar.dir/link.txt +1 -1
  317. data/ext/mathematical/mtex2MML/build/CTestTestfile.cmake +3 -2
  318. data/ext/mathematical/mtex2MML/build/DartConfiguration.tcl +11 -18
  319. data/ext/mathematical/mtex2MML/build/Makefile +18 -18
  320. data/ext/mathematical/mtex2MML/build/cmake_install.cmake +63 -4
  321. data/ext/mathematical/mtex2MML/build/lexer.c +4104 -4048
  322. data/ext/mathematical/mtex2MML/build/libmtex2MML.a +0 -0
  323. data/ext/mathematical/mtex2MML/build/libmtex2MML.pc +1 -1
  324. data/ext/mathematical/mtex2MML/build/mtex2mml_export.h +1 -1
  325. data/ext/mathematical/mtex2MML/build/parser.c +3137 -3123
  326. data/ext/mathematical/mtex2MML/build/parser.h +32 -32
  327. data/ext/mathematical/mtex2MML/build/parser.output +13641 -12859
  328. data/lib/mathematical/version.rb +1 -1
  329. data/mathematical.gemspec +2 -3
  330. data/test/test_helper.rb +4 -1
  331. metadata +18 -44
  332. data/ext/mathematical/FindPackageHandleStandardArgs.cmake +0 -58
  333. data/ext/mathematical/mtex2MML/build/CMakeFiles/3.7.2/CMakeCCompiler.cmake +0 -68
  334. data/ext/mathematical/mtex2MML/build/CMakeFiles/3.7.2/CMakeCXXCompiler.cmake +0 -69
  335. data/ext/mathematical/mtex2MML/build/CMakeFiles/3.7.2/CMakeDetermineCompilerABI_C.bin +0 -0
  336. data/ext/mathematical/mtex2MML/build/CMakeFiles/3.7.2/CompilerIdC/CMakeCCompilerId.c +0 -561
  337. data/ext/mathematical/mtex2MML/build/CMakeFiles/3.7.2/CompilerIdCXX/CMakeCXXCompilerId.cpp +0 -533
  338. data/ext/mathematical/mtex2MML/build/CMakeFiles/3.8.0/CMakeDetermineCompilerABI_CXX.bin +0 -0
  339. data/ext/mathematical/mtex2MML/build/CMakeFiles/3.8.0/CMakeSystem.cmake +0 -15
  340. data/ext/mathematical/mtex2MML/build/CMakeFiles/3.8.0/CompilerIdC/a.out +0 -0
  341. data/ext/mathematical/mtex2MML/build/CMakeFiles/3.8.0/CompilerIdCXX/a.out +0 -0
  342. data/ext/mathematical/mtex2MML/build/CMakeFiles/feature_tests.bin +0 -0
  343. data/ext/mathematical/mtex2MML/build/CMakeFiles/feature_tests.c +0 -34
  344. data/ext/mathematical/mtex2MML/build/CMakeFiles/feature_tests.cxx +0 -405
@@ -1,13 +1,13 @@
1
- set(CMAKE_HOST_SYSTEM "Darwin-16.4.0")
1
+ set(CMAKE_HOST_SYSTEM "Darwin-19.0.0")
2
2
  set(CMAKE_HOST_SYSTEM_NAME "Darwin")
3
- set(CMAKE_HOST_SYSTEM_VERSION "16.4.0")
3
+ set(CMAKE_HOST_SYSTEM_VERSION "19.0.0")
4
4
  set(CMAKE_HOST_SYSTEM_PROCESSOR "x86_64")
5
5
 
6
6
 
7
7
 
8
- set(CMAKE_SYSTEM "Darwin-16.4.0")
8
+ set(CMAKE_SYSTEM "Darwin-19.0.0")
9
9
  set(CMAKE_SYSTEM_NAME "Darwin")
10
- set(CMAKE_SYSTEM_VERSION "16.4.0")
10
+ set(CMAKE_SYSTEM_VERSION "19.0.0")
11
11
  set(CMAKE_SYSTEM_PROCESSOR "x86_64")
12
12
 
13
13
  set(CMAKE_CROSSCOMPILING "FALSE")
@@ -19,6 +19,9 @@
19
19
  # define COMPILER_ID "Intel"
20
20
  # if defined(_MSC_VER)
21
21
  # define SIMULATE_ID "MSVC"
22
+ # endif
23
+ # if defined(__GNUC__)
24
+ # define SIMULATE_ID "GNU"
22
25
  # endif
23
26
  /* __INTEL_COMPILER = VRP */
24
27
  # define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER/100)
@@ -37,6 +40,17 @@
37
40
  # define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
38
41
  # define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
39
42
  # endif
43
+ # if defined(__GNUC__)
44
+ # define SIMULATE_VERSION_MAJOR DEC(__GNUC__)
45
+ # elif defined(__GNUG__)
46
+ # define SIMULATE_VERSION_MAJOR DEC(__GNUG__)
47
+ # endif
48
+ # if defined(__GNUC_MINOR__)
49
+ # define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__)
50
+ # endif
51
+ # if defined(__GNUC_PATCHLEVEL__)
52
+ # define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
53
+ # endif
40
54
 
41
55
  #elif defined(__PATHCC__)
42
56
  # define COMPILER_ID "PathScale"
@@ -111,6 +125,14 @@
111
125
  # define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10)
112
126
  # define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10)
113
127
 
128
+ #elif defined(__ibmxl__) && defined(__clang__)
129
+ # define COMPILER_ID "XLClang"
130
+ # define COMPILER_VERSION_MAJOR DEC(__ibmxl_version__)
131
+ # define COMPILER_VERSION_MINOR DEC(__ibmxl_release__)
132
+ # define COMPILER_VERSION_PATCH DEC(__ibmxl_modification__)
133
+ # define COMPILER_VERSION_TWEAK DEC(__ibmxl_ptf_fix_level__)
134
+
135
+
114
136
  #elif defined(__IBMC__) && !defined(__COMPILER_VER__) && __IBMC__ >= 800
115
137
  # define COMPILER_ID "XL"
116
138
  /* __IBMC__ = VRP */
@@ -148,6 +170,15 @@
148
170
  #elif defined(__FUJITSU) || defined(__FCC_VERSION) || defined(__fcc_version)
149
171
  # define COMPILER_ID "Fujitsu"
150
172
 
173
+ #elif defined(__ghs__)
174
+ # define COMPILER_ID "GHS"
175
+ /* __GHS_VERSION_NUMBER = VVVVRP */
176
+ # ifdef __GHS_VERSION_NUMBER
177
+ # define COMPILER_VERSION_MAJOR DEC(__GHS_VERSION_NUMBER / 100)
178
+ # define COMPILER_VERSION_MINOR DEC(__GHS_VERSION_NUMBER / 10 % 10)
179
+ # define COMPILER_VERSION_PATCH DEC(__GHS_VERSION_NUMBER % 10)
180
+ # endif
181
+
151
182
  #elif defined(__TINYC__)
152
183
  # define COMPILER_ID "TinyCC"
153
184
 
@@ -157,6 +188,21 @@
157
188
  #elif defined(__SCO_VERSION__)
158
189
  # define COMPILER_ID "SCO"
159
190
 
191
+ #elif defined(__ARMCC_VERSION) && !defined(__clang__)
192
+ # define COMPILER_ID "ARMCC"
193
+ #if __ARMCC_VERSION >= 1000000
194
+ /* __ARMCC_VERSION = VRRPPPP */
195
+ # define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/1000000)
196
+ # define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 100)
197
+ # define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
198
+ #else
199
+ /* __ARMCC_VERSION = VRPPPP */
200
+ # define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/100000)
201
+ # define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 10)
202
+ # define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
203
+ #endif
204
+
205
+
160
206
  #elif defined(__clang__) && defined(__apple_build_version__)
161
207
  # define COMPILER_ID "AppleClang"
162
208
  # if defined(_MSC_VER)
@@ -172,6 +218,13 @@
172
218
  # endif
173
219
  # define COMPILER_VERSION_TWEAK DEC(__apple_build_version__)
174
220
 
221
+ #elif defined(__clang__) && defined(__ARMCOMPILER_VERSION)
222
+ # define COMPILER_ID "ARMClang"
223
+ # define COMPILER_VERSION_MAJOR DEC(__ARMCOMPILER_VERSION/1000000)
224
+ # define COMPILER_VERSION_MINOR DEC(__ARMCOMPILER_VERSION/10000 % 100)
225
+ # define COMPILER_VERSION_PATCH DEC(__ARMCOMPILER_VERSION % 10000)
226
+ # define COMPILER_VERSION_INTERNAL DEC(__ARMCOMPILER_VERSION)
227
+
175
228
  #elif defined(__clang__)
176
229
  # define COMPILER_ID "Clang"
177
230
  # if defined(_MSC_VER)
@@ -223,23 +276,19 @@
223
276
  # define COMPILER_VERSION_PATCH HEX(__VISUALDSPVERSION__>>8 & 0xFF)
224
277
  #endif
225
278
 
226
- #elif defined(__IAR_SYSTEMS_ICC__ ) || defined(__IAR_SYSTEMS_ICC)
279
+ #elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC)
227
280
  # define COMPILER_ID "IAR"
228
-
229
- #elif defined(__ARMCC_VERSION)
230
- # define COMPILER_ID "ARMCC"
231
- #if __ARMCC_VERSION >= 1000000
232
- /* __ARMCC_VERSION = VRRPPPP */
233
- # define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/1000000)
234
- # define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 100)
235
- # define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
236
- #else
237
- /* __ARMCC_VERSION = VRPPPP */
238
- # define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/100000)
239
- # define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 10)
240
- # define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
241
- #endif
242
-
281
+ # if defined(__VER__) && defined(__ICCARM__)
282
+ # define COMPILER_VERSION_MAJOR DEC((__VER__) / 1000000)
283
+ # define COMPILER_VERSION_MINOR DEC(((__VER__) / 1000) % 1000)
284
+ # define COMPILER_VERSION_PATCH DEC((__VER__) % 1000)
285
+ # define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__)
286
+ # elif defined(__VER__) && (defined(__ICCAVR__) || defined(__ICCRX__) || defined(__ICCRH850__) || defined(__ICCRL78__) || defined(__ICC430__) || defined(__ICCRISCV__))
287
+ # define COMPILER_VERSION_MAJOR DEC((__VER__) / 100)
288
+ # define COMPILER_VERSION_MINOR DEC((__VER__) - (((__VER__) / 100)*100))
289
+ # define COMPILER_VERSION_PATCH DEC(__SUBVERSION__)
290
+ # define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__)
291
+ # endif
243
292
 
244
293
  #elif defined(__SDCC_VERSION_MAJOR) || defined(SDCC)
245
294
  # define COMPILER_ID "SDCC"
@@ -254,27 +303,10 @@
254
303
  # define COMPILER_VERSION_PATCH DEC(SDCC % 10)
255
304
  # endif
256
305
 
257
- #elif defined(_SGI_COMPILER_VERSION) || defined(_COMPILER_VERSION)
258
- # define COMPILER_ID "MIPSpro"
259
- # if defined(_SGI_COMPILER_VERSION)
260
- /* _SGI_COMPILER_VERSION = VRP */
261
- # define COMPILER_VERSION_MAJOR DEC(_SGI_COMPILER_VERSION/100)
262
- # define COMPILER_VERSION_MINOR DEC(_SGI_COMPILER_VERSION/10 % 10)
263
- # define COMPILER_VERSION_PATCH DEC(_SGI_COMPILER_VERSION % 10)
264
- # else
265
- /* _COMPILER_VERSION = VRP */
266
- # define COMPILER_VERSION_MAJOR DEC(_COMPILER_VERSION/100)
267
- # define COMPILER_VERSION_MINOR DEC(_COMPILER_VERSION/10 % 10)
268
- # define COMPILER_VERSION_PATCH DEC(_COMPILER_VERSION % 10)
269
- # endif
270
-
271
306
 
272
307
  /* These compilers are either not known or too old to define an
273
308
  identification macro. Try to identify the platform and guess that
274
309
  it is the native compiler. */
275
- #elif defined(__sgi)
276
- # define COMPILER_ID "MIPSpro"
277
-
278
310
  #elif defined(__hpux) || defined(__hpua)
279
311
  # define COMPILER_ID "HP"
280
312
 
@@ -333,9 +365,6 @@ char const *info_cray = "INFO" ":" "compiler_wrapper[CrayPrgEnv]";
333
365
  #elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__)
334
366
  # define PLATFORM_ID "AIX"
335
367
 
336
- #elif defined(__sgi) || defined(__sgi__) || defined(_SGI)
337
- # define PLATFORM_ID "IRIX"
338
-
339
368
  #elif defined(__hpux) || defined(__hpux__)
340
369
  # define PLATFORM_ID "HP-UX"
341
370
 
@@ -395,6 +424,14 @@ char const *info_cray = "INFO" ":" "compiler_wrapper[CrayPrgEnv]";
395
424
  # define PLATFORM_ID
396
425
  # endif
397
426
 
427
+ #elif defined(__INTEGRITY)
428
+ # if defined(INT_178B)
429
+ # define PLATFORM_ID "Integrity178"
430
+
431
+ # else /* regular Integrity */
432
+ # define PLATFORM_ID "Integrity"
433
+ # endif
434
+
398
435
  #else /* unknown platform */
399
436
  # define PLATFORM_ID
400
437
 
@@ -415,6 +452,9 @@ char const *info_cray = "INFO" ":" "compiler_wrapper[CrayPrgEnv]";
415
452
  # elif defined(_M_IX86)
416
453
  # define ARCHITECTURE_ID "X86"
417
454
 
455
+ # elif defined(_M_ARM64)
456
+ # define ARCHITECTURE_ID "ARM64"
457
+
418
458
  # elif defined(_M_ARM)
419
459
  # if _M_ARM == 4
420
460
  # define ARCHITECTURE_ID "ARMV4I"
@@ -445,6 +485,51 @@ char const *info_cray = "INFO" ":" "compiler_wrapper[CrayPrgEnv]";
445
485
  # define ARCHITECTURE_ID ""
446
486
  # endif
447
487
 
488
+ #elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC)
489
+ # if defined(__ICCARM__)
490
+ # define ARCHITECTURE_ID "ARM"
491
+
492
+ # elif defined(__ICCRX__)
493
+ # define ARCHITECTURE_ID "RX"
494
+
495
+ # elif defined(__ICCRH850__)
496
+ # define ARCHITECTURE_ID "RH850"
497
+
498
+ # elif defined(__ICCRL78__)
499
+ # define ARCHITECTURE_ID "RL78"
500
+
501
+ # elif defined(__ICCRISCV__)
502
+ # define ARCHITECTURE_ID "RISCV"
503
+
504
+ # elif defined(__ICCAVR__)
505
+ # define ARCHITECTURE_ID "AVR"
506
+
507
+ # elif defined(__ICC430__)
508
+ # define ARCHITECTURE_ID "MSP430"
509
+
510
+ # else /* unknown architecture */
511
+ # define ARCHITECTURE_ID ""
512
+ # endif
513
+
514
+ #elif defined(__ghs__)
515
+ # if defined(__PPC64__)
516
+ # define ARCHITECTURE_ID "PPC64"
517
+
518
+ # elif defined(__ppc__)
519
+ # define ARCHITECTURE_ID "PPC"
520
+
521
+ # elif defined(__ARM__)
522
+ # define ARCHITECTURE_ID "ARM"
523
+
524
+ # elif defined(__x86_64__)
525
+ # define ARCHITECTURE_ID "x64"
526
+
527
+ # elif defined(__i386__)
528
+ # define ARCHITECTURE_ID "X86"
529
+
530
+ # else /* unknown architecture */
531
+ # define ARCHITECTURE_ID ""
532
+ # endif
448
533
  #else
449
534
  # define ARCHITECTURE_ID
450
535
  #endif
@@ -489,6 +574,15 @@ char const info_version[] = {
489
574
  ']','\0'};
490
575
  #endif
491
576
 
577
+ /* Construct a string literal encoding the internal version number. */
578
+ #ifdef COMPILER_VERSION_INTERNAL
579
+ char const info_version_internal[] = {
580
+ 'I', 'N', 'F', 'O', ':',
581
+ 'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','_',
582
+ 'i','n','t','e','r','n','a','l','[',
583
+ COMPILER_VERSION_INTERNAL,']','\0'};
584
+ #endif
585
+
492
586
  /* Construct a string literal encoding the version number components. */
493
587
  #ifdef SIMULATE_VERSION_MAJOR
494
588
  char const info_simulate_version[] = {
@@ -518,7 +612,8 @@ char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]";
518
612
 
519
613
 
520
614
  #if !defined(__STDC__)
521
- # if defined(_MSC_VER) && !defined(__clang__)
615
+ # if (defined(_MSC_VER) && !defined(__clang__)) \
616
+ || (defined(__ibmxl__) || defined(__IBMC__))
522
617
  # define C_DIALECT "90"
523
618
  # else
524
619
  # define C_DIALECT
@@ -551,6 +646,9 @@ int main(int argc, char* argv[])
551
646
  #ifdef COMPILER_VERSION_MAJOR
552
647
  require += info_version[argc];
553
648
  #endif
649
+ #ifdef COMPILER_VERSION_INTERNAL
650
+ require += info_version_internal[argc];
651
+ #endif
554
652
  #ifdef SIMULATE_ID
555
653
  require += info_simulate[argc];
556
654
  #endif
@@ -19,6 +19,9 @@
19
19
  # define COMPILER_ID "Intel"
20
20
  # if defined(_MSC_VER)
21
21
  # define SIMULATE_ID "MSVC"
22
+ # endif
23
+ # if defined(__GNUC__)
24
+ # define SIMULATE_ID "GNU"
22
25
  # endif
23
26
  /* __INTEL_COMPILER = VRP */
24
27
  # define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER/100)
@@ -37,6 +40,17 @@
37
40
  # define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
38
41
  # define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
39
42
  # endif
43
+ # if defined(__GNUC__)
44
+ # define SIMULATE_VERSION_MAJOR DEC(__GNUC__)
45
+ # elif defined(__GNUG__)
46
+ # define SIMULATE_VERSION_MAJOR DEC(__GNUG__)
47
+ # endif
48
+ # if defined(__GNUC_MINOR__)
49
+ # define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__)
50
+ # endif
51
+ # if defined(__GNUC_PATCHLEVEL__)
52
+ # define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
53
+ # endif
40
54
 
41
55
  #elif defined(__PATHCC__)
42
56
  # define COMPILER_ID "PathScale"
@@ -111,6 +125,14 @@
111
125
  # define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10)
112
126
  # define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10)
113
127
 
128
+ #elif defined(__ibmxl__) && defined(__clang__)
129
+ # define COMPILER_ID "XLClang"
130
+ # define COMPILER_VERSION_MAJOR DEC(__ibmxl_version__)
131
+ # define COMPILER_VERSION_MINOR DEC(__ibmxl_release__)
132
+ # define COMPILER_VERSION_PATCH DEC(__ibmxl_modification__)
133
+ # define COMPILER_VERSION_TWEAK DEC(__ibmxl_ptf_fix_level__)
134
+
135
+
114
136
  #elif defined(__IBMCPP__) && !defined(__COMPILER_VER__) && __IBMCPP__ >= 800
115
137
  # define COMPILER_ID "XL"
116
138
  /* __IBMCPP__ = VRP */
@@ -148,9 +170,33 @@
148
170
  #elif defined(__FUJITSU) || defined(__FCC_VERSION) || defined(__fcc_version)
149
171
  # define COMPILER_ID "Fujitsu"
150
172
 
173
+ #elif defined(__ghs__)
174
+ # define COMPILER_ID "GHS"
175
+ /* __GHS_VERSION_NUMBER = VVVVRP */
176
+ # ifdef __GHS_VERSION_NUMBER
177
+ # define COMPILER_VERSION_MAJOR DEC(__GHS_VERSION_NUMBER / 100)
178
+ # define COMPILER_VERSION_MINOR DEC(__GHS_VERSION_NUMBER / 10 % 10)
179
+ # define COMPILER_VERSION_PATCH DEC(__GHS_VERSION_NUMBER % 10)
180
+ # endif
181
+
151
182
  #elif defined(__SCO_VERSION__)
152
183
  # define COMPILER_ID "SCO"
153
184
 
185
+ #elif defined(__ARMCC_VERSION) && !defined(__clang__)
186
+ # define COMPILER_ID "ARMCC"
187
+ #if __ARMCC_VERSION >= 1000000
188
+ /* __ARMCC_VERSION = VRRPPPP */
189
+ # define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/1000000)
190
+ # define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 100)
191
+ # define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
192
+ #else
193
+ /* __ARMCC_VERSION = VRPPPP */
194
+ # define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/100000)
195
+ # define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 10)
196
+ # define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
197
+ #endif
198
+
199
+
154
200
  #elif defined(__clang__) && defined(__apple_build_version__)
155
201
  # define COMPILER_ID "AppleClang"
156
202
  # if defined(_MSC_VER)
@@ -166,6 +212,13 @@
166
212
  # endif
167
213
  # define COMPILER_VERSION_TWEAK DEC(__apple_build_version__)
168
214
 
215
+ #elif defined(__clang__) && defined(__ARMCOMPILER_VERSION)
216
+ # define COMPILER_ID "ARMClang"
217
+ # define COMPILER_VERSION_MAJOR DEC(__ARMCOMPILER_VERSION/1000000)
218
+ # define COMPILER_VERSION_MINOR DEC(__ARMCOMPILER_VERSION/10000 % 100)
219
+ # define COMPILER_VERSION_PATCH DEC(__ARMCOMPILER_VERSION % 10000)
220
+ # define COMPILER_VERSION_INTERNAL DEC(__ARMCOMPILER_VERSION)
221
+
169
222
  #elif defined(__clang__)
170
223
  # define COMPILER_ID "Clang"
171
224
  # if defined(_MSC_VER)
@@ -221,45 +274,24 @@
221
274
  # define COMPILER_VERSION_PATCH HEX(__VISUALDSPVERSION__>>8 & 0xFF)
222
275
  #endif
223
276
 
224
- #elif defined(__IAR_SYSTEMS_ICC__ ) || defined(__IAR_SYSTEMS_ICC)
277
+ #elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC)
225
278
  # define COMPILER_ID "IAR"
226
-
227
- #elif defined(__ARMCC_VERSION)
228
- # define COMPILER_ID "ARMCC"
229
- #if __ARMCC_VERSION >= 1000000
230
- /* __ARMCC_VERSION = VRRPPPP */
231
- # define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/1000000)
232
- # define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 100)
233
- # define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
234
- #else
235
- /* __ARMCC_VERSION = VRPPPP */
236
- # define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/100000)
237
- # define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 10)
238
- # define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
239
- #endif
240
-
241
-
242
- #elif defined(_SGI_COMPILER_VERSION) || defined(_COMPILER_VERSION)
243
- # define COMPILER_ID "MIPSpro"
244
- # if defined(_SGI_COMPILER_VERSION)
245
- /* _SGI_COMPILER_VERSION = VRP */
246
- # define COMPILER_VERSION_MAJOR DEC(_SGI_COMPILER_VERSION/100)
247
- # define COMPILER_VERSION_MINOR DEC(_SGI_COMPILER_VERSION/10 % 10)
248
- # define COMPILER_VERSION_PATCH DEC(_SGI_COMPILER_VERSION % 10)
249
- # else
250
- /* _COMPILER_VERSION = VRP */
251
- # define COMPILER_VERSION_MAJOR DEC(_COMPILER_VERSION/100)
252
- # define COMPILER_VERSION_MINOR DEC(_COMPILER_VERSION/10 % 10)
253
- # define COMPILER_VERSION_PATCH DEC(_COMPILER_VERSION % 10)
279
+ # if defined(__VER__) && defined(__ICCARM__)
280
+ # define COMPILER_VERSION_MAJOR DEC((__VER__) / 1000000)
281
+ # define COMPILER_VERSION_MINOR DEC(((__VER__) / 1000) % 1000)
282
+ # define COMPILER_VERSION_PATCH DEC((__VER__) % 1000)
283
+ # define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__)
284
+ # elif defined(__VER__) && (defined(__ICCAVR__) || defined(__ICCRX__) || defined(__ICCRH850__) || defined(__ICCRL78__) || defined(__ICC430__) || defined(__ICCRISCV__))
285
+ # define COMPILER_VERSION_MAJOR DEC((__VER__) / 100)
286
+ # define COMPILER_VERSION_MINOR DEC((__VER__) - (((__VER__) / 100)*100))
287
+ # define COMPILER_VERSION_PATCH DEC(__SUBVERSION__)
288
+ # define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__)
254
289
  # endif
255
290
 
256
291
 
257
292
  /* These compilers are either not known or too old to define an
258
293
  identification macro. Try to identify the platform and guess that
259
294
  it is the native compiler. */
260
- #elif defined(__sgi)
261
- # define COMPILER_ID "MIPSpro"
262
-
263
295
  #elif defined(__hpux) || defined(__hpua)
264
296
  # define COMPILER_ID "HP"
265
297
 
@@ -318,9 +350,6 @@ char const *info_cray = "INFO" ":" "compiler_wrapper[CrayPrgEnv]";
318
350
  #elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__)
319
351
  # define PLATFORM_ID "AIX"
320
352
 
321
- #elif defined(__sgi) || defined(__sgi__) || defined(_SGI)
322
- # define PLATFORM_ID "IRIX"
323
-
324
353
  #elif defined(__hpux) || defined(__hpux__)
325
354
  # define PLATFORM_ID "HP-UX"
326
355
 
@@ -380,6 +409,14 @@ char const *info_cray = "INFO" ":" "compiler_wrapper[CrayPrgEnv]";
380
409
  # define PLATFORM_ID
381
410
  # endif
382
411
 
412
+ #elif defined(__INTEGRITY)
413
+ # if defined(INT_178B)
414
+ # define PLATFORM_ID "Integrity178"
415
+
416
+ # else /* regular Integrity */
417
+ # define PLATFORM_ID "Integrity"
418
+ # endif
419
+
383
420
  #else /* unknown platform */
384
421
  # define PLATFORM_ID
385
422
 
@@ -400,6 +437,9 @@ char const *info_cray = "INFO" ":" "compiler_wrapper[CrayPrgEnv]";
400
437
  # elif defined(_M_IX86)
401
438
  # define ARCHITECTURE_ID "X86"
402
439
 
440
+ # elif defined(_M_ARM64)
441
+ # define ARCHITECTURE_ID "ARM64"
442
+
403
443
  # elif defined(_M_ARM)
404
444
  # if _M_ARM == 4
405
445
  # define ARCHITECTURE_ID "ARMV4I"
@@ -430,6 +470,51 @@ char const *info_cray = "INFO" ":" "compiler_wrapper[CrayPrgEnv]";
430
470
  # define ARCHITECTURE_ID ""
431
471
  # endif
432
472
 
473
+ #elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC)
474
+ # if defined(__ICCARM__)
475
+ # define ARCHITECTURE_ID "ARM"
476
+
477
+ # elif defined(__ICCRX__)
478
+ # define ARCHITECTURE_ID "RX"
479
+
480
+ # elif defined(__ICCRH850__)
481
+ # define ARCHITECTURE_ID "RH850"
482
+
483
+ # elif defined(__ICCRL78__)
484
+ # define ARCHITECTURE_ID "RL78"
485
+
486
+ # elif defined(__ICCRISCV__)
487
+ # define ARCHITECTURE_ID "RISCV"
488
+
489
+ # elif defined(__ICCAVR__)
490
+ # define ARCHITECTURE_ID "AVR"
491
+
492
+ # elif defined(__ICC430__)
493
+ # define ARCHITECTURE_ID "MSP430"
494
+
495
+ # else /* unknown architecture */
496
+ # define ARCHITECTURE_ID ""
497
+ # endif
498
+
499
+ #elif defined(__ghs__)
500
+ # if defined(__PPC64__)
501
+ # define ARCHITECTURE_ID "PPC64"
502
+
503
+ # elif defined(__ppc__)
504
+ # define ARCHITECTURE_ID "PPC"
505
+
506
+ # elif defined(__ARM__)
507
+ # define ARCHITECTURE_ID "ARM"
508
+
509
+ # elif defined(__x86_64__)
510
+ # define ARCHITECTURE_ID "x64"
511
+
512
+ # elif defined(__i386__)
513
+ # define ARCHITECTURE_ID "X86"
514
+
515
+ # else /* unknown architecture */
516
+ # define ARCHITECTURE_ID ""
517
+ # endif
433
518
  #else
434
519
  # define ARCHITECTURE_ID
435
520
  #endif
@@ -474,6 +559,15 @@ char const info_version[] = {
474
559
  ']','\0'};
475
560
  #endif
476
561
 
562
+ /* Construct a string literal encoding the internal version number. */
563
+ #ifdef COMPILER_VERSION_INTERNAL
564
+ char const info_version_internal[] = {
565
+ 'I', 'N', 'F', 'O', ':',
566
+ 'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','_',
567
+ 'i','n','t','e','r','n','a','l','[',
568
+ COMPILER_VERSION_INTERNAL,']','\0'};
569
+ #endif
570
+
477
571
  /* Construct a string literal encoding the version number components. */
478
572
  #ifdef SIMULATE_VERSION_MAJOR
479
573
  char const info_simulate_version[] = {
@@ -502,12 +596,20 @@ char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]";
502
596
 
503
597
 
504
598
 
599
+ #if defined(_MSC_VER) && defined(_MSVC_LANG)
600
+ #define CXX_STD _MSVC_LANG
601
+ #else
602
+ #define CXX_STD __cplusplus
603
+ #endif
604
+
505
605
  const char* info_language_dialect_default = "INFO" ":" "dialect_default["
506
- #if __cplusplus > 201402L
606
+ #if CXX_STD > 201703L
607
+ "20"
608
+ #elif CXX_STD >= 201703L
507
609
  "17"
508
- #elif __cplusplus >= 201402L
610
+ #elif CXX_STD >= 201402L
509
611
  "14"
510
- #elif __cplusplus >= 201103L
612
+ #elif CXX_STD >= 201103L
511
613
  "11"
512
614
  #else
513
615
  "98"
@@ -524,6 +626,9 @@ int main(int argc, char* argv[])
524
626
  #ifdef COMPILER_VERSION_MAJOR
525
627
  require += info_version[argc];
526
628
  #endif
629
+ #ifdef COMPILER_VERSION_INTERNAL
630
+ require += info_version_internal[argc];
631
+ #endif
527
632
  #ifdef SIMULATE_ID
528
633
  require += info_simulate[argc];
529
634
  #endif