Hi I have just tried compiling editors/libreoffice but I get the following error message:
Thanks, Nedry
Code:
In file included from /usr/ports/editors/libreoffice/work/libreoffice-6.3.0.4/pyuno/source/module/pyuno_runtime.cxx:22:
In file included from /usr/ports/editors/libreoffice/work/libreoffice-6.3.0.4/pyuno/source/module/pyuno_impl.hxx:27:
In file included from /usr/local/include/python2.7/Python.h:88:
/usr/local/include/python2.7/unicodeobject.h:534:5: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
register PyObject *obj, /* Object */
^~~~~~~~~
/usr/local/include/python2.7/unicodeobject.h:553:5: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
register PyObject *obj /* Object */
^~~~~~~~~
/usr/local/include/python2.7/unicodeobject.h:575:5: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
register const wchar_t *w, /* wchar_t buffer */
^~~~~~~~~
/usr/local/include/python2.7/unicodeobject.h:593:5: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
register wchar_t *w, /* wchar_t buffer */
^~~~~~~~~
In file included from /usr/ports/editors/libreoffice/work/libreoffice-6.3.0.4/pyuno/source/module/pyuno_runtime.cxx:22:
In file included from /usr/ports/editors/libreoffice/work/libreoffice-6.3.0.4/pyuno/source/module/pyuno_impl.hxx:27:
In file included from /usr/local/include/python2.7/Python.h:97:
/usr/local/include/python2.7/stringobject.h:173:5: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
register PyObject *obj, /* string or Unicode object */
^~~~~~~~~
/usr/local/include/python2.7/stringobject.h:174:5: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
register char **s, /* pointer to buffer variable */
^~~~~~~~~
/usr/local/include/python2.7/stringobject.h:175:5: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
register Py_ssize_t *len /* pointer to length variable or NULL
^~~~~~~~~
7 errors generated.
gmake[3]: *** [/usr/ports/editors/libreoffice/work/libreoffice-6.3.0.4/solenv/gbuild/LinkTarget.mk:293: /usr/ports/editors/libreoffice/work/libreoffice-6.3.0.4/workdir/CxxObject/pyuno/source/module/pyuno_runtime.o] Error 1
rm /usr/ports/editors/libreoffice/work/libreoffice-6.3.0.4/workdir/CustomTarget/i18npool/breakiterator/sent.txt /usr/ports/editors/libreoffice/work/libreoffice-6.3.0.4/workdir/CustomTarget/i18npool/breakiterator/dict_word_he.brk /usr/ports/editors/libreoffice/work/libreoffice-6.3.0.4/workdir/CustomTarget/i18npool/breakiterator/line.brk /usr/ports/editors/libreoffice/work/libreoffice-6.3.0.4/workdir/CustomTarget/i18npool/breakiterator/dict_word.brk /usr/ports/editors/libreoffice/work/libreoffice-6.3.0.4/workdir/CustomTarget/i18npool/breakiterator/edit_word.brk /usr/ports/editors/libreoffice/work/libreoffice-6.3.0.4/workdir/CustomTarget/i18npool/breakiterator/dict_word_nodash.brk /usr/ports/editors/libreoffice/work/libreoffice-6.3.0.4/workdir/CustomTarget/i18npool/breakiterator/edit_word_hu.brk /usr/ports/editors/libreoffice/work/libreoffice-6.3.0.4/workdir/CustomTarget/i18npool/breakiterator/dict_word_hu.brk /usr/ports/editors/libreoffice/work/libreoffice-6.3.0.4/workdir/CustomTarget/i18npool/breakiterator/dict_word.txt /usr/ports/editors/libreoffice/work/libreoffice-6.3.0.4/workdir/CustomTarget/i18npool/breakiterator/edit_word_he.brk /usr/ports/editors/libreoffice/work/libreoffice-6.3.0.4/workdir/CustomTarget/i18npool/breakiterator/char_in.brk /usr/ports/editors/libreoffice/work/libreoffice-6.3.0.4/workdir/CustomTarget/i18npool/breakiterator/dict_word_prepostdash.txt /usr/ports/editors/libreoffice/work/libreoffice-6.3.0.4/workdir/CustomTarget/i18npool/breakiterator/line.txt /usr/ports/editors/libreoffice/work/libreoffice-6.3.0.4/workdir/CustomTarget/i18npool/breakiterator/sent.brk /usr/ports/editors/libreoffice/work/libreoffice-6.3.0.4/workdir/CustomTarget/i18npool/breakiterator/count_word.txt /usr/ports/editors/libreoffice/work/libreoffice-6.3.0.4/workdir/CustomTarget/i18npool/breakiterator/edit_word.txt /usr/ports/editors/libreoffice/work/libreoffice-6.3.0.4/workdir/CustomTarget/i18npool/breakiterator/dict_word_nodash.txt /usr/ports/editors/libreoffice/work/libreoffice-6.3.0.4/workdir/CustomTarget/i18npool/breakiterator/dict_word_hu.txt /usr/ports/editors/libreoffice/work/libreoffice-6.3.0.4/workdir/CustomTarget/i18npool/breakiterator/edit_word_he.txt /usr/ports/editors/libreoffice/work/libreoffice-6.3.0.4/workdir/CustomTarget/i18npool/breakiterator/edit_word_hu.txt /usr/ports/editors/libreoffice/work/libreoffice-6.3.0.4/workdir/CustomTarget/i18npool/breakiterator/char_in.txt /usr/ports/editors/libreoffice/work/libreoffice-6.3.0.4/workdir/CustomTarget/i18npool/breakiterator/count_word.brk /usr/ports/editors/libreoffice/work/libreoffice-6.3.0.4/workdir/CustomTarget/i18npool/breakiterator/dict_word_prepostdash.brk /usr/ports/editors/libreoffice/work/libreoffice-6.3.0.4/workdir/CustomTarget/i18npool/breakiterator/char.brk /usr/ports/editors/libreoffice/work/libreoffice-6.3.0.4/workdir/CustomTarget/i18npool/breakiterator/char.txt /usr/ports/editors/libreoffice/work/libreoffice-6.3.0.4/workdir/CustomTarget/i18npool/breakiterator/dict_word_he.txt
gmake[3]: Leaving directory '/usr/ports/editors/libreoffice/work/libreoffice-6.3.0.4'
gmake[2]: *** [Makefile:282: build] Error 2
gmake[2]: Leaving directory '/usr/ports/editors/libreoffice/work/libreoffice-6.3.0.4'
*** Error code 1
Stop.
make[1]: stopped in /usr/ports/editors/libreoffice
*** Error code 1
Stop.
make: stopped in /usr/ports/editors/libreoffice
root@bsd-dev:/usr/ports/editors/libreoffice #
Thanks, Nedry
Last edited by a moderator: