mathematical 1.6.9 → 1.6.14

Sign up to get free protection for your applications and to get access to all the features.
Files changed (374) hide show
  1. checksums.yaml +5 -5
  2. data/README.md +2 -1
  3. data/ext/mathematical/CMakeLists.txt +48 -6
  4. data/ext/mathematical/extconf.rb +31 -16
  5. data/ext/mathematical/lasem/COPYING +2 -1
  6. data/ext/mathematical/lasem/NEWS +4 -2
  7. data/ext/mathematical/lasem/configure.ac +1 -1
  8. data/ext/mathematical/lasem/lasem.doap +2 -2
  9. data/ext/mathematical/lasem/po/LINGUAS +5 -0
  10. data/ext/mathematical/lasem/po/da.po +99 -0
  11. data/ext/mathematical/lasem/po/es.po +38 -18
  12. data/ext/mathematical/lasem/po/eu.po +66 -30
  13. data/ext/mathematical/lasem/po/fur.po +101 -0
  14. data/ext/mathematical/lasem/po/it.po +68 -28
  15. data/ext/mathematical/lasem/po/lv.po +72 -29
  16. data/ext/mathematical/lasem/po/nl.po +102 -0
  17. data/ext/mathematical/lasem/po/ro.po +64 -0
  18. data/ext/mathematical/lasem/po/sl.po +53 -18
  19. data/ext/mathematical/lasem/po/tr.po +68 -28
  20. data/ext/mathematical/lasem/po/zh_CN.po +71 -34
  21. data/ext/mathematical/lasem/src/lasemrender.c +4 -4
  22. data/ext/mathematical/lasem/src/lsm.c +2 -2
  23. data/ext/mathematical/lasem/src/lsm.h +2 -2
  24. data/ext/mathematical/lasem/src/lsmattributes.c +2 -2
  25. data/ext/mathematical/lasem/src/lsmattributes.h +2 -2
  26. data/ext/mathematical/lasem/src/lsmcairo.c +3 -3
  27. data/ext/mathematical/lasem/src/lsmcairo.h +2 -2
  28. data/ext/mathematical/lasem/src/lsmdebug.c +2 -2
  29. data/ext/mathematical/lasem/src/lsmdebug.h +2 -2
  30. data/ext/mathematical/lasem/src/lsmdom.h +2 -2
  31. data/ext/mathematical/lasem/src/lsmdomcharacterdata.c +2 -2
  32. data/ext/mathematical/lasem/src/lsmdomcharacterdata.h +2 -2
  33. data/ext/mathematical/lasem/src/lsmdomdocument.c +2 -2
  34. data/ext/mathematical/lasem/src/lsmdomdocument.h +2 -2
  35. data/ext/mathematical/lasem/src/lsmdomdocumentfragment.c +2 -2
  36. data/ext/mathematical/lasem/src/lsmdomdocumentfragment.h +2 -2
  37. data/ext/mathematical/lasem/src/lsmdomelement.c +2 -2
  38. data/ext/mathematical/lasem/src/lsmdomelement.h +2 -2
  39. data/ext/mathematical/lasem/src/lsmdomentities.c +2 -2
  40. data/ext/mathematical/lasem/src/lsmdomentities.h +2 -2
  41. data/ext/mathematical/lasem/src/lsmdomimplementation.c +2 -2
  42. data/ext/mathematical/lasem/src/lsmdomimplementation.h +2 -2
  43. data/ext/mathematical/lasem/src/lsmdomnamednodemap.c +2 -2
  44. data/ext/mathematical/lasem/src/lsmdomnamednodemap.h +2 -2
  45. data/ext/mathematical/lasem/src/lsmdomnode.c +2 -2
  46. data/ext/mathematical/lasem/src/lsmdomnode.h +2 -2
  47. data/ext/mathematical/lasem/src/lsmdomnodelist.c +2 -2
  48. data/ext/mathematical/lasem/src/lsmdomnodelist.h +2 -2
  49. data/ext/mathematical/lasem/src/lsmdomparser.c +9 -9
  50. data/ext/mathematical/lasem/src/lsmdomparser.h +5 -5
  51. data/ext/mathematical/lasem/src/lsmdomtext.c +2 -2
  52. data/ext/mathematical/lasem/src/lsmdomtext.h +2 -2
  53. data/ext/mathematical/lasem/src/lsmdomtypes.h +2 -2
  54. data/ext/mathematical/lasem/src/lsmdomview.c +8 -8
  55. data/ext/mathematical/lasem/src/lsmdomview.h +2 -2
  56. data/ext/mathematical/lasem/src/lsmitex.c +2 -2
  57. data/ext/mathematical/lasem/src/lsmitex.h +2 -2
  58. data/ext/mathematical/lasem/src/lsmmathml.h +2 -2
  59. data/ext/mathematical/lasem/src/lsmmathmlactionelement.c +2 -2
  60. data/ext/mathematical/lasem/src/lsmmathmlactionelement.h +2 -2
  61. data/ext/mathematical/lasem/src/lsmmathmlaligngroupelement.c +2 -2
  62. data/ext/mathematical/lasem/src/lsmmathmlaligngroupelement.h +2 -2
  63. data/ext/mathematical/lasem/src/lsmmathmlalignmarkelement.c +2 -2
  64. data/ext/mathematical/lasem/src/lsmmathmlalignmarkelement.h +2 -2
  65. data/ext/mathematical/lasem/src/lsmmathmlattributes.c +2 -2
  66. data/ext/mathematical/lasem/src/lsmmathmlattributes.h +2 -2
  67. data/ext/mathematical/lasem/src/lsmmathmldocument.c +3 -3
  68. data/ext/mathematical/lasem/src/lsmmathmldocument.h +2 -2
  69. data/ext/mathematical/lasem/src/lsmmathmlelement.c +2 -2
  70. data/ext/mathematical/lasem/src/lsmmathmlelement.h +2 -2
  71. data/ext/mathematical/lasem/src/lsmmathmlencloseelement.c +2 -2
  72. data/ext/mathematical/lasem/src/lsmmathmlencloseelement.h +2 -2
  73. data/ext/mathematical/lasem/src/lsmmathmlenums.c +6 -2
  74. data/ext/mathematical/lasem/src/lsmmathmlenums.h +2 -2
  75. data/ext/mathematical/lasem/src/lsmmathmlerrorelement.c +2 -2
  76. data/ext/mathematical/lasem/src/lsmmathmlerrorelement.h +2 -2
  77. data/ext/mathematical/lasem/src/lsmmathmlfencedelement.c +2 -2
  78. data/ext/mathematical/lasem/src/lsmmathmlfencedelement.h +2 -2
  79. data/ext/mathematical/lasem/src/lsmmathmlfractionelement.c +2 -2
  80. data/ext/mathematical/lasem/src/lsmmathmlfractionelement.h +2 -2
  81. data/ext/mathematical/lasem/src/lsmmathmlglyphtableams.c +2 -2
  82. data/ext/mathematical/lasem/src/lsmmathmlglyphtableams.h +2 -2
  83. data/ext/mathematical/lasem/src/lsmmathmlitexelement.c +2 -2
  84. data/ext/mathematical/lasem/src/lsmmathmlitexelement.h +2 -2
  85. data/ext/mathematical/lasem/src/lsmmathmllayoututils.c +2 -2
  86. data/ext/mathematical/lasem/src/lsmmathmllayoututils.h +2 -2
  87. data/ext/mathematical/lasem/src/lsmmathmlmathelement.c +2 -2
  88. data/ext/mathematical/lasem/src/lsmmathmlmathelement.h +2 -2
  89. data/ext/mathematical/lasem/src/lsmmathmloperatordictionary.c +2 -2
  90. data/ext/mathematical/lasem/src/lsmmathmloperatordictionary.h +2 -2
  91. data/ext/mathematical/lasem/src/lsmmathmloperatorelement.c +2 -2
  92. data/ext/mathematical/lasem/src/lsmmathmloperatorelement.h +2 -2
  93. data/ext/mathematical/lasem/src/lsmmathmlpaddedelement.c +2 -2
  94. data/ext/mathematical/lasem/src/lsmmathmlpaddedelement.h +2 -2
  95. data/ext/mathematical/lasem/src/lsmmathmlphantomelement.c +2 -2
  96. data/ext/mathematical/lasem/src/lsmmathmlphantomelement.h +2 -2
  97. data/ext/mathematical/lasem/src/lsmmathmlpresentationcontainer.c +2 -2
  98. data/ext/mathematical/lasem/src/lsmmathmlpresentationcontainer.h +2 -2
  99. data/ext/mathematical/lasem/src/lsmmathmlpresentationtoken.c +2 -2
  100. data/ext/mathematical/lasem/src/lsmmathmlpresentationtoken.h +2 -2
  101. data/ext/mathematical/lasem/src/lsmmathmlradicalelement.c +2 -2
  102. data/ext/mathematical/lasem/src/lsmmathmlradicalelement.h +2 -2
  103. data/ext/mathematical/lasem/src/lsmmathmlrowelement.c +2 -2
  104. data/ext/mathematical/lasem/src/lsmmathmlrowelement.h +2 -2
  105. data/ext/mathematical/lasem/src/lsmmathmlscriptelement.c +2 -2
  106. data/ext/mathematical/lasem/src/lsmmathmlscriptelement.h +2 -2
  107. data/ext/mathematical/lasem/src/lsmmathmlsemanticselement.c +2 -2
  108. data/ext/mathematical/lasem/src/lsmmathmlsemanticselement.h +2 -2
  109. data/ext/mathematical/lasem/src/lsmmathmlspaceelement.c +2 -2
  110. data/ext/mathematical/lasem/src/lsmmathmlspaceelement.h +2 -2
  111. data/ext/mathematical/lasem/src/lsmmathmlstringelement.c +2 -2
  112. data/ext/mathematical/lasem/src/lsmmathmlstringelement.h +2 -2
  113. data/ext/mathematical/lasem/src/lsmmathmlstyle.c +2 -2
  114. data/ext/mathematical/lasem/src/lsmmathmlstyle.h +2 -2
  115. data/ext/mathematical/lasem/src/lsmmathmlstyleelement.c +2 -2
  116. data/ext/mathematical/lasem/src/lsmmathmlstyleelement.h +2 -2
  117. data/ext/mathematical/lasem/src/lsmmathmltablecellelement.c +2 -2
  118. data/ext/mathematical/lasem/src/lsmmathmltablecellelement.h +2 -2
  119. data/ext/mathematical/lasem/src/lsmmathmltableelement.c +2 -2
  120. data/ext/mathematical/lasem/src/lsmmathmltableelement.h +2 -2
  121. data/ext/mathematical/lasem/src/lsmmathmltablerowelement.c +2 -2
  122. data/ext/mathematical/lasem/src/lsmmathmltablerowelement.h +2 -2
  123. data/ext/mathematical/lasem/src/lsmmathmltraits.c +2 -2
  124. data/ext/mathematical/lasem/src/lsmmathmltraits.h +2 -2
  125. data/ext/mathematical/lasem/src/lsmmathmltypes.h +2 -2
  126. data/ext/mathematical/lasem/src/lsmmathmlunderoverelement.c +2 -2
  127. data/ext/mathematical/lasem/src/lsmmathmlunderoverelement.h +2 -2
  128. data/ext/mathematical/lasem/src/lsmmathmlutils.c +2 -2
  129. data/ext/mathematical/lasem/src/lsmmathmlutils.h +2 -2
  130. data/ext/mathematical/lasem/src/lsmmathmlview.c +2 -2
  131. data/ext/mathematical/lasem/src/lsmmathmlview.h +2 -2
  132. data/ext/mathematical/lasem/src/lsmproperties.c +2 -2
  133. data/ext/mathematical/lasem/src/lsmproperties.h +2 -2
  134. data/ext/mathematical/lasem/src/lsmstr.c +2 -2
  135. data/ext/mathematical/lasem/src/lsmstr.h +2 -2
  136. data/ext/mathematical/lasem/src/lsmsvg.h +2 -2
  137. data/ext/mathematical/lasem/src/lsmsvgaelement.c +2 -2
  138. data/ext/mathematical/lasem/src/lsmsvgaelement.h +2 -2
  139. data/ext/mathematical/lasem/src/lsmsvgattributes.h +2 -2
  140. data/ext/mathematical/lasem/src/lsmsvgcircleelement.c +2 -2
  141. data/ext/mathematical/lasem/src/lsmsvgcircleelement.h +2 -2
  142. data/ext/mathematical/lasem/src/lsmsvgclippathelement.c +2 -2
  143. data/ext/mathematical/lasem/src/lsmsvgclippathelement.h +2 -2
  144. data/ext/mathematical/lasem/src/lsmsvgcolors.c +2 -2
  145. data/ext/mathematical/lasem/src/lsmsvgcolors.h +2 -2
  146. data/ext/mathematical/lasem/src/lsmsvgdefselement.c +2 -2
  147. data/ext/mathematical/lasem/src/lsmsvgdefselement.h +2 -2
  148. data/ext/mathematical/lasem/src/lsmsvgdocument.c +2 -2
  149. data/ext/mathematical/lasem/src/lsmsvgdocument.h +2 -2
  150. data/ext/mathematical/lasem/src/lsmsvgelement.c +2 -2
  151. data/ext/mathematical/lasem/src/lsmsvgelement.h +2 -3
  152. data/ext/mathematical/lasem/src/lsmsvgellipseelement.c +2 -2
  153. data/ext/mathematical/lasem/src/lsmsvgellipseelement.h +2 -2
  154. data/ext/mathematical/lasem/src/lsmsvgenums.c +2 -2
  155. data/ext/mathematical/lasem/src/lsmsvgenums.h +2 -2
  156. data/ext/mathematical/lasem/src/lsmsvgfilterblend.c +2 -2
  157. data/ext/mathematical/lasem/src/lsmsvgfilterblend.h +2 -2
  158. data/ext/mathematical/lasem/src/lsmsvgfiltercolormatrix.c +2 -2
  159. data/ext/mathematical/lasem/src/lsmsvgfiltercolormatrix.h +2 -2
  160. data/ext/mathematical/lasem/src/lsmsvgfiltercomposite.c +2 -2
  161. data/ext/mathematical/lasem/src/lsmsvgfiltercomposite.h +2 -2
  162. data/ext/mathematical/lasem/src/lsmsvgfilterconvolvematrix.c +2 -2
  163. data/ext/mathematical/lasem/src/lsmsvgfilterconvolvematrix.h +2 -2
  164. data/ext/mathematical/lasem/src/lsmsvgfilterdisplacementmap.c +2 -2
  165. data/ext/mathematical/lasem/src/lsmsvgfilterdisplacementmap.h +2 -2
  166. data/ext/mathematical/lasem/src/lsmsvgfilterelement.c +2 -2
  167. data/ext/mathematical/lasem/src/lsmsvgfilterelement.h +2 -2
  168. data/ext/mathematical/lasem/src/lsmsvgfilterflood.c +2 -2
  169. data/ext/mathematical/lasem/src/lsmsvgfilterflood.h +2 -2
  170. data/ext/mathematical/lasem/src/lsmsvgfiltergaussianblur.c +2 -2
  171. data/ext/mathematical/lasem/src/lsmsvgfiltergaussianblur.h +2 -2
  172. data/ext/mathematical/lasem/src/lsmsvgfilterimage.c +6 -4
  173. data/ext/mathematical/lasem/src/lsmsvgfilterimage.h +2 -2
  174. data/ext/mathematical/lasem/src/lsmsvgfiltermerge.c +2 -2
  175. data/ext/mathematical/lasem/src/lsmsvgfiltermerge.h +2 -2
  176. data/ext/mathematical/lasem/src/lsmsvgfiltermergenode.c +2 -2
  177. data/ext/mathematical/lasem/src/lsmsvgfiltermergenode.h +2 -2
  178. data/ext/mathematical/lasem/src/lsmsvgfiltermorphology.c +2 -2
  179. data/ext/mathematical/lasem/src/lsmsvgfiltermorphology.h +2 -2
  180. data/ext/mathematical/lasem/src/lsmsvgfilteroffset.c +2 -2
  181. data/ext/mathematical/lasem/src/lsmsvgfilteroffset.h +2 -2
  182. data/ext/mathematical/lasem/src/lsmsvgfilterprimitive.c +2 -2
  183. data/ext/mathematical/lasem/src/lsmsvgfilterprimitive.h +2 -2
  184. data/ext/mathematical/lasem/src/lsmsvgfilterspecularlighting.c +2 -2
  185. data/ext/mathematical/lasem/src/lsmsvgfilterspecularlighting.h +2 -2
  186. data/ext/mathematical/lasem/src/lsmsvgfiltersurface.c +2 -2
  187. data/ext/mathematical/lasem/src/lsmsvgfiltersurface.h +2 -2
  188. data/ext/mathematical/lasem/src/lsmsvgfiltertile.c +2 -2
  189. data/ext/mathematical/lasem/src/lsmsvgfiltertile.h +2 -2
  190. data/ext/mathematical/lasem/src/lsmsvgfilterturbulence.c +2 -2
  191. data/ext/mathematical/lasem/src/lsmsvgfilterturbulence.h +2 -2
  192. data/ext/mathematical/lasem/src/lsmsvggelement.c +2 -2
  193. data/ext/mathematical/lasem/src/lsmsvggelement.h +2 -2
  194. data/ext/mathematical/lasem/src/lsmsvggradientelement.c +2 -2
  195. data/ext/mathematical/lasem/src/lsmsvggradientelement.h +2 -2
  196. data/ext/mathematical/lasem/src/lsmsvgimageelement.c +2 -2
  197. data/ext/mathematical/lasem/src/lsmsvgimageelement.h +2 -2
  198. data/ext/mathematical/lasem/src/lsmsvglength.c +2 -2
  199. data/ext/mathematical/lasem/src/lsmsvglength.h +2 -2
  200. data/ext/mathematical/lasem/src/lsmsvglineargradientelement.c +2 -2
  201. data/ext/mathematical/lasem/src/lsmsvglineargradientelement.h +2 -2
  202. data/ext/mathematical/lasem/src/lsmsvglineelement.c +2 -2
  203. data/ext/mathematical/lasem/src/lsmsvglineelement.h +2 -2
  204. data/ext/mathematical/lasem/src/lsmsvgmarkerelement.c +2 -2
  205. data/ext/mathematical/lasem/src/lsmsvgmarkerelement.h +2 -2
  206. data/ext/mathematical/lasem/src/lsmsvgmaskelement.c +2 -2
  207. data/ext/mathematical/lasem/src/lsmsvgmaskelement.h +2 -2
  208. data/ext/mathematical/lasem/src/lsmsvgmatrix.c +2 -2
  209. data/ext/mathematical/lasem/src/lsmsvgmatrix.h +2 -2
  210. data/ext/mathematical/lasem/src/lsmsvgpathelement.c +2 -2
  211. data/ext/mathematical/lasem/src/lsmsvgpathelement.h +2 -2
  212. data/ext/mathematical/lasem/src/lsmsvgpatternelement.c +2 -2
  213. data/ext/mathematical/lasem/src/lsmsvgpatternelement.h +2 -2
  214. data/ext/mathematical/lasem/src/lsmsvgpolygonelement.c +2 -2
  215. data/ext/mathematical/lasem/src/lsmsvgpolygonelement.h +2 -2
  216. data/ext/mathematical/lasem/src/lsmsvgpolylineelement.c +2 -2
  217. data/ext/mathematical/lasem/src/lsmsvgpolylineelement.h +2 -2
  218. data/ext/mathematical/lasem/src/lsmsvgradialgradientelement.c +2 -2
  219. data/ext/mathematical/lasem/src/lsmsvgradialgradientelement.h +2 -2
  220. data/ext/mathematical/lasem/src/lsmsvgrectelement.c +2 -2
  221. data/ext/mathematical/lasem/src/lsmsvgrectelement.h +2 -2
  222. data/ext/mathematical/lasem/src/lsmsvgstopelement.c +2 -2
  223. data/ext/mathematical/lasem/src/lsmsvgstopelement.h +2 -2
  224. data/ext/mathematical/lasem/src/lsmsvgstyle.c +2 -2
  225. data/ext/mathematical/lasem/src/lsmsvgstyle.h +2 -2
  226. data/ext/mathematical/lasem/src/lsmsvgsvgelement.c +2 -2
  227. data/ext/mathematical/lasem/src/lsmsvgsvgelement.h +2 -2
  228. data/ext/mathematical/lasem/src/lsmsvgswitchelement.c +2 -2
  229. data/ext/mathematical/lasem/src/lsmsvgswitchelement.h +2 -2
  230. data/ext/mathematical/lasem/src/lsmsvgsymbolelement.c +2 -2
  231. data/ext/mathematical/lasem/src/lsmsvgsymbolelement.h +2 -2
  232. data/ext/mathematical/lasem/src/lsmsvgtextelement.c +2 -2
  233. data/ext/mathematical/lasem/src/lsmsvgtextelement.h +2 -2
  234. data/ext/mathematical/lasem/src/lsmsvgtraits.c +2 -2
  235. data/ext/mathematical/lasem/src/lsmsvgtraits.h +2 -2
  236. data/ext/mathematical/lasem/src/lsmsvgtransformable.c +2 -2
  237. data/ext/mathematical/lasem/src/lsmsvgtransformable.h +2 -2
  238. data/ext/mathematical/lasem/src/lsmsvgtspanelement.c +2 -2
  239. data/ext/mathematical/lasem/src/lsmsvgtspanelement.h +2 -2
  240. data/ext/mathematical/lasem/src/lsmsvgtypes.h +2 -2
  241. data/ext/mathematical/lasem/src/lsmsvguseelement.c +2 -2
  242. data/ext/mathematical/lasem/src/lsmsvguseelement.h +2 -2
  243. data/ext/mathematical/lasem/src/lsmsvgview.c +2 -2
  244. data/ext/mathematical/lasem/src/lsmsvgview.h +2 -2
  245. data/ext/mathematical/lasem/src/lsmtraits.c +2 -2
  246. data/ext/mathematical/lasem/src/lsmtraits.h +2 -2
  247. data/ext/mathematical/lasem/src/lsmtypes.h +2 -2
  248. data/ext/mathematical/lasem/src/lsmutils.c +2 -2
  249. data/ext/mathematical/lasem/src/lsmutils.h +2 -2
  250. data/ext/mathematical/lasem/tests/lsmtest.c +1 -3
  251. data/ext/mathematical/lasem/tests/suite.c +1 -2
  252. data/ext/mathematical/lasem_overrides.c +3 -0
  253. data/ext/mathematical/lib/liblasem.dylib +0 -0
  254. data/ext/mathematical/lib/libmtex2MML.a +0 -0
  255. data/ext/mathematical/mathematical.h +1 -0
  256. data/ext/mathematical/mtex2MML/CMakeLists.txt +6 -1
  257. data/ext/mathematical/mtex2MML/README.md +1 -1
  258. data/ext/mathematical/mtex2MML/build/CMakeCache.txt +102 -82
  259. data/ext/mathematical/mtex2MML/build/CMakeFiles/{3.8.0 → 3.16.2}/CMakeCCompiler.cmake +15 -7
  260. data/ext/mathematical/mtex2MML/build/CMakeFiles/{3.8.0 → 3.16.2}/CMakeCXXCompiler.cmake +27 -9
  261. data/ext/mathematical/mtex2MML/build/CMakeFiles/3.16.2/CMakeDetermineCompilerABI_C.bin +0 -0
  262. data/ext/mathematical/mtex2MML/build/CMakeFiles/3.16.2/CMakeDetermineCompilerABI_CXX.bin +0 -0
  263. data/ext/mathematical/mtex2MML/build/CMakeFiles/{3.7.2 → 3.16.2}/CMakeSystem.cmake +4 -4
  264. data/ext/mathematical/mtex2MML/build/CMakeFiles/{3.8.0 → 3.16.2}/CompilerIdC/CMakeCCompilerId.c +141 -37
  265. data/ext/mathematical/mtex2MML/build/CMakeFiles/{3.8.0 → 3.16.2}/CompilerIdCXX/CMakeCXXCompilerId.cpp +159 -38
  266. data/ext/mathematical/mtex2MML/build/CMakeFiles/CMakeDirectoryInformation.cmake +3 -3
  267. data/ext/mathematical/mtex2MML/build/CMakeFiles/CMakeError.log +22 -0
  268. data/ext/mathematical/mtex2MML/build/CMakeFiles/CMakeOutput.log +258 -943
  269. data/ext/mathematical/mtex2MML/build/CMakeFiles/CMakeRuleHashes.txt +33 -33
  270. data/ext/mathematical/mtex2MML/build/CMakeFiles/Continuous.dir/build.make +7 -7
  271. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousBuild.dir/build.make +7 -7
  272. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousConfigure.dir/build.make +7 -7
  273. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousCoverage.dir/build.make +7 -7
  274. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousMemCheck.dir/build.make +7 -7
  275. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousStart.dir/build.make +7 -7
  276. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousSubmit.dir/build.make +7 -7
  277. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousTest.dir/build.make +7 -7
  278. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousUpdate.dir/build.make +7 -7
  279. data/ext/mathematical/mtex2MML/build/CMakeFiles/Experimental.dir/build.make +7 -7
  280. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalBuild.dir/build.make +7 -7
  281. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalConfigure.dir/build.make +7 -7
  282. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalCoverage.dir/build.make +7 -7
  283. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalMemCheck.dir/build.make +7 -7
  284. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalStart.dir/build.make +7 -7
  285. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalSubmit.dir/build.make +7 -7
  286. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalTest.dir/build.make +7 -7
  287. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalUpdate.dir/build.make +7 -7
  288. data/ext/mathematical/mtex2MML/build/CMakeFiles/Makefile.cmake +113 -109
  289. data/ext/mathematical/mtex2MML/build/CMakeFiles/Makefile2 +162 -308
  290. data/ext/mathematical/mtex2MML/build/CMakeFiles/Nightly.dir/build.make +7 -7
  291. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyBuild.dir/build.make +7 -7
  292. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyConfigure.dir/build.make +7 -7
  293. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyCoverage.dir/build.make +7 -7
  294. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyMemCheck.dir/build.make +7 -7
  295. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyMemoryCheck.dir/build.make +7 -7
  296. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyStart.dir/build.make +7 -7
  297. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlySubmit.dir/build.make +7 -7
  298. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyTest.dir/build.make +7 -7
  299. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyUpdate.dir/build.make +7 -7
  300. data/ext/mathematical/mtex2MML/build/CMakeFiles/TargetDirectories.txt +41 -41
  301. data/ext/mathematical/mtex2MML/build/CMakeFiles/format.dir/build.make +7 -7
  302. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML.dir/DependInfo.cmake +11 -10
  303. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML.dir/build.make +39 -126
  304. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML.dir/cmake_clean.cmake +6 -6
  305. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML.dir/flags.make +5 -5
  306. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML.dir/link.txt +1 -1
  307. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/C.includecache +42 -42
  308. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/DependInfo.cmake +9 -9
  309. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/build.make +39 -126
  310. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/cmake_clean.cmake +6 -6
  311. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/depend.internal +25 -25
  312. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/depend.make +1 -1
  313. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/flags.make +5 -5
  314. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/link.txt +2 -2
  315. data/ext/mathematical/mtex2MML/build/CMakeFiles/memcheck.dir/build.make +6 -6
  316. data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML.dir/DependInfo.cmake +10 -10
  317. data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML.dir/build.make +43 -142
  318. data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML.dir/cmake_clean.cmake +7 -7
  319. data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML.dir/flags.make +5 -5
  320. data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML.dir/link.txt +1 -1
  321. data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML_clar.dir/DependInfo.cmake +26 -26
  322. data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML_clar.dir/build.make +113 -404
  323. data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML_clar.dir/cmake_clean.cmake +11 -11
  324. data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML_clar.dir/flags.make +5 -5
  325. data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML_clar.dir/link.txt +1 -1
  326. data/ext/mathematical/mtex2MML/build/CTestTestfile.cmake +3 -2
  327. data/ext/mathematical/mtex2MML/build/DartConfiguration.tcl +12 -19
  328. data/ext/mathematical/mtex2MML/build/Makefile +18 -18
  329. data/ext/mathematical/mtex2MML/build/cmake_install.cmake +63 -4
  330. data/ext/mathematical/mtex2MML/build/lexer.c +4104 -4048
  331. data/ext/mathematical/mtex2MML/build/libmtex2MML.a +0 -0
  332. data/ext/mathematical/mtex2MML/build/libmtex2MML.pc +1 -1
  333. data/ext/mathematical/mtex2MML/build/mtex2mml_export.h +1 -1
  334. data/ext/mathematical/mtex2MML/build/parser.c +3137 -3123
  335. data/ext/mathematical/mtex2MML/build/parser.h +32 -32
  336. data/ext/mathematical/mtex2MML/build/parser.output +13641 -12859
  337. data/ext/mathematical/mtex2MML/script/bootstrap +21 -6
  338. data/ext/mathematical/mtex2MML/script/cibuild +4 -3
  339. data/ext/mathematical/mtex2MML/src/lexer.l +6 -3
  340. data/ext/mathematical/mtex2MML/src/libmtex2MML.pc.in +1 -1
  341. data/ext/mathematical/mtex2MML/src/parser.y +13 -1
  342. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/other/not-1.html +1 -1
  343. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/symbols/relations-1.html +1 -1
  344. data/ext/mathematical/mtex2MML/tests/fixtures/basic/filter.html +1 -1
  345. data/ext/mathematical/mtex2MML/tests/fixtures/basic/text_filter.html +1 -1
  346. data/ext/mathematical/mtex2MML/tests/fixtures/functions/prod_limits.html +1 -0
  347. data/ext/mathematical/mtex2MML/tests/fixtures/functions/prod_limits.txt +1 -0
  348. data/ext/mathematical/mtex2MML/tests/fixtures/performance/big_file.html +4 -4
  349. data/ext/mathematical/mtex2MML/tests/functions.c +9 -0
  350. data/ext/mathematical/mtex2MML/tests/mathjax.c +592 -592
  351. data/ext/mathematical/mtex2MML/tests/mathjax_generate.py +1 -1
  352. data/lib/mathematical/version.rb +1 -1
  353. data/mathematical.gemspec +3 -4
  354. data/test/mathematical/multiples_test.rb +1 -1
  355. data/test/mathematical/png_test.rb +3 -1
  356. data/test/test_helper.rb +5 -2
  357. metadata +58 -81
  358. data/ext/mathematical/FindPackageHandleStandardArgs.cmake +0 -58
  359. data/ext/mathematical/mtex2MML/build/CMakeFiles/3.7.2/CMakeCCompiler.cmake +0 -68
  360. data/ext/mathematical/mtex2MML/build/CMakeFiles/3.7.2/CMakeCXXCompiler.cmake +0 -69
  361. data/ext/mathematical/mtex2MML/build/CMakeFiles/3.7.2/CMakeDetermineCompilerABI_C.bin +0 -0
  362. data/ext/mathematical/mtex2MML/build/CMakeFiles/3.7.2/CMakeDetermineCompilerABI_CXX.bin +0 -0
  363. data/ext/mathematical/mtex2MML/build/CMakeFiles/3.7.2/CompilerIdC/CMakeCCompilerId.c +0 -561
  364. data/ext/mathematical/mtex2MML/build/CMakeFiles/3.7.2/CompilerIdC/a.out +0 -0
  365. data/ext/mathematical/mtex2MML/build/CMakeFiles/3.7.2/CompilerIdCXX/CMakeCXXCompilerId.cpp +0 -533
  366. data/ext/mathematical/mtex2MML/build/CMakeFiles/3.7.2/CompilerIdCXX/a.out +0 -0
  367. data/ext/mathematical/mtex2MML/build/CMakeFiles/3.8.0/CMakeDetermineCompilerABI_C.bin +0 -0
  368. data/ext/mathematical/mtex2MML/build/CMakeFiles/3.8.0/CMakeDetermineCompilerABI_CXX.bin +0 -0
  369. data/ext/mathematical/mtex2MML/build/CMakeFiles/3.8.0/CMakeSystem.cmake +0 -15
  370. data/ext/mathematical/mtex2MML/build/CMakeFiles/3.8.0/CompilerIdC/a.out +0 -0
  371. data/ext/mathematical/mtex2MML/build/CMakeFiles/3.8.0/CompilerIdCXX/a.out +0 -0
  372. data/ext/mathematical/mtex2MML/build/CMakeFiles/feature_tests.bin +0 -0
  373. data/ext/mathematical/mtex2MML/build/CMakeFiles/feature_tests.c +0 -34
  374. data/ext/mathematical/mtex2MML/build/CMakeFiles/feature_tests.cxx +0 -405
