By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release.

Bug 1155

Summary: Build issue: kpicosim FTBFS: not a string literal error
Product: TDE Reporter: Francois Andriot <albator78>
Component: non-core programsAssignee: Timothy Pearson <kb9vqf>
Status: RESOLVED FIXED    
Severity: normal CC: bugwatch, darrella, slavek.banko
Priority: P5    
Version: 3.5.13 [Trinity]   
Hardware: All   
OS: Linux   
Compiler Version: TDE Version String:
Application Version: Application Name:
Attachments: Fix "not a string literal" errors in kpicosim

Description Francois Andriot 2012-08-05 16:46:02 CDT
Error during compilation:

make[1] : on entre dans le répertoire « /home/albator/rpmbuild/BUILD/BUILD.mga2.x86_64/applications/kpicosim/src »
x86_64-mageia-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../debian -I/opt/trinity/include/kde -I/usr/lib/qt3/include -I/usr/include -include tqt.h  -I/opt/trinity/include/tqt -I/opt/trinity/include/kde  -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -I/opt/trinity/include/tqt  -MT kscratchpadview.o -MD -MP -MF .deps/kscratchpadview.Tpo -c -o kscratchpadview.o kscratchpadview.cpp
mv -f .deps/kscratchpadview.Tpo .deps/kscratchpadview.Po
x86_64-mageia-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../debian -I/opt/trinity/include/kde -I/usr/lib/qt3/include -I/usr/include -include tqt.h  -I/opt/trinity/include/tqt -I/opt/trinity/include/kde  -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -I/opt/trinity/include/tqt  -MT kexportdialog.o -MD -MP -MF .deps/kexportdialog.Tpo -c -o kexportdialog.o kexportdialog.cpp
mv -f .deps/kexportdialog.Tpo .deps/kexportdialog.Po
x86_64-mageia-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../debian -I/opt/trinity/include/kde -I/usr/lib/qt3/include -I/usr/include -include tqt.h  -I/opt/trinity/include/tqt -I/opt/trinity/include/kde  -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -I/opt/trinity/include/tqt  -MT cassembler.o -MD -MP -MF .deps/cassembler.Tpo -c -o cassembler.o cassembler.cpp
cassembler.cpp: In member function ‘bool CAssembler::exportVHDL(std::string, std::string, std::string)’:
cassembler.cpp:578:42: erreur: le format n'est pas une chaîne littérale et pas d'argument de format [-Werror=format-security]
cc1plus: some warnings being treated as errors
make[1]: *** [cassembler.o] Erreur 1
make[1] : on quitte le répertoire « /home/albator/rpmbuild/BUILD/BUILD.mga2.x86_64/applications/kpicosim/src »
Comment 1 Francois Andriot 2012-08-05 16:46:29 CDT
Created attachment 766 [details]
Fix "not a string literal" errors in kpicosim
Comment 2 Slávek Banko 2012-08-18 11:57:34 CDT
Fixed in GIT hash b58489be (and also v3.5.13-sru)