+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/nqc.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild warning: bogus date in %changelog: Wed Sep 20 2007 Rick L Vinyard Jr - 3.1.6-1 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.sosYoR + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf nqc-3.1.r6 + /usr/bin/mkdir -p nqc-3.1.r6 + cd nqc-3.1.r6 + /usr/bin/gzip -dc /builddir/build/SOURCES/nqc-3.1.r6.tgz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (nqc-3.1.6-linux.patch):' Patch #0 (nqc-3.1.6-linux.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Makefile patching file rcxlib/LegoUSB/legousbtower.h patching file rcxlib/RCX_USBTowerPipe_linux.cpp + echo 'Patch #1 (nqc-3.1.6.gcc47.patch):' Patch #1 (nqc-3.1.6.gcc47.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file ./Makefile + echo 'Patch #2 (nqc-3.1.6-unistd.patch):' Patch #2 (nqc-3.1.6-unistd.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .isatty --fuzz=0 patching file compiler/lexer.cpp + for i in /builddir/build/SOURCES/faq.html /builddir/build/SOURCES/NQC_Manual.pdf /builddir/build/SOURCES/NQC_Guide.pdf /builddir/build/SOURCES/NQC_Tutorial.pdf + /usr/bin/cp --preserve=timestamps /builddir/build/SOURCES/faq.html . + for i in /builddir/build/SOURCES/faq.html /builddir/build/SOURCES/NQC_Manual.pdf /builddir/build/SOURCES/NQC_Guide.pdf /builddir/build/SOURCES/NQC_Tutorial.pdf + /usr/bin/cp --preserve=timestamps /builddir/build/SOURCES/NQC_Manual.pdf . + for i in /builddir/build/SOURCES/faq.html /builddir/build/SOURCES/NQC_Manual.pdf /builddir/build/SOURCES/NQC_Guide.pdf /builddir/build/SOURCES/NQC_Tutorial.pdf + /usr/bin/cp --preserve=timestamps /builddir/build/SOURCES/NQC_Guide.pdf . + for i in /builddir/build/SOURCES/faq.html /builddir/build/SOURCES/NQC_Manual.pdf /builddir/build/SOURCES/NQC_Guide.pdf /builddir/build/SOURCES/NQC_Tutorial.pdf + /usr/bin/cp --preserve=timestamps /builddir/build/SOURCES/NQC_Tutorial.pdf . + /usr/bin/cp --preserve=timestamps /builddir/build/SOURCES/tutorial_n.doc ./nqc-tutorial-nl.doc + /usr/bin/cp --preserve=timestamps /builddir/build/SOURCES/tutorial_d.doc ./nqc-tutorial-de.doc + /usr/bin/cp --preserve=timestamps /builddir/build/SOURCES/tutorial_j.pdf ./nqc-tutorial-ja.pdf + /usr/bin/cp --preserve=timestamps /builddir/build/SOURCES/tutorial_s.doc ./nqc-tutorial-es.doc + /usr/bin/cp --preserve=timestamps /builddir/build/SOURCES/tutorial_i.doc ./nqc-tutorial-it.doc + /usr/bin/cp --preserve=timestamps /builddir/build/SOURCES/tutorial_t.doc ./nqc-tutorial-th.doc + /usr/bin/cp --preserve=timestamps /builddir/build/SOURCES/tutorial_p.pdf ./nqc-tutorial-pt.pdf + /usr/bin/mkdir tutorial_files + /usr/bin/unzip -qq -a /builddir/build/SOURCES/NQCTutorialSamples.zip -d tutorial_files + find -type f -exec chmod 644 '{}' ';' -exec perl -pi -e 's/\r\n/\n/g' '{}' ';' find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory find: 'perl': No such file or directory + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.DB51im + umask 022 + cd /builddir/build/BUILD + cd nqc-3.1.r6 + /usr/bin/make -j4 mkdir bin g++ -o bin/mkdata -Inqc/ -Iplatform/ mkdata/mkdata.cpp nqc/SRecord.cpp g++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Iplatform -Ircxlib -Inqc -Icompiler -Wall -I/usr/local/include/LegoUSB -Wno-deprecated -DDEFAULT_SERIAL_NAME='"/dev/ttyS0"' nqc/nqc.cpp -o nqc/nqc.o g++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Iplatform -Ircxlib -Inqc -Icompiler -Wall -I/usr/local/include/LegoUSB -Wno-deprecated -DDEFAULT_SERIAL_NAME='"/dev/ttyS0"' nqc/SRecord.cpp -o nqc/SRecord.o g++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Iplatform -Ircxlib -Inqc -Icompiler -Wall -I/usr/local/include/LegoUSB -Wno-deprecated -DDEFAULT_SERIAL_NAME='"/dev/ttyS0"' nqc/DirList.cpp -o nqc/DirList.o mkdata/mkdata.cpp:9:80: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] static char *sTestArgs[]={"mkdata", "-s", "fastdl.srec", "RCX_nub.h", "rcxNub" }; ^ mkdata/mkdata.cpp:9:80: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] mkdata/mkdata.cpp:9:80: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] mkdata/mkdata.cpp:9:80: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] mkdata/mkdata.cpp:9:80: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] nqc/SRecord.cpp: In member function 'bool SRecord::Read(FILE*, int)': nqc/SRecord.cpp:267:7: warning: unused variable 'line' [-Wunused-variable] char line[kMaxLine]; ^~~~ nqc/SRecord.cpp:268:8: warning: unused variable 'ptr' [-Wunused-variable] char *ptr; ^~~ nqc/SRecord.cpp:269:6: warning: unused variable 'dataLen' [-Wunused-variable] int dataLen; ^~~~~~~ nqc/SRecord.cpp:270:6: warning: unused variable 'byte' [-Wunused-variable] int byte; ^~~~ g++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Iplatform -Ircxlib -Inqc -Icompiler -Wall -I/usr/local/include/LegoUSB -Wno-deprecated -DDEFAULT_SERIAL_NAME='"/dev/ttyS0"' nqc/CmdLine.cpp -o nqc/CmdLine.o nqc/nqc.cpp:1088:17: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] fprintf(STDERR,"nqc version %s (built "__DATE__", " __TIME__")\n", ^ g++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Iplatform -Ircxlib -Inqc -Icompiler -Wall -I/usr/local/include/LegoUSB -Wno-deprecated -DDEFAULT_SERIAL_NAME='"/dev/ttyS0"' compiler/AsmStmt.cpp -o compiler/AsmStmt.o g++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Iplatform -Ircxlib -Inqc -Icompiler -Wall -I/usr/local/include/LegoUSB -Wno-deprecated -DDEFAULT_SERIAL_NAME='"/dev/ttyS0"' compiler/AssignStmt.cpp -o compiler/AssignStmt.o g++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Iplatform -Ircxlib -Inqc -Icompiler -Wall -I/usr/local/include/LegoUSB -Wno-deprecated -DDEFAULT_SERIAL_NAME='"/dev/ttyS0"' compiler/BlockStmt.cpp -o compiler/BlockStmt.o nqc/nqc.cpp:211:13: warning: 'void PrintToken(int, TokenVal)' declared 'static' but never defined [-Wunused-function] static void PrintToken(int t, TokenVal v); ^~~~~~~~~~ g++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Iplatform -Ircxlib -Inqc -Icompiler -Wall -I/usr/local/include/LegoUSB -Wno-deprecated -DDEFAULT_SERIAL_NAME='"/dev/ttyS0"' compiler/Bytecode.cpp -o compiler/Bytecode.o g++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Iplatform -Ircxlib -Inqc -Icompiler -Wall -I/usr/local/include/LegoUSB -Wno-deprecated -DDEFAULT_SERIAL_NAME='"/dev/ttyS0"' compiler/Conditional.cpp -o compiler/Conditional.o g++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Iplatform -Ircxlib -Inqc -Icompiler -Wall -I/usr/local/include/LegoUSB -Wno-deprecated -DDEFAULT_SERIAL_NAME='"/dev/ttyS0"' compiler/CondParser.cpp -o compiler/CondParser.o g++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Iplatform -Ircxlib -Inqc -Icompiler -Wall -I/usr/local/include/LegoUSB -Wno-deprecated -DDEFAULT_SERIAL_NAME='"/dev/ttyS0"' compiler/DoStmt.cpp -o compiler/DoStmt.o g++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Iplatform -Ircxlib -Inqc -Icompiler -Wall -I/usr/local/include/LegoUSB -Wno-deprecated -DDEFAULT_SERIAL_NAME='"/dev/ttyS0"' compiler/Expansion.cpp -o compiler/Expansion.o compiler/Bytecode.cpp: In member function 'bool Bytecode::ShortenFixup(Bytecode::Fixup&)': compiler/Bytecode.cpp:271:8: warning: enumeration value 'kNoFixup' not handled in switch [-Wswitch] switch(f.fType) { ^ compiler/Bytecode.cpp:271:8: warning: enumeration value 'kSimpleShortFixup' not handled in switch [-Wswitch] compiler/Bytecode.cpp:271:8: warning: enumeration value 'kSignBitShortFixup' not handled in switch [-Wswitch] g++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Iplatform -Ircxlib -Inqc -Icompiler -Wall -I/usr/local/include/LegoUSB -Wno-deprecated -DDEFAULT_SERIAL_NAME='"/dev/ttyS0"' compiler/Fragment.cpp -o compiler/Fragment.o g++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Iplatform -Ircxlib -Inqc -Icompiler -Wall -I/usr/local/include/LegoUSB -Wno-deprecated -DDEFAULT_SERIAL_NAME='"/dev/ttyS0"' compiler/IfStmt.cpp -o compiler/IfStmt.o g++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Iplatform -Ircxlib -Inqc -Icompiler -Wall -I/usr/local/include/LegoUSB -Wno-deprecated -DDEFAULT_SERIAL_NAME='"/dev/ttyS0"' compiler/JumpStmt.cpp -o compiler/JumpStmt.o g++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Iplatform -Ircxlib -Inqc -Icompiler -Wall -I/usr/local/include/LegoUSB -Wno-deprecated -DDEFAULT_SERIAL_NAME='"/dev/ttyS0"' compiler/lexer.cpp -o compiler/lexer.o g++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Iplatform -Ircxlib -Inqc -Icompiler -Wall -I/usr/local/include/LegoUSB -Wno-deprecated -DDEFAULT_SERIAL_NAME='"/dev/ttyS0"' compiler/Macro.cpp -o compiler/Macro.o g++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Iplatform -Ircxlib -Inqc -Icompiler -Wall -I/usr/local/include/LegoUSB -Wno-deprecated -DDEFAULT_SERIAL_NAME='"/dev/ttyS0"' compiler/parse.cpp -o compiler/parse.o g++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Iplatform -Ircxlib -Inqc -Icompiler -Wall -I/usr/local/include/LegoUSB -Wno-deprecated -DDEFAULT_SERIAL_NAME='"/dev/ttyS0"' compiler/PreProc.cpp -o compiler/PreProc.o g++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Iplatform -Ircxlib -Inqc -Icompiler -Wall -I/usr/local/include/LegoUSB -Wno-deprecated -DDEFAULT_SERIAL_NAME='"/dev/ttyS0"' compiler/Program.cpp -o compiler/Program.o lexer.cpp:1633:13: warning: 'void yyunput(int, char*)' defined but not used [-Wunused-function] lex.l:49:12: warning: 'sInsideProse' defined but not used [-Wunused-variable] g++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Iplatform -Ircxlib -Inqc -Icompiler -Wall -I/usr/local/include/LegoUSB -Wno-deprecated -DDEFAULT_SERIAL_NAME='"/dev/ttyS0"' compiler/RepeatStmt.cpp -o compiler/RepeatStmt.o g++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Iplatform -Ircxlib -Inqc -Icompiler -Wall -I/usr/local/include/LegoUSB -Wno-deprecated -DDEFAULT_SERIAL_NAME='"/dev/ttyS0"' compiler/AssignMathStmt.cpp -o compiler/AssignMathStmt.o g++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Iplatform -Ircxlib -Inqc -Icompiler -Wall -I/usr/local/include/LegoUSB -Wno-deprecated -DDEFAULT_SERIAL_NAME='"/dev/ttyS0"' compiler/Stmt.cpp -o compiler/Stmt.o g++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Iplatform -Ircxlib -Inqc -Icompiler -Wall -I/usr/local/include/LegoUSB -Wno-deprecated -DDEFAULT_SERIAL_NAME='"/dev/ttyS0"' compiler/Symbol.cpp -o compiler/Symbol.o g++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Iplatform -Ircxlib -Inqc -Icompiler -Wall -I/usr/local/include/LegoUSB -Wno-deprecated -DDEFAULT_SERIAL_NAME='"/dev/ttyS0"' compiler/TaskStmt.cpp -o compiler/TaskStmt.o g++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Iplatform -Ircxlib -Inqc -Icompiler -Wall -I/usr/local/include/LegoUSB -Wno-deprecated -DDEFAULT_SERIAL_NAME='"/dev/ttyS0"' compiler/WhileStmt.cpp -o compiler/WhileStmt.o g++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Iplatform -Ircxlib -Inqc -Icompiler -Wall -I/usr/local/include/LegoUSB -Wno-deprecated -DDEFAULT_SERIAL_NAME='"/dev/ttyS0"' compiler/Error.cpp -o compiler/Error.o g++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Iplatform -Ircxlib -Inqc -Icompiler -Wall -I/usr/local/include/LegoUSB -Wno-deprecated -DDEFAULT_SERIAL_NAME='"/dev/ttyS0"' compiler/AutoFree.cpp -o compiler/AutoFree.o g++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Iplatform -Ircxlib -Inqc -Icompiler -Wall -I/usr/local/include/LegoUSB -Wno-deprecated -DDEFAULT_SERIAL_NAME='"/dev/ttyS0"' compiler/parse_util.cpp -o compiler/parse_util.o g++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Iplatform -Ircxlib -Inqc -Icompiler -Wall -I/usr/local/include/LegoUSB -Wno-deprecated -DDEFAULT_SERIAL_NAME='"/dev/ttyS0"' compiler/Expr.cpp -o compiler/Expr.o compiler/parse_util.cpp: In function 'int VarCodeToChar(int)': compiler/parse_util.cpp:204:9: warning: enumeration value 'kRCX_SetVar' not handled in switch [-Wswitch] switch((RCX_VarCode)op) ^ compiler/parse_util.cpp:204:9: warning: enumeration value 'kRCX_SgnVar' not handled in switch [-Wswitch] compiler/parse_util.cpp:204:9: warning: enumeration value 'kRCX_AbsVar' not handled in switch [-Wswitch] compiler/parse_util.cpp:204:9: warning: enumeration value 'kRCX_IllegalVar' not handled in switch [-Wswitch] g++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Iplatform -Ircxlib -Inqc -Icompiler -Wall -I/usr/local/include/LegoUSB -Wno-deprecated -DDEFAULT_SERIAL_NAME='"/dev/ttyS0"' compiler/GosubStmt.cpp -o compiler/GosubStmt.o g++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Iplatform -Ircxlib -Inqc -Icompiler -Wall -I/usr/local/include/LegoUSB -Wno-deprecated -DDEFAULT_SERIAL_NAME='"/dev/ttyS0"' compiler/Scope.cpp -o compiler/Scope.o g++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Iplatform -Ircxlib -Inqc -Icompiler -Wall -I/usr/local/include/LegoUSB -Wno-deprecated -DDEFAULT_SERIAL_NAME='"/dev/ttyS0"' compiler/InlineStmt.cpp -o compiler/InlineStmt.o g++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Iplatform -Ircxlib -Inqc -Icompiler -Wall -I/usr/local/include/LegoUSB -Wno-deprecated -DDEFAULT_SERIAL_NAME='"/dev/ttyS0"' compiler/CallStmt.cpp -o compiler/CallStmt.o g++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Iplatform -Ircxlib -Inqc -Icompiler -Wall -I/usr/local/include/LegoUSB -Wno-deprecated -DDEFAULT_SERIAL_NAME='"/dev/ttyS0"' compiler/CaseStmt.cpp -o compiler/CaseStmt.o g++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Iplatform -Ircxlib -Inqc -Icompiler -Wall -I/usr/local/include/LegoUSB -Wno-deprecated -DDEFAULT_SERIAL_NAME='"/dev/ttyS0"' compiler/SwitchStmt.cpp -o compiler/SwitchStmt.o g++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Iplatform -Ircxlib -Inqc -Icompiler -Wall -I/usr/local/include/LegoUSB -Wno-deprecated -DDEFAULT_SERIAL_NAME='"/dev/ttyS0"' compiler/MonitorStmt.cpp -o compiler/MonitorStmt.o g++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Iplatform -Ircxlib -Inqc -Icompiler -Wall -I/usr/local/include/LegoUSB -Wno-deprecated -DDEFAULT_SERIAL_NAME='"/dev/ttyS0"' compiler/AcquireStmt.cpp -o compiler/AcquireStmt.o g++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Iplatform -Ircxlib -Inqc -Icompiler -Wall -I/usr/local/include/LegoUSB -Wno-deprecated -DDEFAULT_SERIAL_NAME='"/dev/ttyS0"' compiler/DeclareStmt.cpp -o compiler/DeclareStmt.o g++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Iplatform -Ircxlib -Inqc -Icompiler -Wall -I/usr/local/include/LegoUSB -Wno-deprecated -DDEFAULT_SERIAL_NAME='"/dev/ttyS0"' compiler/ScopeStmt.cpp -o compiler/ScopeStmt.o g++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Iplatform -Ircxlib -Inqc -Icompiler -Wall -I/usr/local/include/LegoUSB -Wno-deprecated -DDEFAULT_SERIAL_NAME='"/dev/ttyS0"' compiler/ForStmt.cpp -o compiler/ForStmt.o g++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Iplatform -Ircxlib -Inqc -Icompiler -Wall -I/usr/local/include/LegoUSB -Wno-deprecated -DDEFAULT_SERIAL_NAME='"/dev/ttyS0"' compiler/CatchStmt.cpp -o compiler/CatchStmt.o g++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Iplatform -Ircxlib -Inqc -Icompiler -Wall -I/usr/local/include/LegoUSB -Wno-deprecated -DDEFAULT_SERIAL_NAME='"/dev/ttyS0"' compiler/LabelStmt.cpp -o compiler/LabelStmt.o g++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Iplatform -Ircxlib -Inqc -Icompiler -Wall -I/usr/local/include/LegoUSB -Wno-deprecated -DDEFAULT_SERIAL_NAME='"/dev/ttyS0"' compiler/GotoStmt.cpp -o compiler/GotoStmt.o g++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Iplatform -Ircxlib -Inqc -Icompiler -Wall -I/usr/local/include/LegoUSB -Wno-deprecated -DDEFAULT_SERIAL_NAME='"/dev/ttyS0"' compiler/Compiler.cpp -o compiler/Compiler.o g++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Iplatform -Ircxlib -Inqc -Icompiler -Wall -I/usr/local/include/LegoUSB -Wno-deprecated -DDEFAULT_SERIAL_NAME='"/dev/ttyS0"' compiler/Buffer.cpp -o compiler/Buffer.o compiler/Buffer.cpp: In member function 'void Buffer::Create(const char*, FILE*)': compiler/Buffer.cpp:81:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(fData, 1, fLength, fp); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ g++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Iplatform -Ircxlib -Inqc -Icompiler -Wall -I/usr/local/include/LegoUSB -Wno-deprecated -DDEFAULT_SERIAL_NAME='"/dev/ttyS0"' compiler/Mapping.cpp -o compiler/Mapping.o g++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Iplatform -Ircxlib -Inqc -Icompiler -Wall -I/usr/local/include/LegoUSB -Wno-deprecated -DDEFAULT_SERIAL_NAME='"/dev/ttyS0"' compiler/FunctionDef.cpp -o compiler/FunctionDef.o g++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Iplatform -Ircxlib -Inqc -Icompiler -Wall -I/usr/local/include/LegoUSB -Wno-deprecated -DDEFAULT_SERIAL_NAME='"/dev/ttyS0"' compiler/ExprStmt.cpp -o compiler/ExprStmt.o g++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Iplatform -Ircxlib -Inqc -Icompiler -Wall -I/usr/local/include/LegoUSB -Wno-deprecated -DDEFAULT_SERIAL_NAME='"/dev/ttyS0"' compiler/AtomExpr.cpp -o compiler/AtomExpr.o g++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Iplatform -Ircxlib -Inqc -Icompiler -Wall -I/usr/local/include/LegoUSB -Wno-deprecated -DDEFAULT_SERIAL_NAME='"/dev/ttyS0"' compiler/IncDecExpr.cpp -o compiler/IncDecExpr.o g++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Iplatform -Ircxlib -Inqc -Icompiler -Wall -I/usr/local/include/LegoUSB -Wno-deprecated -DDEFAULT_SERIAL_NAME='"/dev/ttyS0"' compiler/BinaryExpr.cpp -o compiler/BinaryExpr.o g++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Iplatform -Ircxlib -Inqc -Icompiler -Wall -I/usr/local/include/LegoUSB -Wno-deprecated -DDEFAULT_SERIAL_NAME='"/dev/ttyS0"' compiler/UnaryExpr.cpp -o compiler/UnaryExpr.o g++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Iplatform -Ircxlib -Inqc -Icompiler -Wall -I/usr/local/include/LegoUSB -Wno-deprecated -DDEFAULT_SERIAL_NAME='"/dev/ttyS0"' compiler/ValueExpr.cpp -o compiler/ValueExpr.o g++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Iplatform -Ircxlib -Inqc -Icompiler -Wall -I/usr/local/include/LegoUSB -Wno-deprecated -DDEFAULT_SERIAL_NAME='"/dev/ttyS0"' compiler/TypeExpr.cpp -o compiler/TypeExpr.o g++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Iplatform -Ircxlib -Inqc -Icompiler -Wall -I/usr/local/include/LegoUSB -Wno-deprecated -DDEFAULT_SERIAL_NAME='"/dev/ttyS0"' compiler/ModExpr.cpp -o compiler/ModExpr.o g++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Iplatform -Ircxlib -Inqc -Icompiler -Wall -I/usr/local/include/LegoUSB -Wno-deprecated -DDEFAULT_SERIAL_NAME='"/dev/ttyS0"' compiler/EventSrcExpr.cpp -o compiler/EventSrcExpr.o g++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Iplatform -Ircxlib -Inqc -Icompiler -Wall -I/usr/local/include/LegoUSB -Wno-deprecated -DDEFAULT_SERIAL_NAME='"/dev/ttyS0"' compiler/SensorExpr.cpp -o compiler/SensorExpr.o g++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Iplatform -Ircxlib -Inqc -Icompiler -Wall -I/usr/local/include/LegoUSB -Wno-deprecated -DDEFAULT_SERIAL_NAME='"/dev/ttyS0"' compiler/ArrayExpr.cpp -o compiler/ArrayExpr.o g++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Iplatform -Ircxlib -Inqc -Icompiler -Wall -I/usr/local/include/LegoUSB -Wno-deprecated -DDEFAULT_SERIAL_NAME='"/dev/ttyS0"' compiler/TaskIdExpr.cpp -o compiler/TaskIdExpr.o g++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Iplatform -Ircxlib -Inqc -Icompiler -Wall -I/usr/local/include/LegoUSB -Wno-deprecated -DDEFAULT_SERIAL_NAME='"/dev/ttyS0"' compiler/RelExpr.cpp -o compiler/RelExpr.o g++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Iplatform -Ircxlib -Inqc -Icompiler -Wall -I/usr/local/include/LegoUSB -Wno-deprecated -DDEFAULT_SERIAL_NAME='"/dev/ttyS0"' compiler/LogicalExpr.cpp -o compiler/LogicalExpr.o g++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Iplatform -Ircxlib -Inqc -Icompiler -Wall -I/usr/local/include/LegoUSB -Wno-deprecated -DDEFAULT_SERIAL_NAME='"/dev/ttyS0"' compiler/NegateExpr.cpp -o compiler/NegateExpr.o g++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Iplatform -Ircxlib -Inqc -Icompiler -Wall -I/usr/local/include/LegoUSB -Wno-deprecated -DDEFAULT_SERIAL_NAME='"/dev/ttyS0"' compiler/IndirectExpr.cpp -o compiler/IndirectExpr.o g++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Iplatform -Ircxlib -Inqc -Icompiler -Wall -I/usr/local/include/LegoUSB -Wno-deprecated -DDEFAULT_SERIAL_NAME='"/dev/ttyS0"' compiler/NodeExpr.cpp -o compiler/NodeExpr.o g++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Iplatform -Ircxlib -Inqc -Icompiler -Wall -I/usr/local/include/LegoUSB -Wno-deprecated -DDEFAULT_SERIAL_NAME='"/dev/ttyS0"' compiler/ShiftExpr.cpp -o compiler/ShiftExpr.o g++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Iplatform -Ircxlib -Inqc -Icompiler -Wall -I/usr/local/include/LegoUSB -Wno-deprecated -DDEFAULT_SERIAL_NAME='"/dev/ttyS0"' compiler/TernaryExpr.cpp -o compiler/TernaryExpr.o g++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Iplatform -Ircxlib -Inqc -Icompiler -Wall -I/usr/local/include/LegoUSB -Wno-deprecated -DDEFAULT_SERIAL_NAME='"/dev/ttyS0"' compiler/VarAllocator.cpp -o compiler/VarAllocator.o g++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Iplatform -Ircxlib -Inqc -Icompiler -Wall -I/usr/local/include/LegoUSB -Wno-deprecated -DDEFAULT_SERIAL_NAME='"/dev/ttyS0"' compiler/VarTranslator.cpp -o compiler/VarTranslator.o g++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Iplatform -Ircxlib -Inqc -Icompiler -Wall -I/usr/local/include/LegoUSB -Wno-deprecated -DDEFAULT_SERIAL_NAME='"/dev/ttyS0"' compiler/Resource.cpp -o compiler/Resource.o g++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Iplatform -Ircxlib -Inqc -Icompiler -Wall -I/usr/local/include/LegoUSB -Wno-deprecated -DDEFAULT_SERIAL_NAME='"/dev/ttyS0"' compiler/AddrOfExpr.cpp -o compiler/AddrOfExpr.o g++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Iplatform -Ircxlib -Inqc -Icompiler -Wall -I/usr/local/include/LegoUSB -Wno-deprecated -DDEFAULT_SERIAL_NAME='"/dev/ttyS0"' compiler/DerefExpr.cpp -o compiler/DerefExpr.o g++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Iplatform -Ircxlib -Inqc -Icompiler -Wall -I/usr/local/include/LegoUSB -Wno-deprecated -DDEFAULT_SERIAL_NAME='"/dev/ttyS0"' compiler/GosubParamStmt.cpp -o compiler/GosubParamStmt.o g++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Iplatform -Ircxlib -Inqc -Icompiler -Wall -I/usr/local/include/LegoUSB -Wno-deprecated -DDEFAULT_SERIAL_NAME='"/dev/ttyS0"' rcxlib/RCX_Cmd.cpp -o rcxlib/RCX_Cmd.o g++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Iplatform -Ircxlib -Inqc -Icompiler -Wall -I/usr/local/include/LegoUSB -Wno-deprecated -DDEFAULT_SERIAL_NAME='"/dev/ttyS0"' rcxlib/RCX_Disasm.cpp -o rcxlib/RCX_Disasm.o g++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Iplatform -Ircxlib -Inqc -Icompiler -Wall -I/usr/local/include/LegoUSB -Wno-deprecated -DDEFAULT_SERIAL_NAME='"/dev/ttyS0"' rcxlib/RCX_Image.cpp -o rcxlib/RCX_Image.o g++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Iplatform -Ircxlib -Inqc -Icompiler -Wall -I/usr/local/include/LegoUSB -Wno-deprecated -DDEFAULT_SERIAL_NAME='"/dev/ttyS0"' rcxlib/RCX_Link.cpp -o rcxlib/RCX_Link.o g++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Iplatform -Ircxlib -Inqc -Icompiler -Wall -I/usr/local/include/LegoUSB -Wno-deprecated -DDEFAULT_SERIAL_NAME='"/dev/ttyS0"' rcxlib/RCX_Log.cpp -o rcxlib/RCX_Log.o g++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Iplatform -Ircxlib -Inqc -Icompiler -Wall -I/usr/local/include/LegoUSB -Wno-deprecated -DDEFAULT_SERIAL_NAME='"/dev/ttyS0"' rcxlib/RCX_Target.cpp -o rcxlib/RCX_Target.o g++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Iplatform -Ircxlib -Inqc -Icompiler -Wall -I/usr/local/include/LegoUSB -Wno-deprecated -DDEFAULT_SERIAL_NAME='"/dev/ttyS0"' rcxlib/RCX_Pipe.cpp -o rcxlib/RCX_Pipe.o g++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Iplatform -Ircxlib -Inqc -Icompiler -Wall -I/usr/local/include/LegoUSB -Wno-deprecated -DDEFAULT_SERIAL_NAME='"/dev/ttyS0"' rcxlib/RCX_PipeTransport.cpp -o rcxlib/RCX_PipeTransport.o rcxlib/RCX_PipeTransport.cpp: In member function 'RCX_Result RCX_PipeTransport::ReceiveReply(int, int, int&)': rcxlib/RCX_PipeTransport.cpp:310:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while(fRxLength < kMaxRxData) ^ rcxlib/RCX_PipeTransport.cpp:315:82: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'int' [-Wformat=] if (fVerbose) printf("reading %ld bytes, timeout = %ld\n", receiveLen, timeout); ^ rcxlib/RCX_PipeTransport.cpp:315:82: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'int' [-Wformat=] rcxlib/RCX_PipeTransport.cpp:322:67: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'int' [-Wformat=] if (fVerbose) printf("reading 1 byte, timeout = %ld\n", timeout); ^ rcxlib/RCX_PipeTransport.cpp: In member function 'void RCX_PipeTransport::ProcessRxByte(UByte)': rcxlib/RCX_PipeTransport.cpp:523:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] else if (fRxLength < kMaxRxData) ^ rcxlib/RCX_Disasm.cpp: In member function 'void RCX_Disasm::LASMOutputHeader(RCX_Printer*, std::__cxx11::string, RCX_ChunkType, int)': rcxlib/RCX_Disasm.cpp:777:9: warning: enumeration value 'kRCX_ChunkTypeCount' not handled in switch [-Wswitch] switch(type) ^ rcxlib/RCX_Disasm.cpp: In member function 'void RCX_Disasm::LASMOutputFooter(RCX_Printer*, RCX_ChunkType, UShort)': rcxlib/RCX_Disasm.cpp:803:9: warning: enumeration value 'kRCX_ChunkTypeCount' not handled in switch [-Wswitch] switch(type) ^ rcxlib/RCX_Link.cpp: In member function 'RCX_Result RCX_Link::Send(const UByte*, int, bool, int)': rcxlib/RCX_Link.cpp:630:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (length > kMaxCmdLength || ~~~~~~~^~~~~~~~~~~~~~~ rcxlib/RCX_Link.cpp:631:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] expected > kMaxReplyLength) return kRCX_RequestError; ~~~~~~~~~^~~~~~~~~~~~~~~~~ g++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Iplatform -Ircxlib -Inqc -Icompiler -Wall -I/usr/local/include/LegoUSB -Wno-deprecated -DDEFAULT_SERIAL_NAME='"/dev/ttyS0"' rcxlib/RCX_Transport.cpp -o rcxlib/RCX_Transport.o rcxlib/RCX_Image.cpp: In member function 'RCX_Result RCX_Image::Read(const char*)': rcxlib/RCX_Image.cpp:274:38: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(buf, length, 1, fp); ~~~~~^~~~~~~~~~~~~~~~~~~~ g++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Iplatform -Ircxlib -Inqc -Icompiler -Wall -I/usr/local/include/LegoUSB -Wno-deprecated -DDEFAULT_SERIAL_NAME='"/dev/ttyS0"' rcxlib/RCX_SpyboticsLinker.cpp -o rcxlib/RCX_SpyboticsLinker.o rcxlib/RCX_Image.cpp: At global scope: rcxlib/RCX_Image.cpp:461:14: warning: 'char* NewString(const char*)' defined but not used [-Wunused-function] static char *NewString(const char *s) ^~~~~~~~~ rcxlib/RCX_SpyboticsLinker.cpp:122:1: warning: "/*" within comment [-Wcomment] /**/ g++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Iplatform -Ircxlib -Inqc -Icompiler -Wall -I/usr/local/include/LegoUSB -Wno-deprecated -DDEFAULT_SERIAL_NAME='"/dev/ttyS0"' rcxlib/RCX_SerialPipe.cpp -o rcxlib/RCX_SerialPipe.o g++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Iplatform -Ircxlib -Inqc -Icompiler -Wall -I/usr/local/include/LegoUSB -Wno-deprecated -DDEFAULT_SERIAL_NAME='"/dev/ttyS0"' rcxlib/RCX_USBTowerPipe_linux.cpp -o rcxlib/RCX_USBTowerPipe_linux.o g++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Iplatform -Ircxlib -Inqc -Icompiler -Wall -I/usr/local/include/LegoUSB -Wno-deprecated -DDEFAULT_SERIAL_NAME='"/dev/ttyS0"' platform/PStream.cpp -o platform/PStream.o g++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Iplatform -Ircxlib -Inqc -Icompiler -Wall -I/usr/local/include/LegoUSB -Wno-deprecated -DDEFAULT_SERIAL_NAME='"/dev/ttyS0"' platform/PSerial_unix.cpp -o platform/PSerial_unix.o rcxlib/RCX_SpyboticsLinker.cpp: In constructor 'RCX_SpyboticsLinker::RCX_SpyboticsLinker()': rcxlib/RCX_SpyboticsLinker.cpp:63:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=0; i