@@ -1,7 +1,8 @@
1
- set(CMAKE_C_COMPILER "/Library/Developer/CommandLineTools/usr/bin/cc")
1
+ set(CMAKE_C_COMPILER "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc")
2
2
  set(CMAKE_C_COMPILER_ARG1 "")
3
3
  set(CMAKE_C_COMPILER_ID "AppleClang")
4
- set(CMAKE_C_COMPILER_VERSION "8.1.0.8020042")
4
+ set(CMAKE_C_COMPILER_VERSION "12.0.0.12000032")
5
+ set(CMAKE_C_COMPILER_VERSION_INTERNAL "")
5
6
  set(CMAKE_C_COMPILER_WRAPPER "")
6
7
  set(CMAKE_C_STANDARD_COMPUTED_DEFAULT "11")
7
8
  set(CMAKE_C_COMPILE_FEATURES "c_std_90;c_function_prototypes;c_std_99;c_restrict;c_variadic_macros;c_std_11;c_static_assert")
@@ -11,11 +12,17 @@ set(CMAKE_C11_COMPILE_FEATURES "c_std_11;c_static_assert")
11
12
 
12
13
  set(CMAKE_C_PLATFORM_ID "Darwin")
13
14
  set(CMAKE_C_SIMULATE_ID "")
