I am trying to make the port math/octave-forge-miscellaneous clang
compliant.  In the file ${WRKSRC}/partarray.cc is are lines like this:

  Array<octave_idx_type> bidc [maxdims], eidc [maxdims];
  ... stuff ...
          eidc[i] = eidx;

The compilation dies saying that eidc is not defined.  If I rewrite the
first line as

  Array<octave_idx_type> bidc [maxdims];
  Array<octave_idx_type> eidc [maxdims];

then it compiles just fine.

Is this a bug in the clang C++ compiler, or am I misunderstanding
something about C++?

Thanks, Stephen
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to