I'm pretty sure it's the last possibility. Standard C does support dynamic array which C++ does not.
Regards, Elias On 8 April 2014 22:01, Juergen Sauermann <juergen.sauerm...@t-online.de>wrote: > Hi Alias, > > I have added your patch so the resolved issues should be fixed in SVN 194. > > The* gt_INTL_MACOSX*: issue should also be fixed, thanks to a hint from > Peter Teeson. > > For the other ./configure warning I would need to know which other header > files are needed > in order to compile on Solaris (and possibly the guard macros macros in > those header files). > > For the -rdynamic I have replaced it by -Wl,-E. Please let me know if that > works better. > > The test for dynamic arrays is in configure.ac line 98ff. In theory your > compiler could have > optimized away the dynamic array (unlikely). Another possibility is that > your C compiler supports > dynamic arrays and the C++ compiler does not. To avoid that I have added > AC_LANG to configure.ac. > > /// Jürgen > > > > On 04/08/2014 07:33 AM, Elias Mårtenson wrote: > > Here are the issues I faced when building r190 on Solaris: > > *Unresolved issues* > > These are issues that still need to be addressed: > > *Warning when running ./configure:* > > ... > checking if the linker (/usr/ccs/bin/ld) is GNU ld... no > checking for shared library run path origin... done > *./configure: line 16152: gt_INTL_MACOSX: command not foun**d* > checking for GNU gettext in libc... no > checking for iconv... yes > checking for working iconv... yes > ... > > > *Another warning in ./configure:* > > ... > checking term.h usability... no > checking term.h presence... yes > *configure: WARNING: term.h: present but cannot be compiled* > *configure: WARNING: term.h: check for missing prerequisite headers?* > *configure: WARNING: term.h: see the Autoconf documentation* > *configure: WARNING: term.h: section "Present But Cannot Be > Compiled"* > *configure: WARNING: term.h: proceeding with the compiler's result* > *configure: WARNING: ## ------------------------------ ##* > *configure: WARNING: ## Report this to bug-apl@gnu.org > <bug-apl@gnu.org> ##* > *configure: WARNING: ## ------------------------------ ##* > checking for term.h... no > checking execinfo.h usability... no > checking execinfo.h presence... no > ... > > > *Dynamic arrays detection doesn't seem to work* > > Is there any detection magic for dynamic arrays in configure? > HAVE_DYNAMIC_ARRAYS was set to 1 in config.h for me. > > If not, I could give it a try to write it for you. > > *The flag -rdynamic does not worn on Sun C++* > > This flag is GCC-specific. It can't be used on non-GCC compilers. > > > >