15
+ set(CMAKE_C_COMPILER_FRONTEND_VARIANT "")
14
16
  set(CMAKE_C_SIMULATE_VERSION "")
15
17
 
16
- set(CMAKE_AR "/Library/Developer/CommandLineTools/usr/bin/ar")
17
- set(CMAKE_RANLIB "/Library/Developer/CommandLineTools/usr/bin/ranlib")
18
- set(CMAKE_LINKER "/Library/Developer/CommandLineTools/usr/bin/ld")
18
+
19
+
20
+ set(CMAKE_AR "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ar")
21
+ set(CMAKE_C_COMPILER_AR "")
22
+ set(CMAKE_RANLIB "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib")
23
+ set(CMAKE_C_COMPILER_RANLIB "")
24
+ set(CMAKE_LINKER "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld")
25
+ set(CMAKE_MT "")
19
26
  set(CMAKE_COMPILER_IS_GNUCC )
20
27
  set(CMAKE_C_COMPILER_LOADED 1)
21
28
  set(CMAKE_C_COMPILER_WORKS TRUE)
@@ -63,6 +70,7 @@ endif()
63
70
 
64
71
 
65
72
 
73
+ set(CMAKE_C_IMPLICIT_INCLUDE_DIRECTORIES "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/include;/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include;/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include")
66
74
  set(CMAKE_C_IMPLICIT_LINK_LIBRARIES "")
67
- set(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "/usr/lib;/usr/local/lib")
68
- set(CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "/Library/Frameworks;/System/Library/Frameworks")
75
+ set(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "/usr/local/opt/openssl/lib;/Users/gjtorikian/Development/mathematical/ext/mathematical/mtex2MML;/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/lib")
76
+ set(CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks")
@@ -1,22 +1,30 @@
1
- set(CMAKE_CXX_COMPILER "/Library/Developer/CommandLineTools/usr/bin/c++")
1
+ set(CMAKE_CXX_COMPILER "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++")
2
2
  set(CMAKE_CXX_COMPILER_ARG1 "")
3
3
  set(CMAKE_CXX_COMPILER_ID "AppleClang")
4
- set(CMAKE_CXX_COMPILER_VERSION "8.1.0.8020042")
4
+ set(CMAKE_CXX_COMPILER_VERSION "12.0.0.12000032")
5
+ set(CMAKE_CXX_COMPILER_VERSION_INTERNAL "")
5
6
  set(CMAKE_CXX_COMPILER_WRAPPER "")
6
7
  set(CMAKE_CXX_STANDARD_COMPUTED_DEFAULT "98")
7
- set(CMAKE_CXX_COMPILE_FEATURES "cxx_std_98;cxx_template_template_parameters;cxx_std_11;cxx_alias_templates;cxx_alignas;cxx_alignof;cxx_attributes;cxx_auto_type;cxx_constexpr;cxx_decltype;cxx_decltype_incomplete_return_types;cxx_default_function_template_args;cxx_defaulted_functions;cxx_defaulted_move_initializers;cxx_delegating_constructors;cxx_deleted_functions;cxx_enum_forward_declarations;cxx_explicit_conversions;cxx_extended_friend_declarations;cxx_extern_templates;cxx_final;cxx_func_identifier;cxx_generalized_initializers;cxx_inheriting_constructors;cxx_inline_namespaces;cxx_lambdas;cxx_local_type_template_args;cxx_long_long_type;cxx_noexcept;cxx_nonstatic_member_init;cxx_nullptr;cxx_override;cxx_range_for;cxx_raw_string_literals;cxx_reference_qualified_functions;cxx_right_angle_brackets;cxx_rvalue_references;cxx_sizeof_member;cxx_static_assert;cxx_strong_enums;cxx_thread_local;cxx_trailing_return_types;cxx_unicode_literals;cxx_uniform_initialization;cxx_unrestricted_unions;cxx_user_literals;cxx_variadic_macros;cxx_variadic_templates;cxx_std_14;cxx_aggregate_default_initializers;cxx_attribute_deprecated;cxx_binary_literals;cxx_contextual_conversions;cxx_decltype_auto;cxx_digit_separators;cxx_generic_lambdas;cxx_lambda_init_captures;cxx_relaxed_constexpr;cxx_return_type_deduction;cxx_variable_templates;cxx_std_17")
8
+ set(CMAKE_CXX_COMPILE_FEATURES "cxx_std_98;cxx_template_template_parameters;cxx_std_11;cxx_alias_templates;cxx_alignas;cxx_alignof;cxx_attributes;cxx_auto_type;cxx_constexpr;cxx_decltype;cxx_decltype_incomplete_return_types;cxx_default_function_template_args;cxx_defaulted_functions;cxx_defaulted_move_initializers;cxx_delegating_constructors;cxx_deleted_functions;cxx_enum_forward_declarations;cxx_explicit_conversions;cxx_extended_friend_declarations;cxx_extern_templates;cxx_final;cxx_func_identifier;cxx_generalized_initializers;cxx_inheriting_constructors;cxx_inline_namespaces;cxx_lambdas;cxx_local_type_template_args;cxx_long_long_type;cxx_noexcept;cxx_nonstatic_member_init;cxx_nullptr;cxx_override;cxx_range_for;cxx_raw_string_literals;cxx_reference_qualified_functions;cxx_right_angle_brackets;cxx_rvalue_references;cxx_sizeof_member;cxx_static_assert;cxx_strong_enums;cxx_thread_local;cxx_trailing_return_types;cxx_unicode_literals;cxx_uniform_initialization;cxx_unrestricted_unions;cxx_user_literals;cxx_variadic_macros;cxx_variadic_templates;cxx_std_14;cxx_aggregate_default_initializers;cxx_attribute_deprecated;cxx_binary_literals;cxx_contextual_conversions;cxx_decltype_auto;cxx_digit_separators;cxx_generic_lambdas;cxx_lambda_init_captures;cxx_relaxed_constexpr;cxx_return_type_deduction;cxx_variable_templates;cxx_std_17;cxx_std_20")
8
9
  set(CMAKE_CXX98_COMPILE_FEATURES "cxx_std_98;cxx_template_template_parameters")
9
10
  set(CMAKE_CXX11_COMPILE_FEATURES "cxx_std_11;cxx_alias_templates;cxx_alignas;cxx_alignof;cxx_attributes;cxx_auto_type;cxx_constexpr;cxx_decltype;cxx_decltype_incomplete_return_types;cxx_default_function_template_args;cxx_defaulted_functions;cxx_defaulted_move_initializers;cxx_delegating_constructors;cxx_deleted_functions;cxx_enum_forward_declarations;cxx_explicit_conversions;cxx_extended_friend_declarations;cxx_extern_templates;cxx_final;cxx_func_identifier;cxx_generalized_initializers;cxx_inheriting_constructors;cxx_inline_namespaces;cxx_lambdas;cxx_local_type_template_args;cxx_long_long_type;cxx_noexcept;cxx_nonstatic_member_init;cxx_nullptr;cxx_override;cxx_range_for;cxx_raw_string_literals;cxx_reference_qualified_functions;cxx_right_angle_brackets;cxx_rvalue_references;cxx_sizeof_member;cxx_static_assert;cxx_strong_enums;cxx_thread_local;cxx_trailing_return_types;cxx_unicode_literals;cxx_uniform_initialization;cxx_unrestricted_unions;cxx_user_literals;cxx_variadic_macros;cxx_variadic_templates")
10
11
  set(CMAKE_CXX14_COMPILE_FEATURES "cxx_std_14;cxx_aggregate_default_initializers;cxx_attribute_deprecated;cxx_binary_literals;cxx_contextual_conversions;cxx_decltype_auto;cxx_digit_separators;cxx_generic_lambdas;cxx_lambda_init_captures;cxx_relaxed_constexpr;cxx_return_type_deduction;cxx_variable_templates")
11
12
  set(CMAKE_CXX17_COMPILE_FEATURES "cxx_std_17")
13
+ set(CMAKE_CXX20_COMPILE_FEATURES "cxx_std_20")
12
14
 
13
15
  set(CMAKE_CXX_PLATFORM_ID "Darwin")
14
16
  set(CMAKE_CXX_SIMULATE_ID "")
17
+ set(CMAKE_CXX_COMPILER_FRONTEND_VARIANT "")
15
18
  set(CMAKE_CXX_SIMULATE_VERSION "")
16
19
 
17
- set(CMAKE_AR "/Library/Developer/CommandLineTools/usr/bin/ar")
18
- set(CMAKE_RANLIB "/Library/Developer/CommandLineTools/usr/bin/ranlib")
19
- set(CMAKE_LINKER "/Library/Developer/CommandLineTools/usr/bin/ld")
20
+
21
+
22
+ set(CMAKE_AR "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ar")
23
+ set(CMAKE_CXX_COMPILER_AR "")
24
+ set(CMAKE_RANLIB "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib")
25
+ set(CMAKE_CXX_COMPILER_RANLIB "")
26
+ set(CMAKE_LINKER "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld")
27
+ set(CMAKE_MT "")
20
28
  set(CMAKE_COMPILER_IS_GNUCXX )
21
29
  set(CMAKE_CXX_COMPILER_LOADED 1)
22
30
  set(CMAKE_CXX_COMPILER_WORKS TRUE)
@@ -34,8 +42,17 @@ if(CMAKE_COMPILER_IS_MINGW)
34
42
  set(MINGW 1)
35
43
  endif()
36
44
  set(CMAKE_CXX_COMPILER_ID_RUN 1)
45
+ set(CMAKE_CXX_SOURCE_FILE_EXTENSIONS C;M;c++;cc;cpp;cxx;m;mm;CPP)
37
46
  set(CMAKE_CXX_IGNORE_EXTENSIONS inl;h;hpp;HPP;H;o;O;obj;OBJ;def;DEF;rc;RC)
38
- set(CMAKE_CXX_SOURCE_FILE_EXTENSIONS C;M;c++;cc;cpp;cxx;mm;CPP)
47
+
48
+ foreach (lang C OBJC OBJCXX)
49
+ if (CMAKE_${lang}_COMPILER_ID_RUN)
50
+ foreach(extension IN LISTS CMAKE_${lang}_SOURCE_FILE_EXTENSIONS)
51
+ list(REMOVE_ITEM CMAKE_CXX_SOURCE_FILE_EXTENSIONS ${extension})
52
+ endforeach()
53
+ endif()
54
+ endforeach()
55
+
39
56
  set(CMAKE_CXX_LINKER_PREFERENCE 30)
40
57
  set(CMAKE_CXX_LINKER_PREFERENCE_PROPAGATES 1)
41
58
 
@@ -65,6 +82,7 @@ endif()
65
82
 
66
83
 
67
84
 
85
+ set(CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1;/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/include;/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include;/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include")
68
86
  set(CMAKE_CXX_IMPLICIT_LINK_LIBRARIES "c++")
69
- set(CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES "/usr/lib;/usr/local/lib")
70
- set(CMAKE_CXX_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "/Library/Frameworks;/System/Library/Frameworks")
87
+ set(CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES "/usr/local/opt/openssl/lib;/Users/gjtorikian/Development/mathematical/ext/mathematical/mtex2MML;/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/lib")
88
+ set(CMAKE_CXX_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks")
@@ -1,13 +1,13 @@
1
- set(CMAKE_HOST_SYSTEM "Darwin-16.4.0")
1
+ set(CMAKE_HOST_SYSTEM "Darwin-20.2.0")
2
2
  set(CMAKE_HOST_SYSTEM_NAME "Darwin")
3
- set(CMAKE_HOST_SYSTEM_VERSION "16.4.0")
3
+ set(CMAKE_HOST_SYSTEM_VERSION "20.2.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-20.2.0")
9
9
  set(CMAKE_SYSTEM_NAME "Darwin")
10
- set(CMAKE_SYSTEM_VERSION "16.4.0")
10
+ set(CMAKE_SYSTEM_VERSION "20.2.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__) || defined(__ICCV850__) || defined(__ICC8051__))
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,57 @@ 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
+ # elif defined(__ICCV850__)
511
+ # define ARCHITECTURE_ID "V850"
512
+
513
+ # elif defined(__ICC8051__)
514
+ # define ARCHITECTURE_ID "8051"
515
+
516
+ # else /* unknown architecture */
517
+ # define ARCHITECTURE_ID ""
518
+ # endif
519
+
520
+ #elif defined(__ghs__)
521
+ # if defined(__PPC64__)
522
+ # define ARCHITECTURE_ID "PPC64"
523
+
524
+ # elif defined(__ppc__)
525
+ # define ARCHITECTURE_ID "PPC"
526
+
527
+ # elif defined(__ARM__)
528
+ # define ARCHITECTURE_ID "ARM"
529
+
530
+ # elif defined(__x86_64__)
531
+ # define ARCHITECTURE_ID "x64"
532
+
533
+ # elif defined(__i386__)
534
+ # define ARCHITECTURE_ID "X86"
535
+
536
+ # else /* unknown architecture */
537
+ # define ARCHITECTURE_ID ""
538
+ # endif
448
539
  #else
449
540
  # define ARCHITECTURE_ID
450
541
  #endif
@@ -489,6 +580,15 @@ char const info_version[] = {
489
580
  ']','\0'};
490
581
  #endif
491
582
 
583
+ /* Construct a string literal encoding the internal version number. */
584
+ #ifdef COMPILER_VERSION_INTERNAL
585
+ char const info_version_internal[] = {
586
+ 'I', 'N', 'F', 'O', ':',
587
+ 'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','_',
588
+ 'i','n','t','e','r','n','a','l','[',
589
+ COMPILER_VERSION_INTERNAL,']','\0'};
590
+ #endif
591
+
492
592
  /* Construct a string literal encoding the version number components. */
493
593
  #ifdef SIMULATE_VERSION_MAJOR
494
594
  char const info_simulate_version[] = {
@@ -518,7 +618,8 @@ char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]";
518
618
 
519
619
 
520
620
  #if !defined(__STDC__)
521
- # if defined(_MSC_VER) && !defined(__clang__)
621
+ # if (defined(_MSC_VER) && !defined(__clang__)) \
622
+ || (defined(__ibmxl__) || defined(__IBMC__))
522
623
  # define C_DIALECT "90"
523
624
  # else
524
625
  # define C_DIALECT
@@ -551,6 +652,9 @@ int main(int argc, char* argv[])
551
652
  #ifdef COMPILER_VERSION_MAJOR
552
653
  require += info_version[argc];
553
654
  #endif
655
+ #ifdef COMPILER_VERSION_INTERNAL
656
+ require += info_version_internal[argc];
657
+ #endif
554
658
  #ifdef SIMULATE_ID
555
659
  require += info_simulate[argc];
556
660
  #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__) || defined(__ICCV850__) || defined(__ICC8051__))
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,57 @@ 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
+ # elif defined(__ICCV850__)
496
+ # define ARCHITECTURE_ID "V850"
497
+
498
+ # elif defined(__ICC8051__)
499
+ # define ARCHITECTURE_ID "8051"
500
+
501
+ # else /* unknown architecture */
502
+ # define ARCHITECTURE_ID ""
503
+ # endif
504
+
505
+ #elif defined(__ghs__)
506
+ # if defined(__PPC64__)
507
+ # define ARCHITECTURE_ID "PPC64"
508
+
509
+ # elif defined(__ppc__)
510
+ # define ARCHITECTURE_ID "PPC"
511
+
512
+ # elif defined(__ARM__)
513
+ # define ARCHITECTURE_ID "ARM"
514
+
515
+ # elif defined(__x86_64__)
516
+ # define ARCHITECTURE_ID "x64"
517
+
518
+ # elif defined(__i386__)
519
+ # define ARCHITECTURE_ID "X86"
520
+
521
+ # else /* unknown architecture */
522
+ # define ARCHITECTURE_ID ""
523
+ # endif
433
524
  #else
434
525
  # define ARCHITECTURE_ID
435
526
  #endif
@@ -474,6 +565,15 @@ char const info_version[] = {
474
565
  ']','\0'};
475
566
  #endif
476
567
 
568
+ /* Construct a string literal encoding the internal version number. */
569
+ #ifdef COMPILER_VERSION_INTERNAL
570
+ char const info_version_internal[] = {
571
+ 'I', 'N', 'F', 'O', ':',
572
+ 'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','_',
573
+ 'i','n','t','e','r','n','a','l','[',
574
+ COMPILER_VERSION_INTERNAL,']','\0'};
575
+ #endif
576
+
477
577
  /* Construct a string literal encoding the version number components. */
478
578
  #ifdef SIMULATE_VERSION_MAJOR
479
579
  char const info_simulate_version[] = {
@@ -502,12 +602,30 @@ char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]";
502
602
 
503
603
 
504
604
 
605
+ #if defined(__INTEL_COMPILER) && defined(_MSVC_LANG) && _MSVC_LANG < 201403L
606
+ # if defined(__INTEL_CXX11_MODE__)
607
+ # if defined(__cpp_aggregate_nsdmi)
608
+ # define CXX_STD 201402L
609
+ # else
610
+ # define CXX_STD 201103L
611
+ # endif
612
+ # else
613
+ # define CXX_STD 199711L
614
+ # endif
615
+ #elif defined(_MSC_VER) && defined(_MSVC_LANG)
616
+ # define CXX_STD _MSVC_LANG
617
+ #else
618
+ # define CXX_STD __cplusplus
619
+ #endif
620
+
505
621
  const char* info_language_dialect_default = "INFO" ":" "dialect_default["
506
- #if __cplusplus > 201402L
622
+ #if CXX_STD > 201703L
623
+ "20"
624
+ #elif CXX_STD >= 201703L
507
625
  "17"
508
- #elif __cplusplus >= 201402L
626
+ #elif CXX_STD >= 201402L
509
627
  "14"
510
- #elif __cplusplus >= 201103L
628
+ #elif CXX_STD >= 201103L
511
629
  "11"
512
630
  #else
513
631
  "98"
@@ -524,6 +642,9 @@ int main(int argc, char* argv[])
524
642
  #ifdef COMPILER_VERSION_MAJOR
525
643
  require += info_version[argc];
526
644
  #endif
645
+ #ifdef COMPILER_VERSION_INTERNAL
646
+ require += info_version_internal[argc];
647
+ #endif
527
648
  #ifdef SIMULATE_ID
528
649
  require += info_simulate[argc];
529
650
  #endif