Hi all,
I was following this thread [
http://comments.gmane.org/gmane.editors.lyx.general/85538] to find out how
to get rid of a pixelated view of lyx on my retina screen. It seems that
version 2.2.0 does get rid of it.
I checkout out the git repo, made a build directory, and tried to build
with cmake. I end up with the error below. Is the next() function a C++11
feature? Any ideas how to deal with this? thanks a lot.
Florian
[ 70%] Building CXX object src/CMakeFiles/LyX.dir/Compare.cpp.o
cd /Users/florian.oswald/git/lyx/build/src &&
/Library/Developer/CommandLineTools/usr/bin/c++
-DBOOST_SIGNALS_NO_DEPRECATION_WARNING=1 -Wall -Wunused-parameter
-fno-strict-aliasing -Wall -Wunused-parameter -fno-strict-aliasing -O0
-g3 -D_DEBUG -I/Users/florian.oswald/git/lyx/build
-I/Users/florian.oswald/git/lyx/src -I/Users/florian.oswald/git/lyx/boost
-I/Users/florian.oswald/git/lyx/build/src
-I/usr/local/Cellar/qt/4.8.7_1/include
-I/usr/local/Cellar/qt/4.8.7_1/lib/QtCore.framework/Headers
-I/usr/local/Cellar/qt/4.8.7_1/mkspecs/default
-I/usr/local/Cellar/qt/4.8.7_1/include/QtCore
-I/usr/local/Cellar/qt/4.8.7_1/include/QtGui
-I/usr/local/Cellar/qt/4.8.7_1/include/QtDesigner
-I/usr/local/Cellar/qt/4.8.7_1/include/QtNetwork
-I/usr/local/Cellar/qt/4.8.7_1/include/QtOpenGL
-I/usr/local/Cellar/qt/4.8.7_1/include/QtSql
-I/usr/local/Cellar/qt/4.8.7_1/include/QtXml
-I/usr/local/Cellar/qt/4.8.7_1/include/QtSvg
-I/usr/local/Cellar/qt/4.8.7_1/include/QtUiTools
-I/usr/local/Cellar/qt/4.8.7_1/include/QtTest
-DBOOST_USER_CONFIG="<config.h>" -F/usr/local/Cellar/qt/4.8.7_1/lib -o
CMakeFiles/LyX.dir/Compare.cpp.o -c
/Users/florian.oswald/git/lyx/src/Compare.cpp
*/Users/florian.oswald/git/lyx/src/Compare.cpp:425:25: **error: **call to
'next' is ambiguous*
ParagraphList tmp_pars(next(ps_.begin(), startpit),
* ^~~~*
*/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/iterator:519:1:
note: *candidate function
[with _ForwardIter = std::__1::__list_const_iterator<lyx::Paragraph,
void *>]
next(_ForwardIter __x,
*^*
*/Users/florian.oswald/git/lyx/src/support/lyxalgo.h:92:11: note: *candidate
function [with It =
std::__1::__list_const_iterator<lyx::Paragraph, void *>, Diff = long]
inline It next(It i, Diff n = 1)
* ^*
*/Users/florian.oswald/git/lyx/src/Compare.cpp:426:3: **error: **call to
'next' is ambiguous*
next(ps_.begin(), endpit + 1));
* ^~~~*
*/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/iterator:519:1:
note: *candidate function
[with _ForwardIter = std::__1::__list_const_iterator<lyx::Paragraph,
void *>]
next(_ForwardIter __x,
*^*
*/Users/florian.oswald/git/lyx/src/support/lyxalgo.h:92:11: note: *candidate
function [with It =
std::__1::__list_const_iterator<lyx::Paragraph, void *>, Diff = long]
inline It next(It i, Diff n = 1)
* ^*