logo       

Bug#357866: FTBFS with G++ 4.1: unknown escape sequence '\.': msg#00291

voip.wengophone.devel

Subject: Bug#357866: FTBFS with G++ 4.1: unknown escape sequence '\.'

Package: wengophone
Version: 0.99+svn4511-1
Severity: important
Tags: patch

Your package fails to build with G++ 4.1. I'm filing this bug as
important for now, but when 4.1 will be the default compiler in
unstable (probably in a few weeks) I'll upgrade this to serious.

A patch is below.


> Automatic build of wengophone_0.99+svn4511-1 on bigsur by sbuild/mips 1.106
...
> g++ -Wall -DDEBUG= -DENABLE_VIDEO= -DPHAPI_VIDEO_SUPPORT=
> -DQT_THREAD_SUPPORT= -Ibuild-wengo/linux2-release-symbols/libs/systemperf
> -Ibuild-wengo/linux2-release-symbols/libs/systemperf/include -I/usr/include
> -I/usr/include -I/usr/include/qt3
> -Ibuild-wengo/linux2-release-symbols/libs/video
> -Ibuild-wengo/linux2-release-symbols/libs/webcam
> -Ibuild-wengo/linux2-release-symbols/libs/webcam/include
> -Ibuild-wengo/linux2-release-symbols/libs/webcam_c
> -Ibuild-wengo/linux2-release-symbols/libs/webcam_c/include
> -I/usr/include/ffmpeg -Ibuild-wengo/linux2-release-symbols/libs/global
> -Ibuild-wengo/linux2-release-symbols/libs/global/include
> -I/usr/include/ffmpeg -Ibuild-wengo/linux2-release-symbols/libs/sound
> -Ibuild-wengo/linux2-release-symbols/libs/sound/include
> -Ibuild-wengo/linux2-release-symbols/libs/portaudio
> -Ibuild-wengo/linux2-release-symbols/libs/portaudio/pa_common
> -Ibuild-wengo/linux2-release-symbols/libs/vcard
> -Ibuild-wengo/linux2-release-symbols/libs/vcard/include
> -Ibuild-wengo/linux2-release-symbols/libs/vcard/include/generated
> -Ibuild-wengo/linux2-release-symbols/wifo/exosip/phapi
> -Ibuild-wengo/linux2-release-symbols/wifo/exosip
> -Ibuild-wengo/linux2-release-symbols/libs/trayicon
> -Ibuild-wengo/linux2-release-symbols/libs/util
> -Ibuild-wengo/linux2-release-symbols/libs/util/include
> -Ibuild-wengo/linux2-release-symbols/libs/curl
> -Ibuild-wengo/linux2-release-symbols/libs/curl/include
> -Ibuild-wengo/linux2-release-symbols/libs/curl/lib
> -Ibuild-wengo/linux2-release-symbols/libs/iconset
> -Ibuild-wengo/linux2-release-symbols/libs/iconset/psipng
> -Ibuild-wengo/linux2-release-symbols/libs/zip
> -Ibuild-wengo/linux2-release-symbols/libs/timer
> -Ibuild-wengo/linux2-release-symbols/libs/timer/include
> -Ibuild-wengo/linux2-release-symbols/wifo/exosip
> -Ibuild-wengo/linux2-release-symbols/wifo/exosip/include
> -Ibuild-wengo/linux2-release-symbols/wifo/ortp
> -Ibuild-wengo/linux2-release-symbols/wifo/ortp/src
> -Ibuild-wengo/linux2-release-symbols/wifo/libosip2
> -Ibuild-wengo/linux2-release-symbols/wifo/libosip2/include
> -Ibuild-wengo/linux2-release-symbols/wifo/libosip2/include/osipparser2
> -Ibuild-wengo/linux2-release-symbols/wifo/libosip2/src/osipparser2
> -Ibuild-wengo/linux2-release-symbols/wifo/libosip2/src/osip2
> -Ibuild-wengo/linux2-release-symbols/wifo/exosip/phapi/amrwb
> -Ibuild-wengo/linux2-release-symbols/wifo/exosip/phapi/amrnb
> -Ibuild-wengo/linux2-release-symbols/wifo/exosip/phapi/ilbc
> -Ibuild-wengo/linux2-release-symbols/wifo/exosip/phapi/stun
> -Ibuild-wengo/linux2-release-symbols/wifo/exosip/phapi/gsm
> -Ibuild-wengo/linux2-release-symbols/libs/global
> -Ibuild-wengo/linux2-release-symbols/libs/global/include
> -Ibuild-wengo/linux2-release-symbols/libs/timer
> -Ibuild-wengo/linux2-release-symbols/libs/timer/include -I/usr/include/ffmpeg
> -Ibuild-wengo/linux2-release-symbols/libs/webcam_c
> -Ibuild-wengo/linux2-release-symbols/libs/webcam_c/include
> -Ibuild-wengo/linux2-release-symbols/libs/webcam
> -Ibuild-wengo/linux2-release-symbols/libs/webcam/include
> -Ibuild-wengo/linux2-release-symbols/libs/openssl
> -Ibuild-wengo/linux2-release-symbols/wifo/httptunnel
> -Ibuild-wengo/linux2-release-symbols/wifo/netlib
> -Ibuild-wengo/linux2-release-symbols/wifo
> -Ibuild-wengo/linux2-release-symbols/softphone/gui
> -Ibuild-wengo/linux2-release-symbols/softphone/gui/database
> -Ibuild-wengo/linux2-release-symbols/softphone/gui/contact
> -Ibuild-wengo/linux2-release-symbols/softphone/gui/connect -c -o
> build-wengo/linux2-release-symbols/softphone/gui/visio/VideoCodecConfigWidget.o
>
> build-wengo/linux2-release-symbols/softphone/gui/visio/VideoCodecConfigWidget.cpp
> build-wengo/linux2-release-symbols/softphone/gui/visio/VideoCodecConfigWidget.cpp:
> In constructor 'VideoCodecConfigWidget::VideoCodecConfigWidget(QWidget*,
> AudioCall&)':
> build-wengo/linux2-release-symbols/softphone/gui/visio/VideoCodecConfigWidget.cpp:55:
> error: unknown escape sequence '\.'
> build-wengo/linux2-release-symbols/softphone/gui/visio/VideoCodecConfigWidget.cpp:
> In member function 'void VideoCodecConfigWidget::updateConfig()':
> build-wengo/linux2-release-symbols/softphone/gui/visio/VideoCodecConfigWidget.cpp:97:
> warning: converting to 'int' from 'float'
> scons: ***
> [build-wengo/linux2-release-symbols/softphone/gui/visio/VideoCodecConfigWidget.o]
> Error 1
> scons: building terminated because of errors.
> make: *** [build/wengophone] Error 2

--- ./softphone/gui/visio/VideoCodecConfigWidget.cpp~ 2006-03-19
23:59:05.000000000 +0000
+++ ./softphone/gui/visio/VideoCodecConfigWidget.cpp 2006-03-19
23:59:17.000000000 +0000
@@ -52,7 +52,7 @@
connect(_parametersComboBox, SIGNAL(activated(const QString &)), this,
SLOT(updateValue(const QString &)));

//int or float validator
- QRegExpValidator * validator = new
QRegExpValidator(QRegExp("([0-9])+(\.)?([0-9])*"), _videoCodecConfigWidget);
+ QRegExpValidator * validator = new
QRegExpValidator(QRegExp("([0-9])+(\\.)?([0-9])*"), _videoCodecConfigWidget);
_parametersValueLineEdit->setValidator(validator);

QTimer *timer = new QTimer(this);

--
Martin Michlmayr
http://www.cyrius.com/


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise