Re: master linking errors
Am Sonntag, 16. Oktober 2016 um 17:05:03, schrieb Jürgen Spitzmüller> Am Sonntag, den 16.10.2016, 16:55 +0200 schrieb Kornel Benko: > > OK. Have you enabled std:regex? > > Yes. > > > If yes, you could try to find > > bold 'foo' from the home position, while setting 'don't ignore > > format' in adv search settings? > > > > Expected: the first 'foo', but with std:regex the second 'foo' is > > selected. > > Correct. That's what I get. > > Jürgen > So we have 2 alternatives 1.) use boost:regex 2.) adapt the adv-find regexes to std:regex '2' is the correct way, but '1' is easy to realise. Kornel signature.asc Description: This is a digitally signed message part.
Re: master linking errors
Am Sonntag, den 16.10.2016, 16:55 +0200 schrieb Kornel Benko: > OK. Have you enabled std:regex? Yes. > If yes, you could try to find > bold 'foo' from the home position, while setting 'don't ignore > format' in adv search settings? > > Expected: the first 'foo', but with std:regex the second 'foo' is > selected. Correct. That's what I get. Jürgen > > Kornel signature.asc Description: This is a digitally signed message part
Re: master linking errors
Am Sonntag, 16. Oktober 2016 um 16:13:20, schrieb Jürgen Spitzmüller> Am Sonntag, den 16.10.2016, 15:02 +0200 schrieb Kornel Benko: > > It took ages to compile gcc6.2.0 ... > > The test with this compiler (+cmake and again without '-std=c++14') > > does compile and link everything. > > Could you give cmake a chance? > > I tried again with a clean build and now succeeded. The problem > probably was that make distclean is broken (as Richard already > reported), and I did not notice that on my first attempt. > > Sorry for the hassle. > > Jürgen > > > OK. Have you enabled std:regex? If yes, you could try to find bold 'foo' from the home position, while setting 'don't ignore format' in adv search settings? Expected: the first 'foo', but with std:regex the second 'foo' is selected. Kornel test.lyx Description: application/lyx signature.asc Description: This is a digitally signed message part.
Re: master linking errors
Am Sonntag, den 16.10.2016, 15:02 +0200 schrieb Kornel Benko: > It took ages to compile gcc6.2.0 ... > The test with this compiler (+cmake and again without '-std=c++14') > does compile and link everything. > Could you give cmake a chance? I tried again with a clean build and now succeeded. The problem probably was that make distclean is broken (as Richard already reported), and I did not notice that on my first attempt. Sorry for the hassle. Jürgen > > Kornel signature.asc Description: This is a digitally signed message part
Re: master linking errors
Am Sonntag, 16. Oktober 2016 um 13:13:38, schrieb Jürgen Spitzmüller> Am Sonntag, den 16.10.2016, 04:08 -0700 schrieb Kornel Benko: > > Am Sonntag, 16. Oktober 2016 um 12:46:28, schrieb Jürgen Spitzmüller > > > > > As of today (probably related to a system update), > > > > > > This means probably also c++-compiler update. > > Yes. > > > > > What about trying with a clean build tree? > > Did that. Error remains. > > Jürgen > It took ages to compile gcc6.2.0 ... The test with this compiler (+cmake and again without '-std=c++14') does compile and link everything. Could you give cmake a chance? Kornel signature.asc Description: This is a digitally signed message part.
Re: master linking errors
Le 16/10/2016 à 12:46, Jürgen Spitzmüller a écrit : As of today (probably related to a system update), master does not link any longer. I get: BiblioInfo.o: In function Less intimidating version (hand made) is: BiblioInfo.o: In function `lyx::BibTeXInfo::getValueForKey(string const&, lyx::Buffer const&, docstring const&, docstring const&, docstring const&, vector, unsigned long) const': /home/juergen/lyx/lyx-devel/src/BiblioInfo.cpp:765: undefined reference to `lyx::html::cleanAttr(docstring const&)' liblyxcore.a(Buffer.o): In function `lyx::Buffer::writeLaTeXSource(lyx::otexstream&, string const&, lyx::OutputParams const&, lyx::Buffer::OutputWhat) const': /home/juergen/lyx/lyx-devel/src/Buffer.cpp:1910: undefined reference to `lyx::latexParagraphs(lyx::Buffer const&, lyx::Text const&, lyx::otexstream&, lyx::OutputParams const&, string const&)' liblyxcore.a(Buffer.o): In function `lyx::Buffer::writeLyXHTMLSource(docstring&, lyx::OutputParams const&, lyx::Buffer::OutputWhat) const': Stable links successfully. It could be something related to C++14, but I do not know what. JMarc
Re: master linking errors
Am Sonntag, den 16.10.2016, 04:08 -0700 schrieb Kornel Benko: > Am Sonntag, 16. Oktober 2016 um 12:46:28, schrieb Jürgen Spitzmüller >> > As of today (probably related to a system update), > > > This means probably also c++-compiler update. Yes. > > What about trying with a clean build tree? Did that. Error remains. Jürgen > > > signature.asc Description: This is a digitally signed message part
Re: master linking errors
Am Sonntag, 16. Oktober 2016 um 12:46:28, schrieb Jürgen Spitzmüller> As of today (probably related to a system update), This means probably also c++-compiler update. What about trying with a clean build tree? > master does not link > any longer. I get: > > BiblioInfo.o: In function > `lyx::BibTeXInfo::getValueForKey(std::__cxx11::basic_string std::char_traits, std::allocator > const&, lyx::Buffer > const&, std::__cxx11::basic_string std::allocator > const&, std::__cxx11::basic_string std::char_traits, std::allocator > const&, > std::__cxx11::basic_string std::allocator > const&, std::__debug::vector const*, std::allocator >, unsigned long) > const': > /home/juergen/lyx/lyx-devel/src/BiblioInfo.cpp:765: undefined reference > to `lyx::html::cleanAttr(std::__cxx11::basic_string std::char_traits, std::allocator > const&)' > liblyxcore.a(Buffer.o): In function > `lyx::Buffer::writeLaTeXSource(lyx::otexstream&, > std::__cxx11::basic_string std::allocator > const&, lyx::OutputParams const&, > lyx::Buffer::OutputWhat) const': > /home/juergen/lyx/lyx-devel/src/Buffer.cpp:1910: undefined reference to > `lyx::latexParagraphs(lyx::Buffer const&, lyx::Text const&, > lyx::otexstream&, lyx::OutputParams const&, > std::__cxx11::basic_string std::allocator > const&)' > liblyxcore.a(Buffer.o): In function > `lyx::Buffer::writeLyXHTMLSource(std::basic_ostream std::char_traits >&, lyx::OutputParams const&, > lyx::Buffer::OutputWhat) const': > > etc. (a long list) > > Configuration > Host type: x86_64-unknown-linux-gnu > Special build flags: build=development std-regex warnin > gs assertions stdlib-debug use-aspell use-enchant use-hunspell > C++ Compiler:g++ (6) > C++ Compiler flags: -Wall -Wextra -fPIC -g -O -std=c++14 > C++ Compiler user flags: > Linker flags: > Linker user flags: > Qt Frontend: > Qt version:5.7.0 > Packaging: posix > LyX binary dir: /usr/local/bin > LyX files dir: /usr/local/share/lyx-dev > > > gcc version 6.2.1 20160830 [gcc-6-branch revision 239856] (SUSE Linux) > autoconf (GNU Autoconf) 2.69 > automake (GNU automake) 1.15 I am using gcc6.1.0, cmake. No problems, but disabled '-std=c++14' because of wrong handling of regular expressions in advanced search. > Stable links successfully. > > Ideas? > > Jürgen Kornel signature.asc Description: This is a digitally signed message part.
master linking errors
As of today (probably related to a system update), master does not link any longer. I get: BiblioInfo.o: In function `lyx::BibTeXInfo::getValueForKey(std::__cxx11::basic_stringconst&, lyx::Buffer const&, std::__cxx11::basic_string const&, std::__cxx11::basic_string const&, std::__cxx11::basic_string const&, std::__debug::vector >, unsigned long) const': /home/juergen/lyx/lyx-devel/src/BiblioInfo.cpp:765: undefined reference to `lyx::html::cleanAttr(std::__cxx11::basic_string const&)' liblyxcore.a(Buffer.o): In function `lyx::Buffer::writeLaTeXSource(lyx::otexstream&, std::__cxx11::basic_string const&, lyx::OutputParams const&, lyx::Buffer::OutputWhat) const': /home/juergen/lyx/lyx-devel/src/Buffer.cpp:1910: undefined reference to `lyx::latexParagraphs(lyx::Buffer const&, lyx::Text const&, lyx::otexstream&, lyx::OutputParams const&, std::__cxx11::basic_string const&)' liblyxcore.a(Buffer.o): In function `lyx::Buffer::writeLyXHTMLSource(std::basic_ostream &, lyx::OutputParams const&, lyx::Buffer::OutputWhat) const': etc. (a long list) Configuration Host type: x86_64-unknown-linux-gnu Special build flags: build=development std-regex warnin gs assertions stdlib-debug use-aspell use-enchant use-hunspell C++ Compiler:g++ (6) C++ Compiler flags: -Wall -Wextra -fPIC -g -O -std=c++14 C++ Compiler user flags: Linker flags: Linker user flags: Qt Frontend: Qt version: 5.7.0 Packaging: posix LyX binary dir: /usr/local/bin LyX files dir: /usr/local/share/lyx-dev gcc version 6.2.1 20160830 [gcc-6-branch revision 239856] (SUSE Linux) autoconf (GNU Autoconf) 2.69 automake (GNU automake) 1.15 Stable links successfully. Ideas? Jürgen signature.asc Description: This is a digitally signed message part