Version: unspecified (using Devel) OS: Solaris building kross-interpreters 4.6.90 with the Sun Studio12u1 compiler fails with the below error. This is because the variable length arrays are not part of the C++ standard and are not supported by this compiler. ... pkgbuild: "/home/test/packages/BUILD/kross-interpreters-4.6.90/java/krossjava/jvmvariant.h", line 125: Error: An integer constant expression is required within the array subscript operator. pkgbuild: "/home/test/packages/BUILD/kross-interpreters-4.6.90/java/krossjava/jvmvariant.h", line 135: Error: An integer constant expression is required within the array subscript operator. pkgbuild: 2 Error(s) detected. I do not have a patch ATM Reproducible: Always Steps to Reproduce: try to build it Expected Results: builds ok
Git commit 87916416852158b554d94d9f5ad86e513e892f7d by Pino Toscano. Committed on 26/07/2011 at 14:34. Pushed by pino into branch 'KDE/4.7'. use QVarLengthArray instead of C99's variable length arrays BUG: 277792 FIXED-IN: 4.7.1 M +4 -2 java/krossjava/jvminterpreter.cpp M +6 -5 java/krossjava/jvmvariant.h http://commits.kde.org/kross-interpreters/87916416852158b554d94d9f5ad86e513e892f7d