=> Bootstrap dependency digest>=20010302: found digest-20210928 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for DarwinStreamingServer-5.5.5nb15 gcc -c -o base64.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../PlatformHeader.h -g -Wall -I. -I.. -I../APIStubLib -I../RTPMetaInfoLib -I../APICommonCode base64.c gcc -c -o GetWord.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../PlatformHeader.h -g -Wall -I. -I.. -I../APIStubLib -I../RTPMetaInfoLib -I../APICommonCode GetWord.c gcc -c -o Trim.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../PlatformHeader.h -g -Wall -I. -I.. -I../APIStubLib -I../RTPMetaInfoLib -I../APICommonCode Trim.c gcc -c -o md5.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../PlatformHeader.h -g -Wall -I. -I.. -I../APIStubLib -I../RTPMetaInfoLib -I../APICommonCode md5.c c++ -fPIC -c -o atomic.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../PlatformHeader.h -g -Wall -I. -I.. -I../APIStubLib -I../RTPMetaInfoLib -I../APICommonCode atomic.cpp c++ -fPIC -c -o ConfParser.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../PlatformHeader.h -g -Wall -I. -I.. -I../APIStubLib -I../RTPMetaInfoLib -I../APICommonCode ConfParser.cpp ConfParser.cpp: In function 'int ParseConfigFile(Bool16, const char*, Bool16 (*)(const char*, const char**, void*), void*)': ConfParser.cpp:191:33: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ ConfParser.cpp:194:37: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' char* value = NEW char[strlen( wordBuff ) + 1 ]; ^~~~ c++ -fPIC -c -o DateTranslator.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../PlatformHeader.h -g -Wall -I. -I.. -I../APIStubLib -I../RTPMetaInfoLib -I../APICommonCode DateTranslator.cpp c++ -fPIC -c -o EventContext.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../PlatformHeader.h -g -Wall -I. -I.. -I../APIStubLib -I../RTPMetaInfoLib -I../APICommonCode EventContext.cpp In file included from OSRef.h:46:0, from EventContext.h:42, from EventContext.cpp:34: OSHashTable.h: In instantiation of 'OSHashTable::OSHashTable(UInt32) [with T = OSRef; K = OSRefKey; UInt32 = unsigned int]': OSRef.h:177:86: required from here OSHashTable.h:46:22: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] fHashTable = new ( T*[size] ); ^~~~~~~~~~~~~~~~ c++ -fPIC -c -o IdleTask.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../PlatformHeader.h -g -Wall -I. -I.. -I../APIStubLib -I../RTPMetaInfoLib -I../APICommonCode IdleTask.cpp In file included from IdleTask.cpp:38:0: IdleTask.h: In constructor 'IdleTask::IdleTask()': IdleTask.h:78:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] IdleTask() : Task(), fIdleElem() { this->SetTaskName("IdleTask"); fIdleElem.SetEnclosingObject(this); } ^ c++ -fPIC -c -o MyAssert.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../PlatformHeader.h -g -Wall -I. -I.. -I../APIStubLib -I../RTPMetaInfoLib -I../APICommonCode MyAssert.cpp c++ -fPIC -c -o OS.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../PlatformHeader.h -g -Wall -I. -I.. -I../APIStubLib -I../RTPMetaInfoLib -I../APICommonCode OS.cpp c++ -fPIC -c -o OSCodeFragment.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../PlatformHeader.h -g -Wall -I. -I.. -I../APIStubLib -I../RTPMetaInfoLib -I../APICommonCode OSCodeFragment.cpp c++ -fPIC -c -o OSCond.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../PlatformHeader.h -g -Wall -I. -I.. -I../APIStubLib -I../RTPMetaInfoLib -I../APICommonCode OSCond.cpp c++ -fPIC -c -o OSFileSource.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../PlatformHeader.h -g -Wall -I. -I.. -I../APIStubLib -I../RTPMetaInfoLib -I../APICommonCode OSFileSource.cpp OSFileSource.cpp: In member function 'void OSFileSource::Set(const char*)': OSFileSource.cpp:351:30: warning: 'memset' used with constant zero length parameter; this could be due to transposed parameters [-Wmemset-transposed-args] ::memset(&buf,sizeof(buf),0); ^ In file included from StrPtrLen.h:45:0, from OSFileSource.h:41, from OSFileSource.cpp:47: OSFileSource.cpp: In member function 'OS_Error OSFileSource::ReadFromCache(UInt64, void*, UInt32, UInt32*)': OSFileSource.cpp:485:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] Assert(buffSize <= kUInt32_Max); MyAssert.h:51:15: note: in definition of macro 'Assert' if (!(condition)) \ ^~~~~~~~~ c++ -fPIC -c -o OSHeap.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../PlatformHeader.h -g -Wall -I. -I.. -I../APIStubLib -I../RTPMetaInfoLib -I../APICommonCode OSHeap.cpp c++ -fPIC -c -o OSBufferPool.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../PlatformHeader.h -g -Wall -I. -I.. -I../APIStubLib -I../RTPMetaInfoLib -I../APICommonCode OSBufferPool.cpp c++ -fPIC -c -o OSMutex.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../PlatformHeader.h -g -Wall -I. -I.. -I../APIStubLib -I../RTPMetaInfoLib -I../APICommonCode OSMutex.cpp c++ -fPIC -c -o OSMutexRW.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../PlatformHeader.h -g -Wall -I. -I.. -I../APIStubLib -I../RTPMetaInfoLib -I../APICommonCode OSMutexRW.cpp c++ -fPIC -c -o OSQueue.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../PlatformHeader.h -g -Wall -I. -I.. -I../APIStubLib -I../RTPMetaInfoLib -I../APICommonCode OSQueue.cpp c++ -fPIC -c -o OSRef.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../PlatformHeader.h -g -Wall -I. -I.. -I../APIStubLib -I../RTPMetaInfoLib -I../APICommonCode OSRef.cpp In file included from OSRef.h:46:0, from OSRef.cpp:33: OSHashTable.h: In instantiation of 'OSHashTable::OSHashTable(UInt32) [with T = OSRef; K = OSRefKey; UInt32 = unsigned int]': OSRef.h:177:86: required from here OSHashTable.h:46:22: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] fHashTable = new ( T*[size] ); ^~~~~~~~~~~~~~~~ c++ -fPIC -c -o OSThread.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../PlatformHeader.h -g -Wall -I. -I.. -I../APIStubLib -I../RTPMetaInfoLib -I../APICommonCode OSThread.cpp c++ -fPIC -c -o Socket.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../PlatformHeader.h -g -Wall -I. -I.. -I../APIStubLib -I../RTPMetaInfoLib -I../APICommonCode Socket.cpp In file included from OSRef.h:46:0, from EventContext.h:42, from Socket.h:43, from Socket.cpp:48: OSHashTable.h: In instantiation of 'OSHashTable::OSHashTable(UInt32) [with T = OSRef; K = OSRefKey; UInt32 = unsigned int]': OSRef.h:177:86: required from here OSHashTable.h:46:22: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] fHashTable = new ( T*[size] ); ^~~~~~~~~~~~~~~~ c++ -fPIC -c -o SocketUtils.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../PlatformHeader.h -g -Wall -I. -I.. -I../APIStubLib -I../RTPMetaInfoLib -I../APICommonCode SocketUtils.cpp c++ -fPIC -c -o ResizeableStringFormatter.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../PlatformHeader.h -g -Wall -I. -I.. -I../APIStubLib -I../RTPMetaInfoLib -I../APICommonCode ResizeableStringFormatter.cpp In file included from ResizeableStringFormatter.h:39:0, from ResizeableStringFormatter.cpp:33: StringFormatter.h: In member function 'void StringFormatter::PutFilePath(StrPtrLen*, StrPtrLen*)': StringFormatter.h:138:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Put(kPathDelimiterString); ^ c++ -fPIC -c -o StringFormatter.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../PlatformHeader.h -g -Wall -I. -I.. -I../APIStubLib -I../RTPMetaInfoLib -I../APICommonCode StringFormatter.cpp In file included from StringFormatter.cpp:36:0: StringFormatter.h: In member function 'void StringFormatter::PutFilePath(StrPtrLen*, StrPtrLen*)': StringFormatter.h:138:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Put(kPathDelimiterString); ^ StringFormatter.cpp: At global scope: StringFormatter.cpp:39:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] char* StringFormatter::sEOL = "\r\n"; ^~~~~~ c++ -fPIC -c -o StringParser.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../PlatformHeader.h -g -Wall -I. -I.. -I../APIStubLib -I../RTPMetaInfoLib -I../APICommonCode StringParser.cpp StringParser.cpp: In member function 'Float32 StringParser::ConsumeNPT()': StringParser.cpp:343:50: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (fStartGet >= fEndGet || valType == 0 && index >= 1) ~~~~~~~~~~~~~^~~~~~~~~~~~~ StringParser.cpp: In member function 'void StringParser::ConsumeEOL(StrPtrLen*)': StringParser.cpp:398:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (this->ParserIsEmpty(outString)) ^~ StringParser.cpp:403:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' char *originalStartGet = fStartGet; ^~~~ c++ -fPIC -c -o StringTranslator.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../PlatformHeader.h -g -Wall -I. -I.. -I../APIStubLib -I../RTPMetaInfoLib -I../APICommonCode StringTranslator.cpp c++ -fPIC -c -o StrPtrLen.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../PlatformHeader.h -g -Wall -I. -I.. -I../APIStubLib -I../RTPMetaInfoLib -I../APICommonCode StrPtrLen.cpp StrPtrLen.cpp: In member function 'Bool16 StrPtrLen::Equal(const StrPtrLen&) const': StrPtrLen.cpp:107:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (NULL == compare.Ptr && NULL == Ptr ) ^~ StrPtrLen.cpp:110:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if ((NULL == compare.Ptr) || (NULL == Ptr)) ^~ StrPtrLen.cpp: In member function 'Bool16 StrPtrLen::NumEqualIgnoreCase(const char*, UInt32) const': StrPtrLen.cpp:143:44: warning: array subscript has type 'char' [-Wchar-subscripts] if (sCaseInsensitiveMask[Ptr[x]] != sCaseInsensitiveMask[compare[x]]) ^ StrPtrLen.cpp:143:80: warning: array subscript has type 'char' [-Wchar-subscripts] if (sCaseInsensitiveMask[Ptr[x]] != sCaseInsensitiveMask[compare[x]]) ^ StrPtrLen.cpp: In member function 'Bool16 StrPtrLen::EqualIgnoreCase(const char*, UInt32) const': StrPtrLen.cpp:156:44: warning: array subscript has type 'char' [-Wchar-subscripts] if (sCaseInsensitiveMask[Ptr[x]] != sCaseInsensitiveMask[compare[x]]) ^ StrPtrLen.cpp:156:80: warning: array subscript has type 'char' [-Wchar-subscripts] if (sCaseInsensitiveMask[Ptr[x]] != sCaseInsensitiveMask[compare[x]]) ^ StrPtrLen.cpp: In member function 'void StrPtrLen::PrintStr()': StrPtrLen.cpp:306:44: warning: array subscript has type 'char' [-Wchar-subscripts] if (StrPtrLen::sNonPrintChars[Ptr[i]]) ^ StrPtrLen.cpp: In member function 'void StrPtrLen::PrintStrEOL(char*, char*)': StrPtrLen.cpp:336:44: warning: array subscript has type 'char' [-Wchar-subscripts] if (StrPtrLen::sNonPrintChars[Ptr[i]]) ^ StrPtrLen.cpp:367:21: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char *cr="\\r"; ^~~~~ StrPtrLen.cpp:368:21: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char *lf="\\n\n"; ^~~~~~~ c++ -fPIC -c -o Task.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../PlatformHeader.h -g -Wall -I. -I.. -I../APIStubLib -I../RTPMetaInfoLib -I../APICommonCode Task.cpp Task.cpp:42:28: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sTaskStateStr="live_"; //Alive ^~~~~~~ Task.cpp: In constructor 'Task::Task()': Task.cpp:50:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] this->SetTaskName("unknown"); ^ c++ -fPIC -c -o TCPListenerSocket.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../PlatformHeader.h -g -Wall -I. -I.. -I../APIStubLib -I../RTPMetaInfoLib -I../APICommonCode TCPListenerSocket.cpp In file included from TCPListenerSocket.h:41:0, from TCPListenerSocket.cpp:46: IdleTask.h: In constructor 'IdleTask::IdleTask()': IdleTask.h:78:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] IdleTask() : Task(), fIdleElem() { this->SetTaskName("IdleTask"); fIdleElem.SetEnclosingObject(this); } ^ In file included from TCPListenerSocket.cpp:46:0: TCPListenerSocket.h: In constructor 'TCPListenerSocket::TCPListenerSocket()': TCPListenerSocket.h:48:145: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] fAddr(0), fPort(0), fOutOfDescriptors(false), fSleepBetweenAccepts(false) {this->SetTaskName("TCPListenerSocket");} ^ TCPListenerSocket.cpp: In member function 'virtual void TCPListenerSocket::ProcessEvent(int)': TCPListenerSocket.cpp:130:167: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] QTSSModuleUtils::LogErrorStr(qtssFatalVerbosity, "Out of File Descriptors. Set max connections lower and check for competing usage from other processes. Exiting."); ^ In file included from OSRef.h:46:0, from EventContext.h:42, from Socket.h:43, from TCPSocket.h:46, from TCPListenerSocket.h:40, from TCPListenerSocket.cpp:46: OSHashTable.h: In instantiation of 'OSHashTable::OSHashTable(UInt32) [with T = OSRef; K = OSRefKey; UInt32 = unsigned int]': OSRef.h:177:86: required from here OSHashTable.h:46:22: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] fHashTable = new ( T*[size] ); ^~~~~~~~~~~~~~~~ c++ -fPIC -c -o TCPSocket.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../PlatformHeader.h -g -Wall -I. -I.. -I../APIStubLib -I../RTPMetaInfoLib -I../APICommonCode TCPSocket.cpp In file included from OSRef.h:46:0, from EventContext.h:42, from Socket.h:43, from TCPSocket.h:46, from TCPSocket.cpp:42: OSHashTable.h: In instantiation of 'OSHashTable::OSHashTable(UInt32) [with T = OSRef; K = OSRefKey; UInt32 = unsigned int]': OSRef.h:177:86: required from here OSHashTable.h:46:22: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] fHashTable = new ( T*[size] ); ^~~~~~~~~~~~~~~~ c++ -fPIC -c -o TimeoutTask.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../PlatformHeader.h -g -Wall -I. -I.. -I../APIStubLib -I../RTPMetaInfoLib -I../APICommonCode TimeoutTask.cpp In file included from TimeoutTask.h:44:0, from TimeoutTask.cpp:33: IdleTask.h: In constructor 'IdleTask::IdleTask()': IdleTask.h:78:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] IdleTask() : Task(), fIdleElem() { this->SetTaskName("IdleTask"); fIdleElem.SetEnclosingObject(this); } ^ In file included from TimeoutTask.cpp:33:0: TimeoutTask.h: In constructor 'TimeoutTaskThread::TimeoutTaskThread()': TimeoutTask.h:58:96: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] TimeoutTaskThread() : IdleTask(), fMutex() {this->SetTaskName("TimeoutTask");} ^ c++ -fPIC -c -o UDPDemuxer.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../PlatformHeader.h -g -Wall -I. -I.. -I../APIStubLib -I../RTPMetaInfoLib -I../APICommonCode UDPDemuxer.cpp In file included from UDPDemuxer.h:38:0, from UDPDemuxer.cpp:34: OSHashTable.h: In instantiation of 'OSHashTable::OSHashTable(UInt32) [with T = UDPDemuxerTask; K = UDPDemuxerKey; UInt32 = unsigned int]': UDPDemuxer.h:142:62: required from here OSHashTable.h:46:22: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] fHashTable = new ( T*[size] ); ^~~~~~~~~~~~~~~~ c++ -fPIC -c -o UDPSocket.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../PlatformHeader.h -g -Wall -I. -I.. -I../APIStubLib -I../RTPMetaInfoLib -I../APICommonCode UDPSocket.cpp In file included from OSRef.h:46:0, from EventContext.h:42, from Socket.h:43, from UDPSocket.h:44, from UDPSocket.cpp:52: OSHashTable.h: In instantiation of 'OSHashTable::OSHashTable(UInt32) [with T = OSRef; K = OSRefKey; UInt32 = unsigned int]': OSRef.h:177:86: required from here OSHashTable.h:46:22: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] fHashTable = new ( T*[size] ); ^~~~~~~~~~~~~~~~ OSHashTable.h: In instantiation of 'OSHashTable::OSHashTable(UInt32) [with T = UDPDemuxerTask; K = UDPDemuxerKey; UInt32 = unsigned int]': UDPDemuxer.h:142:62: required from here OSHashTable.h:46:22: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] c++ -fPIC -c -o UDPSocketPool.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../PlatformHeader.h -g -Wall -I. -I.. -I../APIStubLib -I../RTPMetaInfoLib -I../APICommonCode UDPSocketPool.cpp In file included from UDPDemuxer.h:38:0, from UDPSocketPool.h:37, from UDPSocketPool.cpp:33: OSHashTable.h: In instantiation of 'OSHashTable::OSHashTable(UInt32) [with T = UDPDemuxerTask; K = UDPDemuxerKey; UInt32 = unsigned int]': UDPDemuxer.h:142:62: required from here OSHashTable.h:46:22: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] fHashTable = new ( T*[size] ); ^~~~~~~~~~~~~~~~ OSHashTable.h: In instantiation of 'OSHashTable::OSHashTable(UInt32) [with T = OSRef; K = OSRefKey; UInt32 = unsigned int]': OSRef.h:177:86: required from here OSHashTable.h:46:22: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] c++ -fPIC -c -o ev.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../PlatformHeader.h -g -Wall -I. -I.. -I../APIStubLib -I../RTPMetaInfoLib -I../APICommonCode ev.cpp c++ -fPIC -c -o UserAgentParser.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../PlatformHeader.h -g -Wall -I. -I.. -I../APIStubLib -I../RTPMetaInfoLib -I../APICommonCode UserAgentParser.cpp In file included from UserAgentParser.cpp:37:0: StringFormatter.h: In member function 'void StringFormatter::PutFilePath(StrPtrLen*, StrPtrLen*)': StringFormatter.h:138:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Put(kPathDelimiterString); ^ c++ -fPIC -c -o QueryParamList.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../PlatformHeader.h -g -Wall -I. -I.. -I../APIStubLib -I../RTPMetaInfoLib -I../APICommonCode QueryParamList.cpp c++ -fPIC -c -o md5digest.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../PlatformHeader.h -g -Wall -I. -I.. -I../APIStubLib -I../RTPMetaInfoLib -I../APICommonCode md5digest.cpp md5digest.cpp:37:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sColon(":", 1); ^ md5digest.cpp:38:40: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sMD5Sess("md5-sess", 8); ^ md5digest.cpp:39:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sQopAuth("auth", 4); ^ md5digest.cpp:40:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sQopAuthInt("auth-int", 8); ^ md5digest.cpp:262:24: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char *dufr_id = "$dufr$"; ^~~~~~~~ c++ -fPIC -c -o SDPUtils.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../PlatformHeader.h -g -Wall -I. -I.. -I../APIStubLib -I../RTPMetaInfoLib -I../APICommonCode SDPUtils.cpp In file included from ResizeableStringFormatter.h:39:0, from SDPUtils.h:38, from SDPUtils.cpp:26: StringFormatter.h: In member function 'void StringFormatter::PutFilePath(StrPtrLen*, StrPtrLen*)': StringFormatter.h:138:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Put(kPathDelimiterString); ^ In file included from SDPUtils.cpp:26:0: SDPUtils.h: In member function 'Bool16 SDPContainer::HasLineType(char)': SDPUtils.h:92:95: warning: array subscript has type 'char' [-Wchar-subscripts] Bool16 HasLineType( char lineType ) { return (Bool16) (lineType == fFieldStr[lineType]) ; } ^ SDPUtils.cpp: In member function 'void SDPContainer::Parse()': SDPUtils.cpp:114:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] char* validChars = "vosiuepcbtrzkam"; ^~~~~~~~~~~~~~~~~ SDPUtils.cpp:143:28: warning: array subscript has type 'char' [-Wchar-subscripts] fFieldStr[firstChar] = firstChar; ^ SDPUtils.cpp: In member function 'void SDPContainer::Initialize()': SDPUtils.cpp:198:45: warning: 'memset' used with constant zero length parameter; this could be due to transposed parameters [-Wmemset-transposed-args] ::memset(fFieldStr, sizeof(fFieldStr), 0); ^ SDPUtils.cpp: At global scope: SDPUtils.cpp:248:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen SDPLineSorter::sEOL("\r\n"); ^ SDPUtils.cpp:249:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen SDPLineSorter::sMaxBandwidthTag("b=AS:"); ^ ar -r libCommonUtilitiesLib.a base64.o GetWord.o Trim.o md5.o atomic.o ConfParser.o DateTranslator.o EventContext.o IdleTask.o MyAssert.o OS.o OSCodeFragment.o OSCond.o OSFileSource.o OSHeap.o OSBufferPool.o OSMutex.o OSMutexRW.o OSQueue.o OSRef.o OSThread.o Socket.o SocketUtils.o ResizeableStringFormatter.o StringFormatter.o StringParser.o StringTranslator.o StrPtrLen.o Task.o TCPListenerSocket.o TCPSocket.o TimeoutTask.o UDPDemuxer.o UDPSocket.o UDPSocketPool.o ev.o UserAgentParser.o QueryParamList.o md5digest.o SDPUtils.o ar: creating libCommonUtilitiesLib.a ranlib libCommonUtilitiesLib.a c++ -fPIC -DDSS_USE_API_CALLBACKS -c -o QTAtom.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../PlatformHeader.h -g -Wall -I. -I../RTPMetaInfoLib -I../OSMemoryLib -I../APIStubLib -I../CommonUtilitiesLib QTAtom.cpp c++ -fPIC -DDSS_USE_API_CALLBACKS -c -o QTAtom_dref.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../PlatformHeader.h -g -Wall -I. -I../RTPMetaInfoLib -I../OSMemoryLib -I../APIStubLib -I../CommonUtilitiesLib QTAtom_dref.cpp c++ -fPIC -DDSS_USE_API_CALLBACKS -c -o QTAtom_elst.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../PlatformHeader.h -g -Wall -I. -I../RTPMetaInfoLib -I../OSMemoryLib -I../APIStubLib -I../CommonUtilitiesLib QTAtom_elst.cpp QTAtom_elst.cpp:150:31: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] DEEP_DEBUG_PRINT(("QTAtom_elst::Initialize ..Edit #%lu: Duration=%"_64BITARG_"u; MediaTime=%"_64BITARG_"d\n", CurEdit, fEdits[CurEdit].EditDuration, fEdits[CurEdit].StartingMediaTime)); ^ QTAtom_elst.cpp:150:90: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] DEEP_DEBUG_PRINT(("QTAtom_elst::Initialize ..Edit #%lu: Duration=%"_64BITARG_"u; MediaTime=%"_64BITARG_"d\n", CurEdit, fEdits[CurEdit].EditDuration, fEdits[CurEdit].StartingMediaTime)); ^ c++ -fPIC -DDSS_USE_API_CALLBACKS -c -o QTAtom_hinf.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../PlatformHeader.h -g -Wall -I. -I../RTPMetaInfoLib -I../OSMemoryLib -I../APIStubLib -I../CommonUtilitiesLib QTAtom_hinf.cpp QTAtom_hinf.cpp:190:18: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] DEBUG_PRINT(("QTAtom_hinf::DumpAtom - ..Total RTP bytes: %"_64BITARG_"u\n", this->GetTotalRTPBytes())); ^ QTAtom_hinf.cpp:194:18: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] DEBUG_PRINT(("QTAtom_hinf::DumpAtom - ..Total RTP packets: %"_64BITARG_"u\n", this->GetTotalRTPPackets())); ^ QTAtom_hinf.cpp:195:18: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] DEBUG_PRINT(("QTAtom_hinf::DumpAtom - ....Average packet size: %"_64BITARG_"u\n", this->GetTotalRTPBytes() / this->GetTotalRTPPackets())); ^ QTAtom_hinf.cpp:197:18: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] DEBUG_PRINT(("QTAtom_hinf::DumpAtom - ..Total Payload bytes: %"_64BITARG_"u\n", this->GetTotalPayLoadBytes())); ^ QTAtom_hinf.cpp:199:18: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] DEBUG_PRINT(("QTAtom_hinf::DumpAtom - ..Maximum Data Rate: %"_64BITARG_"u\n", this->GetMaxDataRate())); ^ QTAtom_hinf.cpp:200:18: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] DEBUG_PRINT(("QTAtom_hinf::DumpAtom - ..Total Media Track bytes: %"_64BITARG_"u\n", this->GetTotalMediaBytes())); ^ QTAtom_hinf.cpp:201:18: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] DEBUG_PRINT(("QTAtom_hinf::DumpAtom - ..Total Repeat Packet bytes: %"_64BITARG_"u\n", this->GetRepeatBytes())); ^ QTAtom_hinf.cpp:202:18: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] DEBUG_PRINT(("QTAtom_hinf::DumpAtom - ..Total Immediate Bytes: %"_64BITARG_"u\n", this->GetTotalImmediateBytes())); ^ c++ -fPIC -DDSS_USE_API_CALLBACKS -c -o QTAtom_mdhd.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../PlatformHeader.h -g -Wall -I. -I../RTPMetaInfoLib -I../OSMemoryLib -I../APIStubLib -I../CommonUtilitiesLib QTAtom_mdhd.cpp QTAtom_mdhd.cpp:104:31: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] DEEP_DEBUG_PRINT(("QTAtom_mdhd::Initialize failed. Expected AtomDataLength == 24 version: %d AtomDataLength: %"_64BITARG_"u\n",fVersion, fTOCEntry.AtomDataLength)); ^ QTAtom_mdhd.cpp:120:31: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] DEEP_DEBUG_PRINT(("QTAtom_mdhd::Initialize failed. Expected AtomDataLength == 36 version: %d AtomDataLength: %"_64BITARG_"u\n",fVersion, fTOCEntry.AtomDataLength)); ^ c++ -fPIC -DDSS_USE_API_CALLBACKS -c -o QTAtom_mvhd.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../PlatformHeader.h -g -Wall -I. -I../RTPMetaInfoLib -I../OSMemoryLib -I../APIStubLib -I../CommonUtilitiesLib QTAtom_mvhd.cpp QTAtom_mvhd.cpp:137:31: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] DEEP_DEBUG_PRINT(("QTAtom_mvhd::Initialize failed. Expected AtomDataLength == 100 version: %d AtomDataLength: %"_64BITARG_"u\n",fVersion, fTOCEntry.AtomDataLength)); ^ QTAtom_mvhd.cpp:172:31: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] DEEP_DEBUG_PRINT(("QTAtom_mvhd::Initialize failed. Expected AtomDataLength = 112 version: %d AtomDataLength: %"_64BITARG_"u\n",fVersion, fTOCEntry.AtomDataLength)); ^ c++ -fPIC -DDSS_USE_API_CALLBACKS -c -o QTAtom_stco.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../PlatformHeader.h -g -Wall -I. -I../RTPMetaInfoLib -I../OSMemoryLib -I../APIStubLib -I../CommonUtilitiesLib QTAtom_stco.cpp QTAtom_stco.cpp:145:25: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] qtss_printf(" %10lu: %"_64BITARG_"u\n", CurEntry, offset); ^ c++ -fPIC -DDSS_USE_API_CALLBACKS -c -o QTAtom_stsc.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../PlatformHeader.h -g -Wall -I. -I../RTPMetaInfoLib -I../OSMemoryLib -I../APIStubLib -I../CommonUtilitiesLib QTAtom_stsc.cpp QTAtom_stsc.cpp: In member function 'UInt32 QTAtom_stsc::GetChunkFirstSample(UInt32)': QTAtom_stsc.cpp:335:17: warning: variable 'thisChunk' set but not used [-Wunused-but-set-variable] UInt32 thisChunk = 0; ^~~~~~~~~ c++ -fPIC -DDSS_USE_API_CALLBACKS -c -o QTAtom_stsd.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../PlatformHeader.h -g -Wall -I. -I../RTPMetaInfoLib -I../OSMemoryLib -I../APIStubLib -I../CommonUtilitiesLib QTAtom_stsd.cpp c++ -fPIC -DDSS_USE_API_CALLBACKS -c -o QTAtom_stss.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../PlatformHeader.h -g -Wall -I. -I../RTPMetaInfoLib -I../OSMemoryLib -I../APIStubLib -I../CommonUtilitiesLib QTAtom_stss.cpp c++ -fPIC -DDSS_USE_API_CALLBACKS -c -o QTAtom_stsz.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../PlatformHeader.h -g -Wall -I. -I../RTPMetaInfoLib -I../OSMemoryLib -I../APIStubLib -I../CommonUtilitiesLib QTAtom_stsz.cpp c++ -fPIC -DDSS_USE_API_CALLBACKS -c -o QTAtom_stts.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../PlatformHeader.h -g -Wall -I. -I../RTPMetaInfoLib -I../OSMemoryLib -I../APIStubLib -I../CommonUtilitiesLib QTAtom_stts.cpp c++ -fPIC -DDSS_USE_API_CALLBACKS -c -o QTAtom_tkhd.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../PlatformHeader.h -g -Wall -I. -I../RTPMetaInfoLib -I../OSMemoryLib -I../APIStubLib -I../CommonUtilitiesLib QTAtom_tkhd.cpp QTAtom_tkhd.cpp:128:31: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] DEEP_DEBUG_PRINT(("QTAtom_tkhd::Initialize failed. Expected AtomDataLength == 84 version: %d AtomDataLength: %"_64BITARG_"u\n",fVersion, fTOCEntry.AtomDataLength)); ^ QTAtom_tkhd.cpp:157:31: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] DEEP_DEBUG_PRINT(("QTAtom_tkhd::Initialize failed. Expected AtomDataLength == 96 version: %d AtomDataLength: %"_64BITARG_"u\n",fVersion, fTOCEntry.AtomDataLength)); ^ c++ -fPIC -DDSS_USE_API_CALLBACKS -c -o QTAtom_tref.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../PlatformHeader.h -g -Wall -I. -I../RTPMetaInfoLib -I../OSMemoryLib -I../APIStubLib -I../CommonUtilitiesLib QTAtom_tref.cpp c++ -fPIC -DDSS_USE_API_CALLBACKS -c -o QTFile.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../PlatformHeader.h -g -Wall -I. -I../RTPMetaInfoLib -I../OSMemoryLib -I../APIStubLib -I../CommonUtilitiesLib QTFile.cpp QTFile.cpp:744:31: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] DEEP_DEBUG_PRINT(("QTFile::GenerateAtomTOC - Bail atom is bad. type= '%c%c%c%c'; pos=%"_64BITARG_"u; length=%"_64BITARG_"u; header=%lu.\n", ^ QTFile.cpp:744:110: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] DEEP_DEBUG_PRINT(("QTFile::GenerateAtomTOC - Bail atom is bad. type= '%c%c%c%c'; pos=%"_64BITARG_"u; length=%"_64BITARG_"u; header=%lu.\n", ^ QTFile.cpp:755:32: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] { DEEP_DEBUG_PRINT(("QTFile::GenerateAtomTOC - Found 64 bit atom '%c%c%c%c'; pos=%"_64BITARG_"u; length=%"_64BITARG_"u; header=%lu.\n", ^ QTFile.cpp:755:105: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] { DEEP_DEBUG_PRINT(("QTFile::GenerateAtomTOC - Found 64 bit atom '%c%c%c%c'; pos=%"_64BITARG_"u; length=%"_64BITARG_"u; header=%lu.\n", ^ QTFile.cpp:763:32: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] { DEEP_DEBUG_PRINT(("QTFile::GenerateAtomTOC - Found 32 bit atom '%c%c%c%c'; pos=%"_64BITARG_"u; length=%"_64BITARG_"u; header=%lu.\n", ^ QTFile.cpp:763:105: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] { DEEP_DEBUG_PRINT(("QTFile::GenerateAtomTOC - Found 32 bit atom '%c%c%c%c'; pos=%"_64BITARG_"u; length=%"_64BITARG_"u; header=%lu.\n", ^ QTFile.cpp:952:22: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] DEBUG_PRINT(("%s[%03lu] AtomType=%c%c%c%c; AtomDataPos=%"_64BITARG_"u; AtomDataLength=%"_64BITARG_"u\n", ^ QTFile.cpp:952:76: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] DEBUG_PRINT(("%s[%03lu] AtomType=%c%c%c%c; AtomDataPos=%"_64BITARG_"u; AtomDataLength=%"_64BITARG_"u\n", ^ QTFile.cpp: In member function 'QTFile::ErrorCode QTFile::Open(const char*)': QTFile.cpp:188:110: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] QTSS_Error error = QTSS_GetAttrInfoByName(fMovieFD, "QTSSPosixFileSysModuleOSFileSource", &attrInfoObject); ^ c++ -fPIC -DDSS_USE_API_CALLBACKS -c -o QTFile_FileControlBlock.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../PlatformHeader.h -g -Wall -I. -I../RTPMetaInfoLib -I../OSMemoryLib -I../APIStubLib -I../CommonUtilitiesLib QTFile_FileControlBlock.cpp c++ -fPIC -DDSS_USE_API_CALLBACKS -c -o QTHintTrack.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../PlatformHeader.h -g -Wall -I. -I../RTPMetaInfoLib -I../OSMemoryLib -I../APIStubLib -I../CommonUtilitiesLib QTHintTrack.cpp QTHintTrack.cpp: In member function 'QTTrack::ErrorCode QTHintTrack::GetPacket(UInt32, UInt16, char*, UInt32*, Float64*, Bool16, Bool16, UInt32, QTHintTrack_HintTrackControlBlock*)': QTHintTrack.cpp:1154:18: warning: variable 'pDataTableStart' set but not used [-Wunused-but-set-variable] char *pDataTableStart; ^~~~~~~~~~~~~~~ QTHintTrack.cpp:1254:26: warning: 'hdrData.QTHintTrackRTPHeaderData::tlvTimestampOffset' may be used uninitialized in this function [-Wmaybe-uninitialized] tempInt32 += hdrData.tlvTimestampOffset; // rtpo tlv offset ~~~~~~~~^~~~~~~~~~~~~~~~~~ QTHintTrack.cpp:560:62: warning: 'hdrData.QTHintTrackRTPHeaderData::dataEntryCount' may be used uninitialized in this function [-Wmaybe-uninitialized] htcb.fPointerToNextPacket = pSampleBuffer + (hdrData.dataEntryCount * 16); ~~~~~~~~^~~~~~~~~~~~~~ QTHintTrack.cpp:1159:33: note: 'hdrData.QTHintTrackRTPHeaderData::dataEntryCount' was declared here QTHintTrackRTPHeaderData hdrData; ^~~~~~~ QTHintTrack.cpp:1159:33: warning: 'hdrData.QTHintTrackRTPHeaderData::hintFlags' may be used uninitialized in this function [-Wmaybe-uninitialized] QTHintTrack.cpp:1203:64: warning: 'hdrData.QTHintTrackRTPHeaderData::relativePacketTransmissionTime' may be used uninitialized in this function [-Wmaybe-uninitialized] + ( hdrData.relativePacketTransmissionTime * fMediaHeaderAtom->GetTimeScaleRecip() ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ QTHintTrack.cpp:1222:22: warning: 'hdrData.QTHintTrackRTPHeaderData::rtpSequenceNumber' may be used uninitialized in this function [-Wmaybe-uninitialized] DEEP_DEBUG_PRINT(("QTHintTrack::GetPacket - ..rtpTimestamp=%lu; rtpSequenceNumber=%u; transmitTime=%.2f\n", rtpTimestamp, hdrData.rtpSequenceNumber, *transmitTime)); ^ QTHintTrack.cpp:1243:39: warning: 'hdrData.QTHintTrackRTPHeaderData::rtpHeaderBits' may be used uninitialized in this function [-Wmaybe-uninitialized] tempInt16 = hdrData.rtpHeaderBits | ntohs(0x8000) /* v2 RTP header */; ^ c++ -fPIC -DDSS_USE_API_CALLBACKS -c -o QTRTPFile.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../PlatformHeader.h -g -Wall -I. -I../RTPMetaInfoLib -I../OSMemoryLib -I../APIStubLib -I../CommonUtilitiesLib QTRTPFile.cpp c++ -fPIC -DDSS_USE_API_CALLBACKS -c -o QTTrack.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../PlatformHeader.h -g -Wall -I. -I../RTPMetaInfoLib -I../OSMemoryLib -I../APIStubLib -I../CommonUtilitiesLib QTTrack.cpp c++ -fPIC -DDSS_USE_API_CALLBACKS -c -o ../SafeStdLib/InternalStdLib.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../PlatformHeader.h -g -Wall -I. -I../RTPMetaInfoLib -I../OSMemoryLib -I../APIStubLib -I../CommonUtilitiesLib ../SafeStdLib/InternalStdLib.cpp ../SafeStdLib/InternalStdLib.cpp: In function 'int qtss_maxprintf(const char*, ...)': ../SafeStdLib/InternalStdLib.cpp:70:92: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'UInt32 {aka unsigned int}' [-Wformat=] printf ("\nReached maximum configured output limit = %luK\n", sMaxTotalCharsInK); ^ ar -r libQTFileLib.a QTAtom.o QTAtom_dref.o QTAtom_elst.o QTAtom_hinf.o QTAtom_mdhd.o QTAtom_mvhd.o QTAtom_stco.o QTAtom_stsc.o QTAtom_stsd.o QTAtom_stss.o QTAtom_stsz.o QTAtom_stts.o QTAtom_tkhd.o QTAtom_tref.o QTFile.o QTFile_FileControlBlock.o QTHintTrack.o QTRTPFile.o QTTrack.o ../SafeStdLib/InternalStdLib.o ar: creating libQTFileLib.a ranlib libQTFileLib.a c++ -fPIC -c -o QTAtom.xo -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../PlatformHeader.h -g -Wall -I. -I../RTPMetaInfoLib -I../OSMemoryLib -I../APIStubLib -I../CommonUtilitiesLib QTAtom.cpp c++ -fPIC -c -o QTAtom_dref.xo -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../PlatformHeader.h -g -Wall -I. -I../RTPMetaInfoLib -I../OSMemoryLib -I../APIStubLib -I../CommonUtilitiesLib QTAtom_dref.cpp c++ -fPIC -c -o QTAtom_elst.xo -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../PlatformHeader.h -g -Wall -I. -I../RTPMetaInfoLib -I../OSMemoryLib -I../APIStubLib -I../CommonUtilitiesLib QTAtom_elst.cpp QTAtom_elst.cpp:150:31: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] DEEP_DEBUG_PRINT(("QTAtom_elst::Initialize ..Edit #%lu: Duration=%"_64BITARG_"u; MediaTime=%"_64BITARG_"d\n", CurEdit, fEdits[CurEdit].EditDuration, fEdits[CurEdit].StartingMediaTime)); ^ QTAtom_elst.cpp:150:90: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] DEEP_DEBUG_PRINT(("QTAtom_elst::Initialize ..Edit #%lu: Duration=%"_64BITARG_"u; MediaTime=%"_64BITARG_"d\n", CurEdit, fEdits[CurEdit].EditDuration, fEdits[CurEdit].StartingMediaTime)); ^ c++ -fPIC -c -o QTAtom_hinf.xo -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../PlatformHeader.h -g -Wall -I. -I../RTPMetaInfoLib -I../OSMemoryLib -I../APIStubLib -I../CommonUtilitiesLib QTAtom_hinf.cpp QTAtom_hinf.cpp:190:18: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] DEBUG_PRINT(("QTAtom_hinf::DumpAtom - ..Total RTP bytes: %"_64BITARG_"u\n", this->GetTotalRTPBytes())); ^ QTAtom_hinf.cpp:194:18: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] DEBUG_PRINT(("QTAtom_hinf::DumpAtom - ..Total RTP packets: %"_64BITARG_"u\n", this->GetTotalRTPPackets())); ^ QTAtom_hinf.cpp:195:18: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] DEBUG_PRINT(("QTAtom_hinf::DumpAtom - ....Average packet size: %"_64BITARG_"u\n", this->GetTotalRTPBytes() / this->GetTotalRTPPackets())); ^ QTAtom_hinf.cpp:197:18: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] DEBUG_PRINT(("QTAtom_hinf::DumpAtom - ..Total Payload bytes: %"_64BITARG_"u\n", this->GetTotalPayLoadBytes())); ^ QTAtom_hinf.cpp:199:18: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] DEBUG_PRINT(("QTAtom_hinf::DumpAtom - ..Maximum Data Rate: %"_64BITARG_"u\n", this->GetMaxDataRate())); ^ QTAtom_hinf.cpp:200:18: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] DEBUG_PRINT(("QTAtom_hinf::DumpAtom - ..Total Media Track bytes: %"_64BITARG_"u\n", this->GetTotalMediaBytes())); ^ QTAtom_hinf.cpp:201:18: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] DEBUG_PRINT(("QTAtom_hinf::DumpAtom - ..Total Repeat Packet bytes: %"_64BITARG_"u\n", this->GetRepeatBytes())); ^ QTAtom_hinf.cpp:202:18: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] DEBUG_PRINT(("QTAtom_hinf::DumpAtom - ..Total Immediate Bytes: %"_64BITARG_"u\n", this->GetTotalImmediateBytes())); ^ c++ -fPIC -c -o QTAtom_mdhd.xo -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../PlatformHeader.h -g -Wall -I. -I../RTPMetaInfoLib -I../OSMemoryLib -I../APIStubLib -I../CommonUtilitiesLib QTAtom_mdhd.cpp QTAtom_mdhd.cpp:104:31: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] DEEP_DEBUG_PRINT(("QTAtom_mdhd::Initialize failed. Expected AtomDataLength == 24 version: %d AtomDataLength: %"_64BITARG_"u\n",fVersion, fTOCEntry.AtomDataLength)); ^ QTAtom_mdhd.cpp:120:31: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] DEEP_DEBUG_PRINT(("QTAtom_mdhd::Initialize failed. Expected AtomDataLength == 36 version: %d AtomDataLength: %"_64BITARG_"u\n",fVersion, fTOCEntry.AtomDataLength)); ^ c++ -fPIC -c -o QTAtom_mvhd.xo -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../PlatformHeader.h -g -Wall -I. -I../RTPMetaInfoLib -I../OSMemoryLib -I../APIStubLib -I../CommonUtilitiesLib QTAtom_mvhd.cpp QTAtom_mvhd.cpp:137:31: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] DEEP_DEBUG_PRINT(("QTAtom_mvhd::Initialize failed. Expected AtomDataLength == 100 version: %d AtomDataLength: %"_64BITARG_"u\n",fVersion, fTOCEntry.AtomDataLength)); ^ QTAtom_mvhd.cpp:172:31: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] DEEP_DEBUG_PRINT(("QTAtom_mvhd::Initialize failed. Expected AtomDataLength = 112 version: %d AtomDataLength: %"_64BITARG_"u\n",fVersion, fTOCEntry.AtomDataLength)); ^ c++ -fPIC -c -o QTAtom_stco.xo -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../PlatformHeader.h -g -Wall -I. -I../RTPMetaInfoLib -I../OSMemoryLib -I../APIStubLib -I../CommonUtilitiesLib QTAtom_stco.cpp QTAtom_stco.cpp:145:25: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] qtss_printf(" %10lu: %"_64BITARG_"u\n", CurEntry, offset); ^ c++ -fPIC -c -o QTAtom_stsc.xo -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../PlatformHeader.h -g -Wall -I. -I../RTPMetaInfoLib -I../OSMemoryLib -I../APIStubLib -I../CommonUtilitiesLib QTAtom_stsc.cpp QTAtom_stsc.cpp: In member function 'UInt32 QTAtom_stsc::GetChunkFirstSample(UInt32)': QTAtom_stsc.cpp:335:17: warning: variable 'thisChunk' set but not used [-Wunused-but-set-variable] UInt32 thisChunk = 0; ^~~~~~~~~ c++ -fPIC -c -o QTAtom_stsd.xo -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../PlatformHeader.h -g -Wall -I. -I../RTPMetaInfoLib -I../OSMemoryLib -I../APIStubLib -I../CommonUtilitiesLib QTAtom_stsd.cpp c++ -fPIC -c -o QTAtom_stss.xo -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../PlatformHeader.h -g -Wall -I. -I../RTPMetaInfoLib -I../OSMemoryLib -I../APIStubLib -I../CommonUtilitiesLib QTAtom_stss.cpp c++ -fPIC -c -o QTAtom_stsz.xo -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../PlatformHeader.h -g -Wall -I. -I../RTPMetaInfoLib -I../OSMemoryLib -I../APIStubLib -I../CommonUtilitiesLib QTAtom_stsz.cpp c++ -fPIC -c -o QTAtom_stts.xo -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../PlatformHeader.h -g -Wall -I. -I../RTPMetaInfoLib -I../OSMemoryLib -I../APIStubLib -I../CommonUtilitiesLib QTAtom_stts.cpp c++ -fPIC -c -o QTAtom_tkhd.xo -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../PlatformHeader.h -g -Wall -I. -I../RTPMetaInfoLib -I../OSMemoryLib -I../APIStubLib -I../CommonUtilitiesLib QTAtom_tkhd.cpp QTAtom_tkhd.cpp:128:31: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] DEEP_DEBUG_PRINT(("QTAtom_tkhd::Initialize failed. Expected AtomDataLength == 84 version: %d AtomDataLength: %"_64BITARG_"u\n",fVersion, fTOCEntry.AtomDataLength)); ^ QTAtom_tkhd.cpp:157:31: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] DEEP_DEBUG_PRINT(("QTAtom_tkhd::Initialize failed. Expected AtomDataLength == 96 version: %d AtomDataLength: %"_64BITARG_"u\n",fVersion, fTOCEntry.AtomDataLength)); ^ c++ -fPIC -c -o QTAtom_tref.xo -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../PlatformHeader.h -g -Wall -I. -I../RTPMetaInfoLib -I../OSMemoryLib -I../APIStubLib -I../CommonUtilitiesLib QTAtom_tref.cpp c++ -fPIC -c -o QTFile.xo -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../PlatformHeader.h -g -Wall -I. -I../RTPMetaInfoLib -I../OSMemoryLib -I../APIStubLib -I../CommonUtilitiesLib QTFile.cpp QTFile.cpp:744:31: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] DEEP_DEBUG_PRINT(("QTFile::GenerateAtomTOC - Bail atom is bad. type= '%c%c%c%c'; pos=%"_64BITARG_"u; length=%"_64BITARG_"u; header=%lu.\n", ^ QTFile.cpp:744:110: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] DEEP_DEBUG_PRINT(("QTFile::GenerateAtomTOC - Bail atom is bad. type= '%c%c%c%c'; pos=%"_64BITARG_"u; length=%"_64BITARG_"u; header=%lu.\n", ^ QTFile.cpp:755:32: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] { DEEP_DEBUG_PRINT(("QTFile::GenerateAtomTOC - Found 64 bit atom '%c%c%c%c'; pos=%"_64BITARG_"u; length=%"_64BITARG_"u; header=%lu.\n", ^ QTFile.cpp:755:105: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] { DEEP_DEBUG_PRINT(("QTFile::GenerateAtomTOC - Found 64 bit atom '%c%c%c%c'; pos=%"_64BITARG_"u; length=%"_64BITARG_"u; header=%lu.\n", ^ QTFile.cpp:763:32: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] { DEEP_DEBUG_PRINT(("QTFile::GenerateAtomTOC - Found 32 bit atom '%c%c%c%c'; pos=%"_64BITARG_"u; length=%"_64BITARG_"u; header=%lu.\n", ^ QTFile.cpp:763:105: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] { DEEP_DEBUG_PRINT(("QTFile::GenerateAtomTOC - Found 32 bit atom '%c%c%c%c'; pos=%"_64BITARG_"u; length=%"_64BITARG_"u; header=%lu.\n", ^ QTFile.cpp:952:22: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] DEBUG_PRINT(("%s[%03lu] AtomType=%c%c%c%c; AtomDataPos=%"_64BITARG_"u; AtomDataLength=%"_64BITARG_"u\n", ^ QTFile.cpp:952:76: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] DEBUG_PRINT(("%s[%03lu] AtomType=%c%c%c%c; AtomDataPos=%"_64BITARG_"u; AtomDataLength=%"_64BITARG_"u\n", ^ c++ -fPIC -c -o QTFile_FileControlBlock.xo -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../PlatformHeader.h -g -Wall -I. -I../RTPMetaInfoLib -I../OSMemoryLib -I../APIStubLib -I../CommonUtilitiesLib QTFile_FileControlBlock.cpp c++ -fPIC -c -o QTHintTrack.xo -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../PlatformHeader.h -g -Wall -I. -I../RTPMetaInfoLib -I../OSMemoryLib -I../APIStubLib -I../CommonUtilitiesLib QTHintTrack.cpp QTHintTrack.cpp: In member function 'QTTrack::ErrorCode QTHintTrack::GetPacket(UInt32, UInt16, char*, UInt32*, Float64*, Bool16, Bool16, UInt32, QTHintTrack_HintTrackControlBlock*)': QTHintTrack.cpp:1154:18: warning: variable 'pDataTableStart' set but not used [-Wunused-but-set-variable] char *pDataTableStart; ^~~~~~~~~~~~~~~ QTHintTrack.cpp:1254:26: warning: 'hdrData.QTHintTrackRTPHeaderData::tlvTimestampOffset' may be used uninitialized in this function [-Wmaybe-uninitialized] tempInt32 += hdrData.tlvTimestampOffset; // rtpo tlv offset ~~~~~~~~^~~~~~~~~~~~~~~~~~ QTHintTrack.cpp:560:62: warning: 'hdrData.QTHintTrackRTPHeaderData::dataEntryCount' may be used uninitialized in this function [-Wmaybe-uninitialized] htcb.fPointerToNextPacket = pSampleBuffer + (hdrData.dataEntryCount * 16); ~~~~~~~~^~~~~~~~~~~~~~ QTHintTrack.cpp:1159:33: note: 'hdrData.QTHintTrackRTPHeaderData::dataEntryCount' was declared here QTHintTrackRTPHeaderData hdrData; ^~~~~~~ QTHintTrack.cpp:1159:33: warning: 'hdrData.QTHintTrackRTPHeaderData::hintFlags' may be used uninitialized in this function [-Wmaybe-uninitialized] QTHintTrack.cpp:1203:64: warning: 'hdrData.QTHintTrackRTPHeaderData::relativePacketTransmissionTime' may be used uninitialized in this function [-Wmaybe-uninitialized] + ( hdrData.relativePacketTransmissionTime * fMediaHeaderAtom->GetTimeScaleRecip() ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ QTHintTrack.cpp:1222:22: warning: 'hdrData.QTHintTrackRTPHeaderData::rtpSequenceNumber' may be used uninitialized in this function [-Wmaybe-uninitialized] DEEP_DEBUG_PRINT(("QTHintTrack::GetPacket - ..rtpTimestamp=%lu; rtpSequenceNumber=%u; transmitTime=%.2f\n", rtpTimestamp, hdrData.rtpSequenceNumber, *transmitTime)); ^ QTHintTrack.cpp:1243:39: warning: 'hdrData.QTHintTrackRTPHeaderData::rtpHeaderBits' may be used uninitialized in this function [-Wmaybe-uninitialized] tempInt16 = hdrData.rtpHeaderBits | ntohs(0x8000) /* v2 RTP header */; ^ c++ -fPIC -c -o QTRTPFile.xo -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../PlatformHeader.h -g -Wall -I. -I../RTPMetaInfoLib -I../OSMemoryLib -I../APIStubLib -I../CommonUtilitiesLib QTRTPFile.cpp c++ -fPIC -c -o QTTrack.xo -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../PlatformHeader.h -g -Wall -I. -I../RTPMetaInfoLib -I../OSMemoryLib -I../APIStubLib -I../CommonUtilitiesLib QTTrack.cpp c++ -fPIC -c -o ../SafeStdLib/InternalStdLib.xo -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../PlatformHeader.h -g -Wall -I. -I../RTPMetaInfoLib -I../OSMemoryLib -I../APIStubLib -I../CommonUtilitiesLib ../SafeStdLib/InternalStdLib.cpp ../SafeStdLib/InternalStdLib.cpp: In function 'int qtss_maxprintf(const char*, ...)': ../SafeStdLib/InternalStdLib.cpp:70:92: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'UInt32 {aka unsigned int}' [-Wformat=] printf ("\nReached maximum configured output limit = %luK\n", sMaxTotalCharsInK); ^ ar -r libQTFileExternalLib.a QTAtom.xo QTAtom_dref.xo QTAtom_elst.xo QTAtom_hinf.xo QTAtom_mdhd.xo QTAtom_mvhd.xo QTAtom_stco.xo QTAtom_stsc.xo QTAtom_stsd.xo QTAtom_stss.xo QTAtom_stsz.xo QTAtom_stts.xo QTAtom_tkhd.xo QTAtom_tref.xo QTFile.xo QTFile_FileControlBlock.xo QTHintTrack.xo QTRTPFile.xo QTTrack.xo ../SafeStdLib/InternalStdLib.xo ar: creating libQTFileExternalLib.a ranlib libQTFileExternalLib.a gcc -c -o CommonUtilitiesLib/daemon.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -DDSS_USE_API_CALLBACKS -g -Wall -Wno-format-y2k -include PlatformHeader.h -I. -IQTFileLib -IOSMemoryLib -IRTSPClientLib -IAPIModules -IAPICommonCode -IAPIModules/OSMemory_Modules -IAPIModules/QTSSAccessLogModule -IAPIModules/QTSSFileModule -IAPIModules/QTSSFlowControlModule -IAPIModules/QTSSReflectorModule -IAPIModules/QTSSSvrControlModule -IAPIModules/QTSSWebDebugModule -IAPIModules/QTSSWebStatsModule -IAPIModules/QTSSAuthorizeModule -IAPIModules/QTSSPOSIXFileSysModule -IAPIModules/QTSSAdminModule -IAPIModules/QTSSMP3StreamingModule -IAPIModules/QTSSRTPFileModule -IAPIModules/QTSSAccessModule -IAPIModules/QTSSHttpFileModule -IQTFileTools/RTPFileGen.tproj -IAPIStubLib -ICommonUtilitiesLib -IRTCPUtilitiesLib -IHTTPUtilitiesLib -IRTPMetaInfoLib -IPrefsSourceLib -IServer.tproj CommonUtilitiesLib/daemon.c c++ -fPIC -c -o Server.tproj/QTSSExpirationDate.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -DDSS_USE_API_CALLBACKS -g -Wall -Wno-format-y2k -include PlatformHeader.h -I. -IQTFileLib -IOSMemoryLib -IRTSPClientLib -IAPIModules -IAPICommonCode -IAPIModules/OSMemory_Modules -IAPIModules/QTSSAccessLogModule -IAPIModules/QTSSFileModule -IAPIModules/QTSSFlowControlModule -IAPIModules/QTSSReflectorModule -IAPIModules/QTSSSvrControlModule -IAPIModules/QTSSWebDebugModule -IAPIModules/QTSSWebStatsModule -IAPIModules/QTSSAuthorizeModule -IAPIModules/QTSSPOSIXFileSysModule -IAPIModules/QTSSAdminModule -IAPIModules/QTSSMP3StreamingModule -IAPIModules/QTSSRTPFileModule -IAPIModules/QTSSAccessModule -IAPIModules/QTSSHttpFileModule -IQTFileTools/RTPFileGen.tproj -IAPIStubLib -ICommonUtilitiesLib -IRTCPUtilitiesLib -IHTTPUtilitiesLib -IRTPMetaInfoLib -IPrefsSourceLib -IServer.tproj Server.tproj/QTSSExpirationDate.cpp Server.tproj/QTSSExpirationDate.cpp:49:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] char* QTSSExpirationDate::sExpirationDate = "3/15/2002"; ^~~~~~~~~~~ Server.tproj/QTSSExpirationDate.cpp: In static member function 'static Bool16 QTSSExpirationDate::IsSoftwareExpired()': Server.tproj/QTSSExpirationDate.cpp:70:85: warning: format '%ld' expects argument of type 'long int*', but argument 3 has type 'SInt32* {aka int*}' [-Wformat=] if (EOF == ::sscanf(sExpirationDate, "%ld/%ld/%ld", &expMonth, &expDay, &expYear)) ~~~~~~~~~ ^ Server.tproj/QTSSExpirationDate.cpp:70:85: warning: format '%ld' expects argument of type 'long int*', but argument 4 has type 'SInt32* {aka int*}' [-Wformat=] Server.tproj/QTSSExpirationDate.cpp:70:85: warning: format '%ld' expects argument of type 'long int*', but argument 5 has type 'SInt32* {aka int*}' [-Wformat=] c++ -fPIC -c -o Server.tproj/QTSSCallbacks.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -DDSS_USE_API_CALLBACKS -g -Wall -Wno-format-y2k -include PlatformHeader.h -I. -IQTFileLib -IOSMemoryLib -IRTSPClientLib -IAPIModules -IAPICommonCode -IAPIModules/OSMemory_Modules -IAPIModules/QTSSAccessLogModule -IAPIModules/QTSSFileModule -IAPIModules/QTSSFlowControlModule -IAPIModules/QTSSReflectorModule -IAPIModules/QTSSSvrControlModule -IAPIModules/QTSSWebDebugModule -IAPIModules/QTSSWebStatsModule -IAPIModules/QTSSAuthorizeModule -IAPIModules/QTSSPOSIXFileSysModule -IAPIModules/QTSSAdminModule -IAPIModules/QTSSMP3StreamingModule -IAPIModules/QTSSRTPFileModule -IAPIModules/QTSSAccessModule -IAPIModules/QTSSHttpFileModule -IQTFileTools/RTPFileGen.tproj -IAPIStubLib -ICommonUtilitiesLib -IRTCPUtilitiesLib -IHTTPUtilitiesLib -IRTPMetaInfoLib -IPrefsSourceLib -IServer.tproj Server.tproj/QTSSCallbacks.cpp In file included from CommonUtilitiesLib/ResizeableStringFormatter.h:39:0, from Server.tproj/RTSPResponseStream.h:39, from Server.tproj/RTSPSessionInterface.h:38, from Server.tproj/RTSPRequestInterface.h:45, from Server.tproj/QTSSCallbacks.cpp:37: CommonUtilitiesLib/StringFormatter.h: In member function 'void StringFormatter::PutFilePath(StrPtrLen*, StrPtrLen*)': CommonUtilitiesLib/StringFormatter.h:138:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Put(kPathDelimiterString); ^ In file included from CommonUtilitiesLib/TimeoutTask.h:44:0, from Server.tproj/RTSPResponseStream.h:41, from Server.tproj/RTSPSessionInterface.h:38, from Server.tproj/RTSPRequestInterface.h:45, from Server.tproj/QTSSCallbacks.cpp:37: CommonUtilitiesLib/IdleTask.h: In constructor 'IdleTask::IdleTask()': CommonUtilitiesLib/IdleTask.h:78:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] IdleTask() : Task(), fIdleElem() { this->SetTaskName("IdleTask"); fIdleElem.SetEnclosingObject(this); } ^ In file included from Server.tproj/RTSPResponseStream.h:41:0, from Server.tproj/RTSPSessionInterface.h:38, from Server.tproj/RTSPRequestInterface.h:45, from Server.tproj/QTSSCallbacks.cpp:37: CommonUtilitiesLib/TimeoutTask.h: In constructor 'TimeoutTaskThread::TimeoutTaskThread()': CommonUtilitiesLib/TimeoutTask.h:58:96: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] TimeoutTaskThread() : IdleTask(), fMutex() {this->SetTaskName("TimeoutTask");} ^ In file included from Server.tproj/QTSServerInterface.h:50:0, from Server.tproj/RTPSessionInterface.h:48, from Server.tproj/RTPSession.h:48, from Server.tproj/QTSSCallbacks.cpp:38: CommonUtilitiesLib/TCPListenerSocket.h: In constructor 'TCPListenerSocket::TCPListenerSocket()': CommonUtilitiesLib/TCPListenerSocket.h:48:145: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] fAddr(0), fPort(0), fOutOfDescriptors(false), fSleepBetweenAccepts(false) {this->SetTaskName("TCPListenerSocket");} ^ Server.tproj/QTSSCallbacks.cpp: In static member function 'static QTSS_Error QTSSCallbacks::QTSS_UnlockObject(QTSS_Object)': Server.tproj/QTSSCallbacks.cpp:108:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (inDictionary == NULL) ^~ Server.tproj/QTSSCallbacks.cpp:111:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' ((QTSSDictionary*)inDictionary)->SetLocked(false); ^ Server.tproj/QTSSCallbacks.cpp: In static member function 'static QTSS_Error QTSSCallbacks::QTSS_Authorize(QTSS_RTSPRequestObject, char**, Bool16*)': Server.tproj/QTSSCallbacks.cpp:834:11: warning: variable 'curTask' set but not used [-Wunused-but-set-variable] Task* curTask = NULL; ^~~~~~~ In file included from CommonUtilitiesLib/OSRef.h:46:0, from CommonUtilitiesLib/EventContext.h:42, from CommonUtilitiesLib/Socket.h:43, from CommonUtilitiesLib/TCPSocket.h:46, from Server.tproj/RTSPRequestStream.h:42, from Server.tproj/RTSPSessionInterface.h:37, from Server.tproj/RTSPRequestInterface.h:45, from Server.tproj/QTSSCallbacks.cpp:37: CommonUtilitiesLib/OSHashTable.h: In instantiation of 'OSHashTable::OSHashTable(UInt32) [with T = OSRef; K = OSRefKey; UInt32 = unsigned int]': CommonUtilitiesLib/OSRef.h:177:86: required from here CommonUtilitiesLib/OSHashTable.h:46:22: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] fHashTable = new ( T*[size] ); ^~~~~~~~~~~~~~~~ CommonUtilitiesLib/OSHashTable.h: In instantiation of 'OSHashTable::OSHashTable(UInt32) [with T = UDPDemuxerTask; K = UDPDemuxerKey; UInt32 = unsigned int]': CommonUtilitiesLib/UDPDemuxer.h:142:62: required from here CommonUtilitiesLib/OSHashTable.h:46:22: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] c++ -fPIC -c -o Server.tproj/QTSSDictionary.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -DDSS_USE_API_CALLBACKS -g -Wall -Wno-format-y2k -include PlatformHeader.h -I. -IQTFileLib -IOSMemoryLib -IRTSPClientLib -IAPIModules -IAPICommonCode -IAPIModules/OSMemory_Modules -IAPIModules/QTSSAccessLogModule -IAPIModules/QTSSFileModule -IAPIModules/QTSSFlowControlModule -IAPIModules/QTSSReflectorModule -IAPIModules/QTSSSvrControlModule -IAPIModules/QTSSWebDebugModule -IAPIModules/QTSSWebStatsModule -IAPIModules/QTSSAuthorizeModule -IAPIModules/QTSSPOSIXFileSysModule -IAPIModules/QTSSAdminModule -IAPIModules/QTSSMP3StreamingModule -IAPIModules/QTSSRTPFileModule -IAPIModules/QTSSAccessModule -IAPIModules/QTSSHttpFileModule -IQTFileTools/RTPFileGen.tproj -IAPIStubLib -ICommonUtilitiesLib -IRTCPUtilitiesLib -IHTTPUtilitiesLib -IRTPMetaInfoLib -IPrefsSourceLib -IServer.tproj Server.tproj/QTSSDictionary.cpp Server.tproj/QTSSDictionary.cpp: In constructor 'QTSSDictionary::QTSSDictionary(QTSSDictionaryMap*, OSMutex*)': Server.tproj/QTSSDictionary.cpp:51:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (fMap != NULL) ^~ Server.tproj/QTSSDictionary.cpp:53:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (fMutexP == NULL) ^~ c++ -fPIC -c -o Server.tproj/QTSSDataConverter.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -DDSS_USE_API_CALLBACKS -g -Wall -Wno-format-y2k -include PlatformHeader.h -I. -IQTFileLib -IOSMemoryLib -IRTSPClientLib -IAPIModules -IAPICommonCode -IAPIModules/OSMemory_Modules -IAPIModules/QTSSAccessLogModule -IAPIModules/QTSSFileModule -IAPIModules/QTSSFlowControlModule -IAPIModules/QTSSReflectorModule -IAPIModules/QTSSSvrControlModule -IAPIModules/QTSSWebDebugModule -IAPIModules/QTSSWebStatsModule -IAPIModules/QTSSAuthorizeModule -IAPIModules/QTSSPOSIXFileSysModule -IAPIModules/QTSSAdminModule -IAPIModules/QTSSMP3StreamingModule -IAPIModules/QTSSRTPFileModule -IAPIModules/QTSSAccessModule -IAPIModules/QTSSHttpFileModule -IQTFileTools/RTPFileGen.tproj -IAPIStubLib -ICommonUtilitiesLib -IRTCPUtilitiesLib -IHTTPUtilitiesLib -IRTPMetaInfoLib -IPrefsSourceLib -IServer.tproj Server.tproj/QTSSDataConverter.cpp Server.tproj/QTSSDataConverter.cpp:205:25: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] theFormat = "%"_64BITARG_"d"; ^ Server.tproj/QTSSDataConverter.cpp:212:25: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] theFormat = "%"_64BITARG_"u"; ^ Server.tproj/QTSSDataConverter.cpp:233:25: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] theFormat = "%"_64BITARG_"d"; ^ Server.tproj/QTSSDataConverter.cpp:351:37: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] qtss_sprintf(theString, "%"_64BITARG_"d", *( SInt64*)inValue); ^ Server.tproj/QTSSDataConverter.cpp:355:37: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] qtss_sprintf(theString, "%"_64BITARG_"u", *( UInt64*)inValue); ^ Server.tproj/QTSSDataConverter.cpp:367:37: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] qtss_sprintf(theString, "%"_64BITARG_"d", *( SInt64*)inValue); ^ Server.tproj/QTSSDataConverter.cpp:44:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static const StrPtrLen kEnabledStr("true"); ^ Server.tproj/QTSSDataConverter.cpp:45:44: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static const StrPtrLen kDisabledStr("false"); ^ Server.tproj/QTSSDataConverter.cpp:64:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] }; ^ Server.tproj/QTSSDataConverter.cpp:64:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSDataConverter.cpp:64:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSDataConverter.cpp:64:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSDataConverter.cpp:64:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSDataConverter.cpp:64:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSDataConverter.cpp:64:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSDataConverter.cpp:64:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSDataConverter.cpp:64:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSDataConverter.cpp:64:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSDataConverter.cpp:64:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSDataConverter.cpp:64:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSDataConverter.cpp:64:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSDataConverter.cpp:64:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSDataConverter.cpp:64:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSDataConverter.cpp: In static member function 'static QTSS_Error QTSSDataConverter::StringToValue(char*, QTSS_AttrDataType, void*, UInt32*)': Server.tproj/QTSSDataConverter.cpp:177:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] theFormat = "%hu"; ^~~~~ Server.tproj/QTSSDataConverter.cpp:184:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] theFormat = "%hd"; ^~~~~ Server.tproj/QTSSDataConverter.cpp:191:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] theFormat = "%ld"; ^~~~~ Server.tproj/QTSSDataConverter.cpp:198:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] theFormat = "%lu"; ^~~~~ Server.tproj/QTSSDataConverter.cpp:205:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] theFormat = "%"_64BITARG_"d"; ^~~ Server.tproj/QTSSDataConverter.cpp:212:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] theFormat = "%"_64BITARG_"u"; ^~~ Server.tproj/QTSSDataConverter.cpp:219:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] theFormat = "%f"; ^~~~ Server.tproj/QTSSDataConverter.cpp:226:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] theFormat = "%f"; ^~~~ Server.tproj/QTSSDataConverter.cpp:233:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] theFormat = "%"_64BITARG_"d"; ^~~ Server.tproj/QTSSDataConverter.cpp: In static member function 'static QTSS_Error QTSSDataConverter::ConvertCHexStringToBytes(char*, void*, UInt32*)': Server.tproj/QTSSDataConverter.cpp:270:47: warning: array subscript has type 'char' [-Wchar-subscripts] char1 = sCharToNums[*inValueAsString++] * 16; ^ Server.tproj/QTSSDataConverter.cpp:272:51: warning: array subscript has type 'char' [-Wchar-subscripts] char2 = sCharToNums[*inValueAsString++]; ^ c++ -fPIC -c -o Server.tproj/QTSSErrorLogModule.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -DDSS_USE_API_CALLBACKS -g -Wall -Wno-format-y2k -include PlatformHeader.h -I. -IQTFileLib -IOSMemoryLib -IRTSPClientLib -IAPIModules -IAPICommonCode -IAPIModules/OSMemory_Modules -IAPIModules/QTSSAccessLogModule -IAPIModules/QTSSFileModule -IAPIModules/QTSSFlowControlModule -IAPIModules/QTSSReflectorModule -IAPIModules/QTSSSvrControlModule -IAPIModules/QTSSWebDebugModule -IAPIModules/QTSSWebStatsModule -IAPIModules/QTSSAuthorizeModule -IAPIModules/QTSSPOSIXFileSysModule -IAPIModules/QTSSAdminModule -IAPIModules/QTSSMP3StreamingModule -IAPIModules/QTSSRTPFileModule -IAPIModules/QTSSAccessModule -IAPIModules/QTSSHttpFileModule -IQTFileTools/RTPFileGen.tproj -IAPIStubLib -ICommonUtilitiesLib -IRTCPUtilitiesLib -IHTTPUtilitiesLib -IRTPMetaInfoLib -IPrefsSourceLib -IServer.tproj Server.tproj/QTSSErrorLogModule.cpp In file included from CommonUtilitiesLib/ResizeableStringFormatter.h:39:0, from PrefsSourceLib/XMLParser.h:32, from PrefsSourceLib/XMLPrefsParser.h:39, from Server.tproj/QTSSPrefs.h:40, from Server.tproj/QTSServerPrefs.h:36, from Server.tproj/QTSServerInterface.h:43, from Server.tproj/QTSSErrorLogModule.cpp:38: CommonUtilitiesLib/StringFormatter.h: In member function 'void StringFormatter::PutFilePath(StrPtrLen*, StrPtrLen*)': CommonUtilitiesLib/StringFormatter.h:138:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Put(kPathDelimiterString); ^ In file included from CommonUtilitiesLib/TCPListenerSocket.h:41:0, from Server.tproj/QTSServerInterface.h:50, from Server.tproj/QTSSErrorLogModule.cpp:38: CommonUtilitiesLib/IdleTask.h: In constructor 'IdleTask::IdleTask()': CommonUtilitiesLib/IdleTask.h:78:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] IdleTask() : Task(), fIdleElem() { this->SetTaskName("IdleTask"); fIdleElem.SetEnclosingObject(this); } ^ In file included from Server.tproj/QTSServerInterface.h:50:0, from Server.tproj/QTSSErrorLogModule.cpp:38: CommonUtilitiesLib/TCPListenerSocket.h: In constructor 'TCPListenerSocket::TCPListenerSocket()': CommonUtilitiesLib/TCPListenerSocket.h:48:145: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] fAddr(0), fPort(0), fOutOfDescriptors(false), fSleepBetweenAccepts(false) {this->SetTaskName("TCPListenerSocket");} ^ Server.tproj/QTSSErrorLogModule.cpp: At global scope: Server.tproj/QTSSErrorLogModule.cpp:70:1: warning: deprecated conversion from string constant to 'LevelMsg {aka char*}' [-Wwrite-strings] }; ^ Server.tproj/QTSSErrorLogModule.cpp:70:1: warning: deprecated conversion from string constant to 'LevelMsg {aka char*}' [-Wwrite-strings] Server.tproj/QTSSErrorLogModule.cpp:70:1: warning: deprecated conversion from string constant to 'LevelMsg {aka char*}' [-Wwrite-strings] Server.tproj/QTSSErrorLogModule.cpp:70:1: warning: deprecated conversion from string constant to 'LevelMsg {aka char*}' [-Wwrite-strings] Server.tproj/QTSSErrorLogModule.cpp:70:1: warning: deprecated conversion from string constant to 'LevelMsg {aka char*}' [-Wwrite-strings] Server.tproj/QTSSErrorLogModule.cpp: In constructor 'QTSSErrorLog::QTSSErrorLog()': Server.tproj/QTSSErrorLogModule.cpp:78:76: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] QTSSErrorLog() : QTSSRollingLog() {this->SetTaskName("QTSSErrorLog");} ^ Server.tproj/QTSSErrorLogModule.cpp: In constructor 'ErrorLogCheckTask::ErrorLogCheckTask()': Server.tproj/QTSSErrorLogModule.cpp:96:76: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] ErrorLogCheckTask() : Task() {this->SetTaskName("ErrorLogCheckTask"); this->Signal(Task::kStartEvent); } ^ Server.tproj/QTSSErrorLogModule.cpp: In function 'QTSS_Error Register(QTSS_Register_Params*)': Server.tproj/QTSSErrorLogModule.cpp:163:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sModuleName = "QTSSErrorLogModule"; ^~~~~~~~~~~~~~~~~~~~ In file included from CommonUtilitiesLib/OSRef.h:46:0, from CommonUtilitiesLib/EventContext.h:42, from CommonUtilitiesLib/Socket.h:43, from CommonUtilitiesLib/TCPSocket.h:46, from CommonUtilitiesLib/TCPListenerSocket.h:40, from Server.tproj/QTSServerInterface.h:50, from Server.tproj/QTSSErrorLogModule.cpp:38: CommonUtilitiesLib/OSHashTable.h: In instantiation of 'OSHashTable::OSHashTable(UInt32) [with T = OSRef; K = OSRefKey; UInt32 = unsigned int]': CommonUtilitiesLib/OSRef.h:177:86: required from here CommonUtilitiesLib/OSHashTable.h:46:22: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] fHashTable = new ( T*[size] ); ^~~~~~~~~~~~~~~~ c++ -fPIC -c -o Server.tproj/QTSSMessages.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -DDSS_USE_API_CALLBACKS -g -Wall -Wno-format-y2k -include PlatformHeader.h -I. -IQTFileLib -IOSMemoryLib -IRTSPClientLib -IAPIModules -IAPICommonCode -IAPIModules/OSMemory_Modules -IAPIModules/QTSSAccessLogModule -IAPIModules/QTSSFileModule -IAPIModules/QTSSFlowControlModule -IAPIModules/QTSSReflectorModule -IAPIModules/QTSSSvrControlModule -IAPIModules/QTSSWebDebugModule -IAPIModules/QTSSWebStatsModule -IAPIModules/QTSSAuthorizeModule -IAPIModules/QTSSPOSIXFileSysModule -IAPIModules/QTSSAdminModule -IAPIModules/QTSSMP3StreamingModule -IAPIModules/QTSSRTPFileModule -IAPIModules/QTSSAccessModule -IAPIModules/QTSSHttpFileModule -IQTFileTools/RTPFileGen.tproj -IAPIStubLib -ICommonUtilitiesLib -IRTCPUtilitiesLib -IHTTPUtilitiesLib -IRTPMetaInfoLib -IPrefsSourceLib -IServer.tproj Server.tproj/QTSSMessages.cpp Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] }; ^ Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] }; ^ Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] c++ -fPIC -c -o Server.tproj/QTSSModule.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -DDSS_USE_API_CALLBACKS -g -Wall -Wno-format-y2k -include PlatformHeader.h -I. -IQTFileLib -IOSMemoryLib -IRTSPClientLib -IAPIModules -IAPICommonCode -IAPIModules/OSMemory_Modules -IAPIModules/QTSSAccessLogModule -IAPIModules/QTSSFileModule -IAPIModules/QTSSFlowControlModule -IAPIModules/QTSSReflectorModule -IAPIModules/QTSSSvrControlModule -IAPIModules/QTSSWebDebugModule -IAPIModules/QTSSWebStatsModule -IAPIModules/QTSSAuthorizeModule -IAPIModules/QTSSPOSIXFileSysModule -IAPIModules/QTSSAdminModule -IAPIModules/QTSSMP3StreamingModule -IAPIModules/QTSSRTPFileModule -IAPIModules/QTSSAccessModule -IAPIModules/QTSSHttpFileModule -IQTFileTools/RTPFileGen.tproj -IAPIStubLib -ICommonUtilitiesLib -IRTCPUtilitiesLib -IHTTPUtilitiesLib -IRTPMetaInfoLib -IPrefsSourceLib -IServer.tproj Server.tproj/QTSSModule.cpp In file included from CommonUtilitiesLib/ResizeableStringFormatter.h:39:0, from PrefsSourceLib/XMLParser.h:32, from PrefsSourceLib/XMLPrefsParser.h:39, from Server.tproj/QTSSPrefs.h:40, from Server.tproj/QTSSModule.h:43, from Server.tproj/QTSSModule.cpp:35: CommonUtilitiesLib/StringFormatter.h: In member function 'void StringFormatter::PutFilePath(StrPtrLen*, StrPtrLen*)': CommonUtilitiesLib/StringFormatter.h:138:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Put(kPathDelimiterString); ^ In file included from CommonUtilitiesLib/TCPListenerSocket.h:41:0, from Server.tproj/QTSServerInterface.h:50, from Server.tproj/QTSSModule.cpp:40: CommonUtilitiesLib/IdleTask.h: In constructor 'IdleTask::IdleTask()': CommonUtilitiesLib/IdleTask.h:78:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] IdleTask() : Task(), fIdleElem() { this->SetTaskName("IdleTask"); fIdleElem.SetEnclosingObject(this); } ^ In file included from Server.tproj/QTSServerInterface.h:50:0, from Server.tproj/QTSSModule.cpp:40: CommonUtilitiesLib/TCPListenerSocket.h: In constructor 'TCPListenerSocket::TCPListenerSocket()': CommonUtilitiesLib/TCPListenerSocket.h:48:145: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] fAddr(0), fPort(0), fOutOfDescriptors(false), fSleepBetweenAccepts(false) {this->SetTaskName("TCPListenerSocket");} ^ Server.tproj/QTSSModule.cpp: In constructor 'QTSSModule::QTSSModule(char*, char*)': Server.tproj/QTSSModule.cpp:76:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] this->SetTaskName("QTSSModule"); ^ Server.tproj/QTSSModule.cpp: In member function 'QTSS_Error QTSSModule::LoadFromDisk(QTSS_Error (**)(void*))': Server.tproj/QTSSModule.cpp:146:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sMainEntrypointName("_Main"); ^ In file included from CommonUtilitiesLib/OSRef.h:46:0, from CommonUtilitiesLib/EventContext.h:42, from CommonUtilitiesLib/Socket.h:43, from Server.tproj/QTSSModule.cpp:39: CommonUtilitiesLib/OSHashTable.h: In instantiation of 'OSHashTable::OSHashTable(UInt32) [with T = OSRef; K = OSRefKey; UInt32 = unsigned int]': CommonUtilitiesLib/OSRef.h:177:86: required from here CommonUtilitiesLib/OSHashTable.h:46:22: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] fHashTable = new ( T*[size] ); ^~~~~~~~~~~~~~~~ c++ -fPIC -c -o Server.tproj/QTSServerPrefs.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -DDSS_USE_API_CALLBACKS -g -Wall -Wno-format-y2k -include PlatformHeader.h -I. -IQTFileLib -IOSMemoryLib -IRTSPClientLib -IAPIModules -IAPICommonCode -IAPIModules/OSMemory_Modules -IAPIModules/QTSSAccessLogModule -IAPIModules/QTSSFileModule -IAPIModules/QTSSFlowControlModule -IAPIModules/QTSSReflectorModule -IAPIModules/QTSSSvrControlModule -IAPIModules/QTSSWebDebugModule -IAPIModules/QTSSWebStatsModule -IAPIModules/QTSSAuthorizeModule -IAPIModules/QTSSPOSIXFileSysModule -IAPIModules/QTSSAdminModule -IAPIModules/QTSSMP3StreamingModule -IAPIModules/QTSSRTPFileModule -IAPIModules/QTSSAccessModule -IAPIModules/QTSSHttpFileModule -IQTFileTools/RTPFileGen.tproj -IAPIStubLib -ICommonUtilitiesLib -IRTCPUtilitiesLib -IHTTPUtilitiesLib -IRTPMetaInfoLib -IPrefsSourceLib -IServer.tproj Server.tproj/QTSServerPrefs.cpp In file included from CommonUtilitiesLib/ResizeableStringFormatter.h:39:0, from PrefsSourceLib/XMLParser.h:32, from PrefsSourceLib/XMLPrefsParser.h:39, from Server.tproj/QTSSPrefs.h:40, from Server.tproj/QTSServerPrefs.h:36, from Server.tproj/QTSServerPrefs.cpp:34: CommonUtilitiesLib/StringFormatter.h: In member function 'void StringFormatter::PutFilePath(StrPtrLen*, StrPtrLen*)': CommonUtilitiesLib/StringFormatter.h:138:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Put(kPathDelimiterString); ^ Server.tproj/QTSServerPrefs.cpp: At global scope: Server.tproj/QTSServerPrefs.cpp:54:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] }; ^ Server.tproj/QTSServerPrefs.cpp:54:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:54:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:60:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] }; ^ Server.tproj/QTSServerPrefs.cpp:66:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] }; ^ Server.tproj/QTSServerPrefs.cpp:73:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] }; ^ Server.tproj/QTSServerPrefs.cpp:73:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] }; ^ Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp: In member function 'void QTSServerPrefs::UpdateAuthScheme()': Server.tproj/QTSServerPrefs.cpp:518:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sNoAuthScheme("none"); ^ Server.tproj/QTSServerPrefs.cpp:519:46: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sBasicAuthScheme("basic"); ^ Server.tproj/QTSServerPrefs.cpp:520:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sDigestAuthScheme("digest"); ^ Server.tproj/QTSServerPrefs.cpp: In member function 'void QTSServerPrefs::UpdatePrintfOptions()': Server.tproj/QTSServerPrefs.cpp:581:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (theOptions->FindStringIgnoreCase("rtp")) ^ Server.tproj/QTSServerPrefs.cpp:583:46: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (theOptions->FindStringIgnoreCase("sr")) ^ Server.tproj/QTSServerPrefs.cpp:585:46: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (theOptions->FindStringIgnoreCase("rr")) ^ Server.tproj/QTSServerPrefs.cpp:587:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (theOptions->FindStringIgnoreCase("app")) ^ Server.tproj/QTSServerPrefs.cpp:589:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (theOptions->FindStringIgnoreCase("ack")) ^ c++ -fPIC -c -o Server.tproj/QTSSSocket.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -DDSS_USE_API_CALLBACKS -g -Wall -Wno-format-y2k -include PlatformHeader.h -I. -IQTFileLib -IOSMemoryLib -IRTSPClientLib -IAPIModules -IAPICommonCode -IAPIModules/OSMemory_Modules -IAPIModules/QTSSAccessLogModule -IAPIModules/QTSSFileModule -IAPIModules/QTSSFlowControlModule -IAPIModules/QTSSReflectorModule -IAPIModules/QTSSSvrControlModule -IAPIModules/QTSSWebDebugModule -IAPIModules/QTSSWebStatsModule -IAPIModules/QTSSAuthorizeModule -IAPIModules/QTSSPOSIXFileSysModule -IAPIModules/QTSSAdminModule -IAPIModules/QTSSMP3StreamingModule -IAPIModules/QTSSRTPFileModule -IAPIModules/QTSSAccessModule -IAPIModules/QTSSHttpFileModule -IQTFileTools/RTPFileGen.tproj -IAPIStubLib -ICommonUtilitiesLib -IRTCPUtilitiesLib -IHTTPUtilitiesLib -IRTPMetaInfoLib -IPrefsSourceLib -IServer.tproj Server.tproj/QTSSSocket.cpp In file included from CommonUtilitiesLib/OSRef.h:46:0, from CommonUtilitiesLib/EventContext.h:42, from Server.tproj/QTSSSocket.h:41, from Server.tproj/QTSSSocket.cpp:36: CommonUtilitiesLib/OSHashTable.h: In instantiation of 'OSHashTable::OSHashTable(UInt32) [with T = OSRef; K = OSRefKey; UInt32 = unsigned int]': CommonUtilitiesLib/OSRef.h:177:86: required from here CommonUtilitiesLib/OSHashTable.h:46:22: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] fHashTable = new ( T*[size] ); ^~~~~~~~~~~~~~~~ c++ -fPIC -c -o Server.tproj/QTSSFile.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -DDSS_USE_API_CALLBACKS -g -Wall -Wno-format-y2k -include PlatformHeader.h -I. -IQTFileLib -IOSMemoryLib -IRTSPClientLib -IAPIModules -IAPICommonCode -IAPIModules/OSMemory_Modules -IAPIModules/QTSSAccessLogModule -IAPIModules/QTSSFileModule -IAPIModules/QTSSFlowControlModule -IAPIModules/QTSSReflectorModule -IAPIModules/QTSSSvrControlModule -IAPIModules/QTSSWebDebugModule -IAPIModules/QTSSWebStatsModule -IAPIModules/QTSSAuthorizeModule -IAPIModules/QTSSPOSIXFileSysModule -IAPIModules/QTSSAdminModule -IAPIModules/QTSSMP3StreamingModule -IAPIModules/QTSSRTPFileModule -IAPIModules/QTSSAccessModule -IAPIModules/QTSSHttpFileModule -IQTFileTools/RTPFileGen.tproj -IAPIStubLib -ICommonUtilitiesLib -IRTCPUtilitiesLib -IHTTPUtilitiesLib -IRTPMetaInfoLib -IPrefsSourceLib -IServer.tproj Server.tproj/QTSSFile.cpp In file included from CommonUtilitiesLib/ResizeableStringFormatter.h:39:0, from PrefsSourceLib/XMLParser.h:32, from PrefsSourceLib/XMLPrefsParser.h:39, from Server.tproj/QTSSPrefs.h:40, from Server.tproj/QTSSModule.h:43, from Server.tproj/QTSSFile.h:36, from Server.tproj/QTSSFile.cpp:34: CommonUtilitiesLib/StringFormatter.h: In member function 'void StringFormatter::PutFilePath(StrPtrLen*, StrPtrLen*)': CommonUtilitiesLib/StringFormatter.h:138:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Put(kPathDelimiterString); ^ In file included from CommonUtilitiesLib/TCPListenerSocket.h:41:0, from Server.tproj/QTSServerInterface.h:50, from Server.tproj/QTSSFile.cpp:35: CommonUtilitiesLib/IdleTask.h: In constructor 'IdleTask::IdleTask()': CommonUtilitiesLib/IdleTask.h:78:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] IdleTask() : Task(), fIdleElem() { this->SetTaskName("IdleTask"); fIdleElem.SetEnclosingObject(this); } ^ In file included from Server.tproj/QTSServerInterface.h:50:0, from Server.tproj/QTSSFile.cpp:35: CommonUtilitiesLib/TCPListenerSocket.h: In constructor 'TCPListenerSocket::TCPListenerSocket()': CommonUtilitiesLib/TCPListenerSocket.h:48:145: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] fAddr(0), fPort(0), fOutOfDescriptors(false), fSleepBetweenAccepts(false) {this->SetTaskName("TCPListenerSocket");} ^ In file included from CommonUtilitiesLib/OSRef.h:46:0, from CommonUtilitiesLib/EventContext.h:42, from Server.tproj/QTSSFile.h:39, from Server.tproj/QTSSFile.cpp:34: CommonUtilitiesLib/OSHashTable.h: In instantiation of 'OSHashTable::OSHashTable(UInt32) [with T = OSRef; K = OSRefKey; UInt32 = unsigned int]': CommonUtilitiesLib/OSRef.h:177:86: required from here CommonUtilitiesLib/OSHashTable.h:46:22: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] fHashTable = new ( T*[size] ); ^~~~~~~~~~~~~~~~ c++ -fPIC -c -o Server.tproj/QTSSPrefs.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -DDSS_USE_API_CALLBACKS -g -Wall -Wno-format-y2k -include PlatformHeader.h -I. -IQTFileLib -IOSMemoryLib -IRTSPClientLib -IAPIModules -IAPICommonCode -IAPIModules/OSMemory_Modules -IAPIModules/QTSSAccessLogModule -IAPIModules/QTSSFileModule -IAPIModules/QTSSFlowControlModule -IAPIModules/QTSSReflectorModule -IAPIModules/QTSSSvrControlModule -IAPIModules/QTSSWebDebugModule -IAPIModules/QTSSWebStatsModule -IAPIModules/QTSSAuthorizeModule -IAPIModules/QTSSPOSIXFileSysModule -IAPIModules/QTSSAdminModule -IAPIModules/QTSSMP3StreamingModule -IAPIModules/QTSSRTPFileModule -IAPIModules/QTSSAccessModule -IAPIModules/QTSSHttpFileModule -IQTFileTools/RTPFileGen.tproj -IAPIStubLib -ICommonUtilitiesLib -IRTCPUtilitiesLib -IHTTPUtilitiesLib -IRTPMetaInfoLib -IPrefsSourceLib -IServer.tproj Server.tproj/QTSSPrefs.cpp In file included from CommonUtilitiesLib/ResizeableStringFormatter.h:39:0, from PrefsSourceLib/XMLParser.h:32, from PrefsSourceLib/XMLPrefsParser.h:39, from Server.tproj/QTSSPrefs.h:40, from Server.tproj/QTSSPrefs.cpp:34: CommonUtilitiesLib/StringFormatter.h: In member function 'void StringFormatter::PutFilePath(StrPtrLen*, StrPtrLen*)': CommonUtilitiesLib/StringFormatter.h:138:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Put(kPathDelimiterString); ^ c++ -fPIC -c -o Server.tproj/QTSServer.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -DDSS_USE_API_CALLBACKS -g -Wall -Wno-format-y2k -include PlatformHeader.h -I. -IQTFileLib -IOSMemoryLib -IRTSPClientLib -IAPIModules -IAPICommonCode -IAPIModules/OSMemory_Modules -IAPIModules/QTSSAccessLogModule -IAPIModules/QTSSFileModule -IAPIModules/QTSSFlowControlModule -IAPIModules/QTSSReflectorModule -IAPIModules/QTSSSvrControlModule -IAPIModules/QTSSWebDebugModule -IAPIModules/QTSSWebStatsModule -IAPIModules/QTSSAuthorizeModule -IAPIModules/QTSSPOSIXFileSysModule -IAPIModules/QTSSAdminModule -IAPIModules/QTSSMP3StreamingModule -IAPIModules/QTSSRTPFileModule -IAPIModules/QTSSAccessModule -IAPIModules/QTSSHttpFileModule -IQTFileTools/RTPFileGen.tproj -IAPIStubLib -ICommonUtilitiesLib -IRTCPUtilitiesLib -IHTTPUtilitiesLib -IRTPMetaInfoLib -IPrefsSourceLib -IServer.tproj Server.tproj/QTSServer.cpp In file included from CommonUtilitiesLib/ResizeableStringFormatter.h:39:0, from PrefsSourceLib/XMLParser.h:32, from PrefsSourceLib/XMLPrefsParser.h:39, from Server.tproj/QTSSPrefs.h:40, from Server.tproj/QTSServerPrefs.h:36, from Server.tproj/QTSServerInterface.h:43, from Server.tproj/QTSServer.h:38, from Server.tproj/QTSServer.cpp:47: CommonUtilitiesLib/StringFormatter.h: In member function 'void StringFormatter::PutFilePath(StrPtrLen*, StrPtrLen*)': CommonUtilitiesLib/StringFormatter.h:138:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Put(kPathDelimiterString); ^ In file included from CommonUtilitiesLib/TCPListenerSocket.h:41:0, from Server.tproj/QTSServerInterface.h:50, from Server.tproj/QTSServer.h:38, from Server.tproj/QTSServer.cpp:47: CommonUtilitiesLib/IdleTask.h: In constructor 'IdleTask::IdleTask()': CommonUtilitiesLib/IdleTask.h:78:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] IdleTask() : Task(), fIdleElem() { this->SetTaskName("IdleTask"); fIdleElem.SetEnclosingObject(this); } ^ In file included from Server.tproj/QTSServerInterface.h:50:0, from Server.tproj/QTSServer.h:38, from Server.tproj/QTSServer.cpp:47: CommonUtilitiesLib/TCPListenerSocket.h: In constructor 'TCPListenerSocket::TCPListenerSocket()': CommonUtilitiesLib/TCPListenerSocket.h:48:145: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] fAddr(0), fPort(0), fOutOfDescriptors(false), fSleepBetweenAccepts(false) {this->SetTaskName("TCPListenerSocket");} ^ In file included from Server.tproj/RTSPResponseStream.h:41:0, from Server.tproj/RTSPSessionInterface.h:38, from Server.tproj/RTSPRequestInterface.h:45, from Server.tproj/QTSServer.cpp:79: CommonUtilitiesLib/TimeoutTask.h: In constructor 'TimeoutTaskThread::TimeoutTaskThread()': CommonUtilitiesLib/TimeoutTask.h:58:96: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] TimeoutTaskThread() : IdleTask(), fMutex() {this->SetTaskName("TimeoutTask");} ^ In file included from Server.tproj/QTSServer.cpp:84:0: Server.tproj/RTCPTask.h: In constructor 'RTCPTask::RTCPTask()': Server.tproj/RTCPTask.h:44:58: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] RTCPTask() : Task() {this->SetTaskName("RTCPTask"); this->Signal(Task::kStartEvent); } ^ Server.tproj/QTSServer.cpp: At global scope: Server.tproj/QTSServer.cpp:121:46: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] char* QTSServer::sPortPrefString = "rtsp_port"; ^~~~~~~~~~~ Server.tproj/QTSServer.cpp: In member function 'Bool16 QTSServer::Initialize(XMLPrefsParser*, PrefsSource*, UInt16, Bool16)': Server.tproj/QTSServer.cpp:200:71: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] QTSSModule* theLoggingModule = new QTSSModule("QTSSErrorLogModule"); ^ Server.tproj/QTSServer.cpp: In member function 'void QTSServer::LoadCompiledInModules()': Server.tproj/QTSServer.cpp:627:64: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] QTSSModule* theFileModule = new QTSSModule("QTSSFileModule"); ^ Server.tproj/QTSServer.cpp:631:74: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] QTSSModule* theReflectorModule = new QTSSModule("QTSSReflectorModule"); ^ Server.tproj/QTSServer.cpp:635:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] QTSSModule* theRelayModule = new QTSSModule("QTSSRelayModule"); ^ Server.tproj/QTSServer.cpp:639:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] QTSSModule* theAccessLog = new QTSSModule("QTSSAccessLogModule"); ^ Server.tproj/QTSServer.cpp:643:72: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] QTSSModule* theFlowControl = new QTSSModule("QTSSFlowControlModule"); ^ Server.tproj/QTSServer.cpp:647:75: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] QTSSModule* theFileSysModule = new QTSSModule("QTSSPosixFileSysModule"); ^ Server.tproj/QTSServer.cpp:651:66: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] QTSSModule* theAdminModule = new QTSSModule("QTSSAdminModule"); ^ Server.tproj/QTSServer.cpp:655:80: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] QTSSModule* theMP3StreamingModule = new QTSSModule("QTSSMP3StreamingModule"); ^ Server.tproj/QTSServer.cpp:665:69: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] QTSSModule* theQTACESSmodule = new QTSSModule("QTSSAccessModule"); ^ Server.tproj/QTSServer.cpp: In member function 'void QTSServer::SetupPublicHeader()': Server.tproj/QTSServer.cpp:1039:40: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] sPublicHeaderFormatter.Put(", "); ^ In file included from CommonUtilitiesLib/OSRef.h:46:0, from CommonUtilitiesLib/EventContext.h:42, from CommonUtilitiesLib/Socket.h:43, from CommonUtilitiesLib/TCPSocket.h:46, from CommonUtilitiesLib/TCPListenerSocket.h:40, from Server.tproj/QTSServerInterface.h:50, from Server.tproj/QTSServer.h:38, from Server.tproj/QTSServer.cpp:47: CommonUtilitiesLib/OSHashTable.h: In instantiation of 'OSHashTable::OSHashTable(UInt32) [with T = OSRef; K = OSRefKey; UInt32 = unsigned int]': CommonUtilitiesLib/OSRef.h:177:86: required from here CommonUtilitiesLib/OSHashTable.h:46:22: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] fHashTable = new ( T*[size] ); ^~~~~~~~~~~~~~~~ CommonUtilitiesLib/OSHashTable.h: In instantiation of 'OSHashTable::OSHashTable(UInt32) [with T = UDPDemuxerTask; K = UDPDemuxerKey; UInt32 = unsigned int]': CommonUtilitiesLib/UDPDemuxer.h:142:62: required from here CommonUtilitiesLib/OSHashTable.h:46:22: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] c++ -fPIC -c -o Server.tproj/QTSServerInterface.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -DDSS_USE_API_CALLBACKS -g -Wall -Wno-format-y2k -include PlatformHeader.h -I. -IQTFileLib -IOSMemoryLib -IRTSPClientLib -IAPIModules -IAPICommonCode -IAPIModules/OSMemory_Modules -IAPIModules/QTSSAccessLogModule -IAPIModules/QTSSFileModule -IAPIModules/QTSSFlowControlModule -IAPIModules/QTSSReflectorModule -IAPIModules/QTSSSvrControlModule -IAPIModules/QTSSWebDebugModule -IAPIModules/QTSSWebStatsModule -IAPIModules/QTSSAuthorizeModule -IAPIModules/QTSSPOSIXFileSysModule -IAPIModules/QTSSAdminModule -IAPIModules/QTSSMP3StreamingModule -IAPIModules/QTSSRTPFileModule -IAPIModules/QTSSAccessModule -IAPIModules/QTSSHttpFileModule -IQTFileTools/RTPFileGen.tproj -IAPIStubLib -ICommonUtilitiesLib -IRTCPUtilitiesLib -IHTTPUtilitiesLib -IRTPMetaInfoLib -IPrefsSourceLib -IServer.tproj Server.tproj/QTSServerInterface.cpp Server.tproj/QTSServerInterface.cpp:66:74: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] StrPtrLen QTSServerInterface::sServerBuildDateStr(__DATE__ ", "__TIME__); ^ In file included from CommonUtilitiesLib/ResizeableStringFormatter.h:39:0, from PrefsSourceLib/XMLParser.h:32, from PrefsSourceLib/XMLPrefsParser.h:39, from Server.tproj/QTSSPrefs.h:40, from Server.tproj/QTSServerPrefs.h:36, from Server.tproj/QTSServerInterface.h:43, from Server.tproj/QTSServerInterface.cpp:39: CommonUtilitiesLib/StringFormatter.h: In member function 'void StringFormatter::PutFilePath(StrPtrLen*, StrPtrLen*)': CommonUtilitiesLib/StringFormatter.h:138:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Put(kPathDelimiterString); ^ In file included from CommonUtilitiesLib/TCPListenerSocket.h:41:0, from Server.tproj/QTSServerInterface.h:50, from Server.tproj/QTSServerInterface.cpp:39: CommonUtilitiesLib/IdleTask.h: In constructor 'IdleTask::IdleTask()': CommonUtilitiesLib/IdleTask.h:78:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] IdleTask() : Task(), fIdleElem() { this->SetTaskName("IdleTask"); fIdleElem.SetEnclosingObject(this); } ^ In file included from Server.tproj/QTSServerInterface.h:50:0, from Server.tproj/QTSServerInterface.cpp:39: CommonUtilitiesLib/TCPListenerSocket.h: In constructor 'TCPListenerSocket::TCPListenerSocket()': CommonUtilitiesLib/TCPListenerSocket.h:48:145: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] fAddr(0), fPort(0), fOutOfDescriptors(false), fSleepBetweenAccepts(false) {this->SetTaskName("TCPListenerSocket");} ^ In file included from Server.tproj/RTSPResponseStream.h:41:0, from Server.tproj/RTSPSessionInterface.h:38, from Server.tproj/RTPSessionInterface.h:42, from Server.tproj/QTSServerInterface.cpp:41: CommonUtilitiesLib/TimeoutTask.h: In constructor 'TimeoutTaskThread::TimeoutTaskThread()': CommonUtilitiesLib/TimeoutTask.h:58:96: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] TimeoutTaskThread() : IdleTask(), fMutex() {this->SetTaskName("TimeoutTask");} ^ Server.tproj/QTSServerInterface.cpp: At global scope: Server.tproj/QTSServerInterface.cpp:57:65: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen QTSServerInterface::sServerNameStr("DSS"); ^ Server.tproj/QTSServerInterface.cpp:61:77: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen QTSServerInterface::sServerVersionStr(kVersionString); ^ Server.tproj/QTSServerInterface.cpp:62:73: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen QTSServerInterface::sServerBuildStr(kBuildString); ^ Server.tproj/QTSServerInterface.cpp:63:77: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen QTSServerInterface::sServerCommentStr(kCommentString); ^ Server.tproj/QTSServerInterface.cpp:65:83: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen QTSServerInterface::sServerPlatformStr(kPlatformNameString); ^ Server.tproj/QTSServerInterface.cpp:66:86: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen QTSServerInterface::sServerBuildDateStr(__DATE__ ", "__TIME__); ^ Server.tproj/QTSServerInterface.cpp: In static member function 'static void QTSServerInterface::Initialize()': Server.tproj/QTSServerInterface.cpp:161:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] serverFormatter.Put(": "); ^ Server.tproj/QTSServerInterface.cpp:168:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] serverFormatter.Put("Build/"); ^ Server.tproj/QTSServerInterface.cpp:170:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] serverFormatter.Put("; "); ^ Server.tproj/QTSServerInterface.cpp:171:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] serverFormatter.Put("Platform/"); ^ Server.tproj/QTSServerInterface.cpp: In constructor 'RTPStatsUpdaterTask::RTPStatsUpdaterTask()': Server.tproj/QTSServerInterface.cpp:342:44: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] this->SetTaskName("RTPStatsUpdaterTask"); ^ In file included from CommonUtilitiesLib/OSRef.h:46:0, from CommonUtilitiesLib/EventContext.h:42, from CommonUtilitiesLib/Socket.h:43, from CommonUtilitiesLib/TCPSocket.h:46, from CommonUtilitiesLib/TCPListenerSocket.h:40, from Server.tproj/QTSServerInterface.h:50, from Server.tproj/QTSServerInterface.cpp:39: CommonUtilitiesLib/OSHashTable.h: In instantiation of 'OSHashTable::OSHashTable(UInt32) [with T = OSRef; K = OSRefKey; UInt32 = unsigned int]': CommonUtilitiesLib/OSRef.h:177:86: required from here CommonUtilitiesLib/OSHashTable.h:46:22: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] fHashTable = new ( T*[size] ); ^~~~~~~~~~~~~~~~ CommonUtilitiesLib/OSHashTable.h: In instantiation of 'OSHashTable::OSHashTable(UInt32) [with T = UDPDemuxerTask; K = UDPDemuxerKey; UInt32 = unsigned int]': CommonUtilitiesLib/UDPDemuxer.h:142:62: required from here CommonUtilitiesLib/OSHashTable.h:46:22: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] CommonUtilitiesLib/OSHashTable.h: In member function 'void QTSServerInterface::KillAllRTPSessions()': CommonUtilitiesLib/OSHashTable.h:142:30: warning: 'theIter.OSHashTableIter::fCurrent' may be used uninitialized in this function [-Wmaybe-uninitialized] fCurrent = fCurrent->fNextHashEntry; ~~~~~~~~~~^~~~~~~~~~~~~~ Server.tproj/QTSServerInterface.cpp:294:29: note: 'theIter.OSHashTableIter::fCurrent' was declared here for (OSRefHashTableIter theIter(fRTPMap->GetHashTable()); !theIter.IsDone(); theIter.Next()) ^~~~~~~ In file included from CommonUtilitiesLib/OSRef.h:46:0, from CommonUtilitiesLib/EventContext.h:42, from CommonUtilitiesLib/Socket.h:43, from CommonUtilitiesLib/TCPSocket.h:46, from CommonUtilitiesLib/TCPListenerSocket.h:40, from Server.tproj/QTSServerInterface.h:50, from Server.tproj/QTSServerInterface.cpp:39: CommonUtilitiesLib/OSHashTable.h: In member function 'RTPSessionInterface* RTPStatsUpdaterTask::GetNewestSession(OSRefTable*)': CommonUtilitiesLib/OSHashTable.h:142:30: warning: 'theIter.OSHashTableIter::fCurrent' may be used uninitialized in this function [-Wmaybe-uninitialized] fCurrent = fCurrent->fNextHashEntry; ~~~~~~~~~~^~~~~~~~~~~~~~ Server.tproj/QTSServerInterface.cpp:516:29: note: 'theIter.OSHashTableIter::fCurrent' was declared here for (OSRefHashTableIter theIter(inRTPSessionMap->GetHashTable()); !theIter.IsDone(); theIter.Next()) ^~~~~~~ c++ -fPIC -c -o Server.tproj/RTCPTask.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -DDSS_USE_API_CALLBACKS -g -Wall -Wno-format-y2k -include PlatformHeader.h -I. -IQTFileLib -IOSMemoryLib -IRTSPClientLib -IAPIModules -IAPICommonCode -IAPIModules/OSMemory_Modules -IAPIModules/QTSSAccessLogModule -IAPIModules/QTSSFileModule -IAPIModules/QTSSFlowControlModule -IAPIModules/QTSSReflectorModule -IAPIModules/QTSSSvrControlModule -IAPIModules/QTSSWebDebugModule -IAPIModules/QTSSWebStatsModule -IAPIModules/QTSSAuthorizeModule -IAPIModules/QTSSPOSIXFileSysModule -IAPIModules/QTSSAdminModule -IAPIModules/QTSSMP3StreamingModule -IAPIModules/QTSSRTPFileModule -IAPIModules/QTSSAccessModule -IAPIModules/QTSSHttpFileModule -IQTFileTools/RTPFileGen.tproj -IAPIStubLib -ICommonUtilitiesLib -IRTCPUtilitiesLib -IHTTPUtilitiesLib -IRTPMetaInfoLib -IPrefsSourceLib -IServer.tproj Server.tproj/RTCPTask.cpp In file included from Server.tproj/RTCPTask.cpp:36:0: Server.tproj/RTCPTask.h: In constructor 'RTCPTask::RTCPTask()': Server.tproj/RTCPTask.h:44:58: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] RTCPTask() : Task() {this->SetTaskName("RTCPTask"); this->Signal(Task::kStartEvent); } ^ In file included from CommonUtilitiesLib/ResizeableStringFormatter.h:39:0, from PrefsSourceLib/XMLParser.h:32, from PrefsSourceLib/XMLPrefsParser.h:39, from Server.tproj/QTSSPrefs.h:40, from Server.tproj/QTSServerPrefs.h:36, from Server.tproj/QTSServerInterface.h:43, from Server.tproj/RTCPTask.cpp:37: CommonUtilitiesLib/StringFormatter.h: In member function 'void StringFormatter::PutFilePath(StrPtrLen*, StrPtrLen*)': CommonUtilitiesLib/StringFormatter.h:138:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Put(kPathDelimiterString); ^ In file included from CommonUtilitiesLib/TCPListenerSocket.h:41:0, from Server.tproj/QTSServerInterface.h:50, from Server.tproj/RTCPTask.cpp:37: CommonUtilitiesLib/IdleTask.h: In constructor 'IdleTask::IdleTask()': CommonUtilitiesLib/IdleTask.h:78:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] IdleTask() : Task(), fIdleElem() { this->SetTaskName("IdleTask"); fIdleElem.SetEnclosingObject(this); } ^ In file included from Server.tproj/QTSServerInterface.h:50:0, from Server.tproj/RTCPTask.cpp:37: CommonUtilitiesLib/TCPListenerSocket.h: In constructor 'TCPListenerSocket::TCPListenerSocket()': CommonUtilitiesLib/TCPListenerSocket.h:48:145: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] fAddr(0), fPort(0), fOutOfDescriptors(false), fSleepBetweenAccepts(false) {this->SetTaskName("TCPListenerSocket");} ^ In file included from Server.tproj/RTSPResponseStream.h:41:0, from Server.tproj/RTSPSessionInterface.h:38, from Server.tproj/RTSPRequestInterface.h:45, from Server.tproj/RTPStream.h:50, from Server.tproj/RTCPTask.cpp:39: CommonUtilitiesLib/TimeoutTask.h: In constructor 'TimeoutTaskThread::TimeoutTaskThread()': CommonUtilitiesLib/TimeoutTask.h:58:96: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] TimeoutTaskThread() : IdleTask(), fMutex() {this->SetTaskName("TimeoutTask");} ^ In file included from CommonUtilitiesLib/OSRef.h:46:0, from CommonUtilitiesLib/EventContext.h:42, from CommonUtilitiesLib/Socket.h:43, from CommonUtilitiesLib/TCPSocket.h:46, from CommonUtilitiesLib/TCPListenerSocket.h:40, from Server.tproj/QTSServerInterface.h:50, from Server.tproj/RTCPTask.cpp:37: CommonUtilitiesLib/OSHashTable.h: In instantiation of 'OSHashTable::OSHashTable(UInt32) [with T = OSRef; K = OSRefKey; UInt32 = unsigned int]': CommonUtilitiesLib/OSRef.h:177:86: required from here CommonUtilitiesLib/OSHashTable.h:46:22: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] fHashTable = new ( T*[size] ); ^~~~~~~~~~~~~~~~ CommonUtilitiesLib/OSHashTable.h: In instantiation of 'OSHashTable::OSHashTable(UInt32) [with T = UDPDemuxerTask; K = UDPDemuxerKey; UInt32 = unsigned int]': CommonUtilitiesLib/UDPDemuxer.h:142:62: required from here CommonUtilitiesLib/OSHashTable.h:46:22: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] c++ -fPIC -c -o Server.tproj/RTPSession.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -DDSS_USE_API_CALLBACKS -g -Wall -Wno-format-y2k -include PlatformHeader.h -I. -IQTFileLib -IOSMemoryLib -IRTSPClientLib -IAPIModules -IAPICommonCode -IAPIModules/OSMemory_Modules -IAPIModules/QTSSAccessLogModule -IAPIModules/QTSSFileModule -IAPIModules/QTSSFlowControlModule -IAPIModules/QTSSReflectorModule -IAPIModules/QTSSSvrControlModule -IAPIModules/QTSSWebDebugModule -IAPIModules/QTSSWebStatsModule -IAPIModules/QTSSAuthorizeModule -IAPIModules/QTSSPOSIXFileSysModule -IAPIModules/QTSSAdminModule -IAPIModules/QTSSMP3StreamingModule -IAPIModules/QTSSRTPFileModule -IAPIModules/QTSSAccessModule -IAPIModules/QTSSHttpFileModule -IQTFileTools/RTPFileGen.tproj -IAPIStubLib -ICommonUtilitiesLib -IRTCPUtilitiesLib -IHTTPUtilitiesLib -IRTPMetaInfoLib -IPrefsSourceLib -IServer.tproj Server.tproj/RTPSession.cpp In file included from CommonUtilitiesLib/ResizeableStringFormatter.h:39:0, from Server.tproj/RTSPResponseStream.h:39, from Server.tproj/RTSPSessionInterface.h:38, from Server.tproj/RTPSessionInterface.h:42, from Server.tproj/RTPSession.h:48, from Server.tproj/RTPSession.cpp:36: CommonUtilitiesLib/StringFormatter.h: In member function 'void StringFormatter::PutFilePath(StrPtrLen*, StrPtrLen*)': CommonUtilitiesLib/StringFormatter.h:138:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Put(kPathDelimiterString); ^ In file included from CommonUtilitiesLib/TimeoutTask.h:44:0, from Server.tproj/RTSPResponseStream.h:41, from Server.tproj/RTSPSessionInterface.h:38, from Server.tproj/RTPSessionInterface.h:42, from Server.tproj/RTPSession.h:48, from Server.tproj/RTPSession.cpp:36: CommonUtilitiesLib/IdleTask.h: In constructor 'IdleTask::IdleTask()': CommonUtilitiesLib/IdleTask.h:78:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] IdleTask() : Task(), fIdleElem() { this->SetTaskName("IdleTask"); fIdleElem.SetEnclosingObject(this); } ^ In file included from Server.tproj/RTSPResponseStream.h:41:0, from Server.tproj/RTSPSessionInterface.h:38, from Server.tproj/RTPSessionInterface.h:42, from Server.tproj/RTPSession.h:48, from Server.tproj/RTPSession.cpp:36: CommonUtilitiesLib/TimeoutTask.h: In constructor 'TimeoutTaskThread::TimeoutTaskThread()': CommonUtilitiesLib/TimeoutTask.h:58:96: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] TimeoutTaskThread() : IdleTask(), fMutex() {this->SetTaskName("TimeoutTask");} ^ In file included from Server.tproj/QTSServerInterface.h:50:0, from Server.tproj/RTPSessionInterface.h:48, from Server.tproj/RTPSession.h:48, from Server.tproj/RTPSession.cpp:36: CommonUtilitiesLib/TCPListenerSocket.h: In constructor 'TCPListenerSocket::TCPListenerSocket()': CommonUtilitiesLib/TCPListenerSocket.h:48:145: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] fAddr(0), fPort(0), fOutOfDescriptors(false), fSleepBetweenAccepts(false) {this->SetTaskName("TCPListenerSocket");} ^ Server.tproj/RTPSession.cpp: In constructor 'RTPSession::RTPSession()': Server.tproj/RTPSession.cpp:64:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] this->SetTaskName("RTPSession"); ^ Server.tproj/RTPSession.cpp: In member function 'void RTPSession::SendDescribeResponse(RTSPRequestInterface*)': Server.tproj/RTPSession.cpp:440:52: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sContentType("application/sdp"); ^ Server.tproj/RTPSession.cpp:444:62: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sRetransmitProtocolName("our-retransmit"); ^ Server.tproj/RTPSession.cpp:448:44: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen dynamicRateEnabledStr("1"); ^ In file included from CommonUtilitiesLib/OSRef.h:46:0, from CommonUtilitiesLib/EventContext.h:42, from CommonUtilitiesLib/Socket.h:43, from CommonUtilitiesLib/TCPSocket.h:46, from Server.tproj/RTSPRequestStream.h:42, from Server.tproj/RTSPSessionInterface.h:37, from Server.tproj/RTPSessionInterface.h:42, from Server.tproj/RTPSession.h:48, from Server.tproj/RTPSession.cpp:36: CommonUtilitiesLib/OSHashTable.h: In instantiation of 'OSHashTable::OSHashTable(UInt32) [with T = OSRef; K = OSRefKey; UInt32 = unsigned int]': CommonUtilitiesLib/OSRef.h:177:86: required from here CommonUtilitiesLib/OSHashTable.h:46:22: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] fHashTable = new ( T*[size] ); ^~~~~~~~~~~~~~~~ CommonUtilitiesLib/OSHashTable.h: In instantiation of 'OSHashTable::OSHashTable(UInt32) [with T = UDPDemuxerTask; K = UDPDemuxerKey; UInt32 = unsigned int]': CommonUtilitiesLib/UDPDemuxer.h:142:62: required from here CommonUtilitiesLib/OSHashTable.h:46:22: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] c++ -fPIC -c -o Server.tproj/RTPPacketResender.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -DDSS_USE_API_CALLBACKS -g -Wall -Wno-format-y2k -include PlatformHeader.h -I. -IQTFileLib -IOSMemoryLib -IRTSPClientLib -IAPIModules -IAPICommonCode -IAPIModules/OSMemory_Modules -IAPIModules/QTSSAccessLogModule -IAPIModules/QTSSFileModule -IAPIModules/QTSSFlowControlModule -IAPIModules/QTSSReflectorModule -IAPIModules/QTSSSvrControlModule -IAPIModules/QTSSWebDebugModule -IAPIModules/QTSSWebStatsModule -IAPIModules/QTSSAuthorizeModule -IAPIModules/QTSSPOSIXFileSysModule -IAPIModules/QTSSAdminModule -IAPIModules/QTSSMP3StreamingModule -IAPIModules/QTSSRTPFileModule -IAPIModules/QTSSAccessModule -IAPIModules/QTSSHttpFileModule -IQTFileTools/RTPFileGen.tproj -IAPIStubLib -ICommonUtilitiesLib -IRTCPUtilitiesLib -IHTTPUtilitiesLib -IRTPMetaInfoLib -IPrefsSourceLib -IServer.tproj Server.tproj/RTPPacketResender.cpp In file included from CommonUtilitiesLib/ResizeableStringFormatter.h:39:0, from Server.tproj/RTSPResponseStream.h:39, from Server.tproj/RTSPSessionInterface.h:38, from Server.tproj/RTSPRequestInterface.h:45, from Server.tproj/RTPStream.h:50, from Server.tproj/RTPPacketResender.cpp:36: CommonUtilitiesLib/StringFormatter.h: In member function 'void StringFormatter::PutFilePath(StrPtrLen*, StrPtrLen*)': CommonUtilitiesLib/StringFormatter.h:138:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Put(kPathDelimiterString); ^ In file included from CommonUtilitiesLib/TimeoutTask.h:44:0, from Server.tproj/RTSPResponseStream.h:41, from Server.tproj/RTSPSessionInterface.h:38, from Server.tproj/RTSPRequestInterface.h:45, from Server.tproj/RTPStream.h:50, from Server.tproj/RTPPacketResender.cpp:36: CommonUtilitiesLib/IdleTask.h: In constructor 'IdleTask::IdleTask()': CommonUtilitiesLib/IdleTask.h:78:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] IdleTask() : Task(), fIdleElem() { this->SetTaskName("IdleTask"); fIdleElem.SetEnclosingObject(this); } ^ In file included from Server.tproj/RTSPResponseStream.h:41:0, from Server.tproj/RTSPSessionInterface.h:38, from Server.tproj/RTSPRequestInterface.h:45, from Server.tproj/RTPStream.h:50, from Server.tproj/RTPPacketResender.cpp:36: CommonUtilitiesLib/TimeoutTask.h: In constructor 'TimeoutTaskThread::TimeoutTaskThread()': CommonUtilitiesLib/TimeoutTask.h:58:96: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] TimeoutTaskThread() : IdleTask(), fMutex() {this->SetTaskName("TimeoutTask");} ^ In file included from Server.tproj/QTSServerInterface.h:50:0, from Server.tproj/RTPSessionInterface.h:48, from Server.tproj/RTPStream.h:51, from Server.tproj/RTPPacketResender.cpp:36: CommonUtilitiesLib/TCPListenerSocket.h: In constructor 'TCPListenerSocket::TCPListenerSocket()': CommonUtilitiesLib/TCPListenerSocket.h:48:145: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] fAddr(0), fPort(0), fOutOfDescriptors(false), fSleepBetweenAccepts(false) {this->SetTaskName("TCPListenerSocket");} ^ In file included from CommonUtilitiesLib/OSRef.h:46:0, from CommonUtilitiesLib/EventContext.h:42, from CommonUtilitiesLib/Socket.h:43, from CommonUtilitiesLib/UDPSocket.h:44, from Server.tproj/RTPPacketResender.h:43, from Server.tproj/RTPPacketResender.cpp:35: CommonUtilitiesLib/OSHashTable.h: In instantiation of 'OSHashTable::OSHashTable(UInt32) [with T = OSRef; K = OSRefKey; UInt32 = unsigned int]': CommonUtilitiesLib/OSRef.h:177:86: required from here CommonUtilitiesLib/OSHashTable.h:46:22: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] fHashTable = new ( T*[size] ); ^~~~~~~~~~~~~~~~ CommonUtilitiesLib/OSHashTable.h: In instantiation of 'OSHashTable::OSHashTable(UInt32) [with T = UDPDemuxerTask; K = UDPDemuxerKey; UInt32 = unsigned int]': CommonUtilitiesLib/UDPDemuxer.h:142:62: required from here CommonUtilitiesLib/OSHashTable.h:46:22: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] c++ -fPIC -c -o Server.tproj/RTPBandwidthTracker.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -DDSS_USE_API_CALLBACKS -g -Wall -Wno-format-y2k -include PlatformHeader.h -I. -IQTFileLib -IOSMemoryLib -IRTSPClientLib -IAPIModules -IAPICommonCode -IAPIModules/OSMemory_Modules -IAPIModules/QTSSAccessLogModule -IAPIModules/QTSSFileModule -IAPIModules/QTSSFlowControlModule -IAPIModules/QTSSReflectorModule -IAPIModules/QTSSSvrControlModule -IAPIModules/QTSSWebDebugModule -IAPIModules/QTSSWebStatsModule -IAPIModules/QTSSAuthorizeModule -IAPIModules/QTSSPOSIXFileSysModule -IAPIModules/QTSSAdminModule -IAPIModules/QTSSMP3StreamingModule -IAPIModules/QTSSRTPFileModule -IAPIModules/QTSSAccessModule -IAPIModules/QTSSHttpFileModule -IQTFileTools/RTPFileGen.tproj -IAPIStubLib -ICommonUtilitiesLib -IRTCPUtilitiesLib -IHTTPUtilitiesLib -IRTPMetaInfoLib -IPrefsSourceLib -IServer.tproj Server.tproj/RTPBandwidthTracker.cpp c++ -fPIC -c -o Server.tproj/RTPOverbufferWindow.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -DDSS_USE_API_CALLBACKS -g -Wall -Wno-format-y2k -include PlatformHeader.h -I. -IQTFileLib -IOSMemoryLib -IRTSPClientLib -IAPIModules -IAPICommonCode -IAPIModules/OSMemory_Modules -IAPIModules/QTSSAccessLogModule -IAPIModules/QTSSFileModule -IAPIModules/QTSSFlowControlModule -IAPIModules/QTSSReflectorModule -IAPIModules/QTSSSvrControlModule -IAPIModules/QTSSWebDebugModule -IAPIModules/QTSSWebStatsModule -IAPIModules/QTSSAuthorizeModule -IAPIModules/QTSSPOSIXFileSysModule -IAPIModules/QTSSAdminModule -IAPIModules/QTSSMP3StreamingModule -IAPIModules/QTSSRTPFileModule -IAPIModules/QTSSAccessModule -IAPIModules/QTSSHttpFileModule -IQTFileTools/RTPFileGen.tproj -IAPIStubLib -ICommonUtilitiesLib -IRTCPUtilitiesLib -IHTTPUtilitiesLib -IRTPMetaInfoLib -IPrefsSourceLib -IServer.tproj Server.tproj/RTPOverbufferWindow.cpp c++ -fPIC -c -o Server.tproj/RTPSessionInterface.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -DDSS_USE_API_CALLBACKS -g -Wall -Wno-format-y2k -include PlatformHeader.h -I. -IQTFileLib -IOSMemoryLib -IRTSPClientLib -IAPIModules -IAPICommonCode -IAPIModules/OSMemory_Modules -IAPIModules/QTSSAccessLogModule -IAPIModules/QTSSFileModule -IAPIModules/QTSSFlowControlModule -IAPIModules/QTSSReflectorModule -IAPIModules/QTSSSvrControlModule -IAPIModules/QTSSWebDebugModule -IAPIModules/QTSSWebStatsModule -IAPIModules/QTSSAuthorizeModule -IAPIModules/QTSSPOSIXFileSysModule -IAPIModules/QTSSAdminModule -IAPIModules/QTSSMP3StreamingModule -IAPIModules/QTSSRTPFileModule -IAPIModules/QTSSAccessModule -IAPIModules/QTSSHttpFileModule -IQTFileTools/RTPFileGen.tproj -IAPIStubLib -ICommonUtilitiesLib -IRTCPUtilitiesLib -IHTTPUtilitiesLib -IRTPMetaInfoLib -IPrefsSourceLib -IServer.tproj Server.tproj/RTPSessionInterface.cpp Server.tproj/RTPSessionInterface.cpp:349:30: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] qtss_sprintf(curTimeStr, "%"_64BITARG_"d", curTime); ^ In file included from CommonUtilitiesLib/ResizeableStringFormatter.h:39:0, from Server.tproj/RTSPResponseStream.h:39, from Server.tproj/RTSPSessionInterface.h:38, from Server.tproj/RTPSessionInterface.h:42, from Server.tproj/RTPSessionInterface.cpp:36: CommonUtilitiesLib/StringFormatter.h: In member function 'void StringFormatter::PutFilePath(StrPtrLen*, StrPtrLen*)': CommonUtilitiesLib/StringFormatter.h:138:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Put(kPathDelimiterString); ^ In file included from CommonUtilitiesLib/TimeoutTask.h:44:0, from Server.tproj/RTSPResponseStream.h:41, from Server.tproj/RTSPSessionInterface.h:38, from Server.tproj/RTPSessionInterface.h:42, from Server.tproj/RTPSessionInterface.cpp:36: CommonUtilitiesLib/IdleTask.h: In constructor 'IdleTask::IdleTask()': CommonUtilitiesLib/IdleTask.h:78:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] IdleTask() : Task(), fIdleElem() { this->SetTaskName("IdleTask"); fIdleElem.SetEnclosingObject(this); } ^ In file included from Server.tproj/RTSPResponseStream.h:41:0, from Server.tproj/RTSPSessionInterface.h:38, from Server.tproj/RTPSessionInterface.h:42, from Server.tproj/RTPSessionInterface.cpp:36: CommonUtilitiesLib/TimeoutTask.h: In constructor 'TimeoutTaskThread::TimeoutTaskThread()': CommonUtilitiesLib/TimeoutTask.h:58:96: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] TimeoutTaskThread() : IdleTask(), fMutex() {this->SetTaskName("TimeoutTask");} ^ In file included from Server.tproj/QTSServerInterface.h:50:0, from Server.tproj/RTPSessionInterface.h:48, from Server.tproj/RTPSessionInterface.cpp:36: CommonUtilitiesLib/TCPListenerSocket.h: In constructor 'TCPListenerSocket::TCPListenerSocket()': CommonUtilitiesLib/TCPListenerSocket.h:48:145: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] fAddr(0), fPort(0), fOutOfDescriptors(false), fSleepBetweenAccepts(false) {this->SetTaskName("TCPListenerSocket");} ^ Server.tproj/RTPSessionInterface.cpp: In constructor 'RTPSessionInterface::RTPSessionInterface()': Server.tproj/RTPSessionInterface.cpp:141:21: warning: large integer implicitly truncated to unsigned type [-Woverflow] fFramesSkipped(0) ^ In file included from CommonUtilitiesLib/OSRef.h:46:0, from CommonUtilitiesLib/EventContext.h:42, from CommonUtilitiesLib/Socket.h:43, from CommonUtilitiesLib/TCPSocket.h:46, from Server.tproj/RTSPRequestStream.h:42, from Server.tproj/RTSPSessionInterface.h:37, from Server.tproj/RTPSessionInterface.h:42, from Server.tproj/RTPSessionInterface.cpp:36: CommonUtilitiesLib/OSHashTable.h: In instantiation of 'OSHashTable::OSHashTable(UInt32) [with T = OSRef; K = OSRefKey; UInt32 = unsigned int]': CommonUtilitiesLib/OSRef.h:177:86: required from here CommonUtilitiesLib/OSHashTable.h:46:22: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] fHashTable = new ( T*[size] ); ^~~~~~~~~~~~~~~~ CommonUtilitiesLib/OSHashTable.h: In instantiation of 'OSHashTable::OSHashTable(UInt32) [with T = UDPDemuxerTask; K = UDPDemuxerKey; UInt32 = unsigned int]': CommonUtilitiesLib/UDPDemuxer.h:142:62: required from here CommonUtilitiesLib/OSHashTable.h:46:22: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] c++ -fPIC -c -o Server.tproj/RTPStream.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -DDSS_USE_API_CALLBACKS -g -Wall -Wno-format-y2k -include PlatformHeader.h -I. -IQTFileLib -IOSMemoryLib -IRTSPClientLib -IAPIModules -IAPICommonCode -IAPIModules/OSMemory_Modules -IAPIModules/QTSSAccessLogModule -IAPIModules/QTSSFileModule -IAPIModules/QTSSFlowControlModule -IAPIModules/QTSSReflectorModule -IAPIModules/QTSSSvrControlModule -IAPIModules/QTSSWebDebugModule -IAPIModules/QTSSWebStatsModule -IAPIModules/QTSSAuthorizeModule -IAPIModules/QTSSPOSIXFileSysModule -IAPIModules/QTSSAdminModule -IAPIModules/QTSSMP3StreamingModule -IAPIModules/QTSSRTPFileModule -IAPIModules/QTSSAccessModule -IAPIModules/QTSSHttpFileModule -IQTFileTools/RTPFileGen.tproj -IAPIStubLib -ICommonUtilitiesLib -IRTCPUtilitiesLib -IHTTPUtilitiesLib -IRTPMetaInfoLib -IPrefsSourceLib -IServer.tproj Server.tproj/RTPStream.cpp In file included from CommonUtilitiesLib/ResizeableStringFormatter.h:39:0, from Server.tproj/RTSPResponseStream.h:39, from Server.tproj/RTSPSessionInterface.h:38, from Server.tproj/RTSPRequestInterface.h:45, from Server.tproj/RTPStream.h:50, from Server.tproj/RTPStream.cpp:38: CommonUtilitiesLib/StringFormatter.h: In member function 'void StringFormatter::PutFilePath(StrPtrLen*, StrPtrLen*)': CommonUtilitiesLib/StringFormatter.h:138:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Put(kPathDelimiterString); ^ In file included from CommonUtilitiesLib/TimeoutTask.h:44:0, from Server.tproj/RTSPResponseStream.h:41, from Server.tproj/RTSPSessionInterface.h:38, from Server.tproj/RTSPRequestInterface.h:45, from Server.tproj/RTPStream.h:50, from Server.tproj/RTPStream.cpp:38: CommonUtilitiesLib/IdleTask.h: In constructor 'IdleTask::IdleTask()': CommonUtilitiesLib/IdleTask.h:78:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] IdleTask() : Task(), fIdleElem() { this->SetTaskName("IdleTask"); fIdleElem.SetEnclosingObject(this); } ^ In file included from Server.tproj/RTSPResponseStream.h:41:0, from Server.tproj/RTSPSessionInterface.h:38, from Server.tproj/RTSPRequestInterface.h:45, from Server.tproj/RTPStream.h:50, from Server.tproj/RTPStream.cpp:38: CommonUtilitiesLib/TimeoutTask.h: In constructor 'TimeoutTaskThread::TimeoutTaskThread()': CommonUtilitiesLib/TimeoutTask.h:58:96: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] TimeoutTaskThread() : IdleTask(), fMutex() {this->SetTaskName("TimeoutTask");} ^ In file included from Server.tproj/QTSServerInterface.h:50:0, from Server.tproj/RTPSessionInterface.h:48, from Server.tproj/RTPStream.h:51, from Server.tproj/RTPStream.cpp:38: CommonUtilitiesLib/TCPListenerSocket.h: In constructor 'TCPListenerSocket::TCPListenerSocket()': CommonUtilitiesLib/TCPListenerSocket.h:48:145: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] fAddr(0), fPort(0), fOutOfDescriptors(false), fSleepBetweenAccepts(false) {this->SetTaskName("TCPListenerSocket");} ^ Server.tproj/RTPStream.cpp: At global scope: Server.tproj/RTPStream.cpp:104:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("0"), ^ Server.tproj/RTPStream.cpp:105:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("1"), ^ Server.tproj/RTPStream.cpp:106:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("2"), ^ Server.tproj/RTPStream.cpp:107:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("3"), ^ Server.tproj/RTPStream.cpp:108:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("4"), ^ Server.tproj/RTPStream.cpp:109:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("5"), ^ Server.tproj/RTPStream.cpp:110:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("6"), ^ Server.tproj/RTPStream.cpp:111:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("7"), ^ Server.tproj/RTPStream.cpp:112:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("8"), ^ Server.tproj/RTPStream.cpp:113:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("9") ^ Server.tproj/RTPStream.cpp:116:27: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] char *RTPStream::noType = "no-type"; ^~~~~~~~~ Server.tproj/RTPStream.cpp:117:24: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] char *RTPStream::UDP = "UDP"; ^~~~~ Server.tproj/RTPStream.cpp:118:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] char *RTPStream::RUDP = "RUDP"; ^~~~~~ Server.tproj/RTPStream.cpp:119:24: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] char *RTPStream::TCP = "TCP"; ^~~~~ Server.tproj/RTPStream.cpp: In member function 'QTSS_Error RTPStream::Setup(RTSPRequestInterface*, QTSS_AddStreamFlags)': Server.tproj/RTPStream.cpp:379:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if ((fTransportType == qtssRTPTransportTypeReliableUDP) && (!QTSServerInterface::GetServer()->GetPrefs()->IsReliableUDPEnabled())) ^~ Server.tproj/RTPStream.cpp:384:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if ((fTransportType == qtssRTPTransportTypeReliableUDP) && (!QTSServerInterface::GetServer()->GetPrefs()->IsPathInsideReliableUDPDir(request->GetValue(qtssRTSPReqFilePath)))) ^~ Server.tproj/RTPStream.cpp:389:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if ((fTransportType == qtssRTPTransportTypeReliableUDP) && (inFlags & qtssASFlagsForceUDPTransport)) ^~ Server.tproj/RTPStream.cpp:394:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' this->SetOverBufferState(request); ^~~~ Server.tproj/RTPStream.cpp:400:67: warning: large integer implicitly truncated to unsigned type [-Woverflow] fSession->GetOverbufferWindow()->SetWindowSize(kUInt32_Max); ^ Server.tproj/RTPStream.cpp:489:16: warning: variable 'useSlowStart' set but not used [-Wunused-but-set-variable] Bool16 useSlowStart = !(inFlags & qtssASFlagsDontUseSlowStart); ^~~~~~~~~~~~ Server.tproj/RTPStream.cpp: In member function 'void RTPStream::SendSetupResponse(RTSPRequestInterface*)': Server.tproj/RTPStream.cpp:548:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if ((theRetrHdr->Len > 0) && (fTransportType == qtssRTPTransportTypeReliableUDP)) ^~ Server.tproj/RTPStream.cpp:552:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' SInt32 theRequestedRate =inRequest->GetDynamicRateState(); ^~~~~~ Server.tproj/RTPStream.cpp:553:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sHeaderOn("1",1); ^ Server.tproj/RTPStream.cpp:554:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sHeaderOff("0",1); ^ Server.tproj/RTPStream.cpp: In member function 'virtual QTSS_Error RTPStream::Write(void*, UInt32, UInt32*, UInt32)': Server.tproj/RTPStream.cpp:1015:31: warning: variable 'startTime' set but not used [-Wunused-but-set-variable] static SInt64 startTime = -1; ^~~~~~~~~ Server.tproj/RTPStream.cpp:1018:31: warning: variable 'firstTime' set but not used [-Wunused-but-set-variable] static SInt64 firstTime; ^~~~~~~~~ Server.tproj/RTPStream.cpp: In member function 'void RTPStream::PrintPacket(char*, UInt32, SInt32)': Server.tproj/RTPStream.cpp:1475:21: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* rr="RR"; ^~~~ Server.tproj/RTPStream.cpp:1476:22: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* ack="ACK"; ^~~~~ Server.tproj/RTPStream.cpp:1477:22: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* app="APP"; ^~~~~ Server.tproj/RTPStream.cpp:1478:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sTypeAudio=" type=audio"; ^~~~~~~~~~~~~ Server.tproj/RTPStream.cpp:1479:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sTypeVideo=" type=video"; ^~~~~~~~~~~~~ Server.tproj/RTPStream.cpp:1480:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sUnknownTypeStr = "?"; ^~~ In file included from CommonUtilitiesLib/UDPDemuxer.h:38:0, from Server.tproj/RTPStream.h:47, from Server.tproj/RTPStream.cpp:38: CommonUtilitiesLib/OSHashTable.h: In instantiation of 'OSHashTable::OSHashTable(UInt32) [with T = UDPDemuxerTask; K = UDPDemuxerKey; UInt32 = unsigned int]': CommonUtilitiesLib/UDPDemuxer.h:142:62: required from here CommonUtilitiesLib/OSHashTable.h:46:22: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] fHashTable = new ( T*[size] ); ^~~~~~~~~~~~~~~~ CommonUtilitiesLib/OSHashTable.h: In instantiation of 'OSHashTable::OSHashTable(UInt32) [with T = OSRef; K = OSRefKey; UInt32 = unsigned int]': CommonUtilitiesLib/OSRef.h:177:86: required from here CommonUtilitiesLib/OSHashTable.h:46:22: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] c++ -fPIC -c -o Server.tproj/RTSPProtocol.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -DDSS_USE_API_CALLBACKS -g -Wall -Wno-format-y2k -include PlatformHeader.h -I. -IQTFileLib -IOSMemoryLib -IRTSPClientLib -IAPIModules -IAPICommonCode -IAPIModules/OSMemory_Modules -IAPIModules/QTSSAccessLogModule -IAPIModules/QTSSFileModule -IAPIModules/QTSSFlowControlModule -IAPIModules/QTSSReflectorModule -IAPIModules/QTSSSvrControlModule -IAPIModules/QTSSWebDebugModule -IAPIModules/QTSSWebStatsModule -IAPIModules/QTSSAuthorizeModule -IAPIModules/QTSSPOSIXFileSysModule -IAPIModules/QTSSAdminModule -IAPIModules/QTSSMP3StreamingModule -IAPIModules/QTSSRTPFileModule -IAPIModules/QTSSAccessModule -IAPIModules/QTSSHttpFileModule -IQTFileTools/RTPFileGen.tproj -IAPIStubLib -ICommonUtilitiesLib -IRTCPUtilitiesLib -IHTTPUtilitiesLib -IRTPMetaInfoLib -IPrefsSourceLib -IServer.tproj Server.tproj/RTSPProtocol.cpp Server.tproj/RTSPProtocol.cpp:35:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen RTSPProtocol::sRetrProtName("our-retransmit"); ^ Server.tproj/RTSPProtocol.cpp:39:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("DESCRIBE"), ^ Server.tproj/RTSPProtocol.cpp:40:22: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("SETUP"), ^ Server.tproj/RTSPProtocol.cpp:41:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("TEARDOWN"), ^ Server.tproj/RTSPProtocol.cpp:42:21: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("PLAY"), ^ Server.tproj/RTSPProtocol.cpp:43:22: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("PAUSE"), ^ Server.tproj/RTSPProtocol.cpp:44:24: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("OPTIONS"), ^ Server.tproj/RTSPProtocol.cpp:45:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("ANNOUNCE"), ^ Server.tproj/RTSPProtocol.cpp:46:30: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("GET_PARAMETER"), ^ Server.tproj/RTSPProtocol.cpp:47:30: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("SET_PARAMETER"), ^ Server.tproj/RTSPProtocol.cpp:48:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("REDIRECT"), ^ Server.tproj/RTSPProtocol.cpp:49:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("RECORD") ^ Server.tproj/RTSPProtocol.cpp:80:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Accept"), ^ Server.tproj/RTSPProtocol.cpp:81:21: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Cseq"), ^ Server.tproj/RTSPProtocol.cpp:82:27: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("User-Agent"), ^ Server.tproj/RTSPProtocol.cpp:83:26: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Transport"), ^ Server.tproj/RTSPProtocol.cpp:84:24: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Session"), ^ Server.tproj/RTSPProtocol.cpp:85:22: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Range"), ^ Server.tproj/RTSPProtocol.cpp:87:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Accept-Encoding"), ^ Server.tproj/RTSPProtocol.cpp:88:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Accept-Language"), ^ Server.tproj/RTSPProtocol.cpp:89:30: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Authorization"), ^ Server.tproj/RTSPProtocol.cpp:90:26: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Bandwidth"), ^ Server.tproj/RTSPProtocol.cpp:91:26: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Blocksize"), ^ Server.tproj/RTSPProtocol.cpp:92:30: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Cache-Control"), ^ Server.tproj/RTSPProtocol.cpp:93:27: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Conference"), ^ Server.tproj/RTSPProtocol.cpp:94:27: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Connection"), ^ Server.tproj/RTSPProtocol.cpp:95:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Content-Base"), ^ Server.tproj/RTSPProtocol.cpp:96:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Content-Encoding"), ^ Server.tproj/RTSPProtocol.cpp:97:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Content-Language"), ^ Server.tproj/RTSPProtocol.cpp:98:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Content-length"), ^ Server.tproj/RTSPProtocol.cpp:99:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Content-Location"), ^ Server.tproj/RTSPProtocol.cpp:100:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Content-Type"), ^ Server.tproj/RTSPProtocol.cpp:101:21: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Date"), ^ Server.tproj/RTSPProtocol.cpp:102:24: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Expires"), ^ Server.tproj/RTSPProtocol.cpp:103:21: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("From"), ^ Server.tproj/RTSPProtocol.cpp:104:21: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Host"), ^ Server.tproj/RTSPProtocol.cpp:105:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("If-Match"), ^ Server.tproj/RTSPProtocol.cpp:106:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("If-Modified-Since"), ^ Server.tproj/RTSPProtocol.cpp:107:30: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Last-Modified"), ^ Server.tproj/RTSPProtocol.cpp:108:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Location"), ^ Server.tproj/RTSPProtocol.cpp:109:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Proxy-Authenticate"), ^ Server.tproj/RTSPProtocol.cpp:110:30: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Proxy-Require"), ^ Server.tproj/RTSPProtocol.cpp:111:24: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Referer"), ^ Server.tproj/RTSPProtocol.cpp:112:28: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Retry-After"), ^ Server.tproj/RTSPProtocol.cpp:113:24: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Require"), ^ Server.tproj/RTSPProtocol.cpp:114:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("RTP-Info"), ^ Server.tproj/RTSPProtocol.cpp:115:22: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Scale"), ^ Server.tproj/RTSPProtocol.cpp:116:22: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Speed"), ^ Server.tproj/RTSPProtocol.cpp:117:26: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Timestamp"), ^ Server.tproj/RTSPProtocol.cpp:118:21: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Vary"), ^ Server.tproj/RTSPProtocol.cpp:119:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Via"), ^ Server.tproj/RTSPProtocol.cpp:120:22: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Allow"), ^ Server.tproj/RTSPProtocol.cpp:121:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Public"), ^ Server.tproj/RTSPProtocol.cpp:122:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Server"), ^ Server.tproj/RTSPProtocol.cpp:123:28: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Unsupported"), ^ Server.tproj/RTSPProtocol.cpp:124:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("WWW-Authenticate"), ^ Server.tproj/RTSPProtocol.cpp:125:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen(","), ^ Server.tproj/RTSPProtocol.cpp:126:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("x-Retransmit"), ^ Server.tproj/RTSPProtocol.cpp:127:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("x-Accept-Retransmit"), ^ Server.tproj/RTSPProtocol.cpp:128:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("x-RTP-Meta-Info"), ^ Server.tproj/RTSPProtocol.cpp:129:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("x-Transport-Options"), ^ Server.tproj/RTSPProtocol.cpp:130:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("x-Packet-Range"), ^ Server.tproj/RTSPProtocol.cpp:131:28: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("x-Prebuffer"), ^ Server.tproj/RTSPProtocol.cpp:132:28: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("x-Dynamic-Rate"), ^ Server.tproj/RTSPProtocol.cpp:133:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("x-Accept-Dynamic-Rate"), ^ Server.tproj/RTSPProtocol.cpp:135:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("x-Random-Data-Size") ^ Server.tproj/RTSPProtocol.cpp:191:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Continue"), //kContinue ^ Server.tproj/RTSPProtocol.cpp:192:19: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("OK"), //kSuccessOK ^ Server.tproj/RTSPProtocol.cpp:193:24: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Created"), //kSuccessCreated ^ Server.tproj/RTSPProtocol.cpp:194:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Accepted"), //kSuccessAccepted ^ Server.tproj/RTSPProtocol.cpp:195:27: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("No Content"), //kSuccessNoContent ^ Server.tproj/RTSPProtocol.cpp:196:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Partial Content"), //kSuccessPartialContent ^ Server.tproj/RTSPProtocol.cpp:197:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Low on Storage Space"), //kSuccessLowOnStorage ^ Server.tproj/RTSPProtocol.cpp:198:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Multiple Choices"), //kMultipleChoices ^ Server.tproj/RTSPProtocol.cpp:199:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Moved Permanently"), //kRedirectPermMoved ^ Server.tproj/RTSPProtocol.cpp:200:22: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Found"), //kRedirectTempMoved ^ Server.tproj/RTSPProtocol.cpp:201:26: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("See Other"), //kRedirectSeeOther ^ Server.tproj/RTSPProtocol.cpp:202:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Not Modified"), //kRedirectNotModified ^ Server.tproj/RTSPProtocol.cpp:203:26: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Use Proxy"), //kUseProxy ^ Server.tproj/RTSPProtocol.cpp:204:28: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Bad Request"), //kClientBadRequest ^ Server.tproj/RTSPProtocol.cpp:205:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Unauthorized"), //kClientUnAuthorized ^ Server.tproj/RTSPProtocol.cpp:206:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Payment Required"), //kPaymentRequired ^ Server.tproj/RTSPProtocol.cpp:207:26: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Forbidden"), //kClientForbidden ^ Server.tproj/RTSPProtocol.cpp:208:26: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Not Found"), //kClientNotFound ^ Server.tproj/RTSPProtocol.cpp:209:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Method Not Allowed"), //kClientMethodNotAllowed ^ Server.tproj/RTSPProtocol.cpp:210:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Not Acceptable"), //kNotAcceptable ^ Server.tproj/RTSPProtocol.cpp:211:46: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Proxy Authentication Required"), //kProxyAuthenticationRequired ^ Server.tproj/RTSPProtocol.cpp:212:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Request Time-out"), //kRequestTimeout ^ Server.tproj/RTSPProtocol.cpp:213:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Conflict"), //kClientConflict ^ Server.tproj/RTSPProtocol.cpp:214:21: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Gone"), //kGone ^ Server.tproj/RTSPProtocol.cpp:215:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Length Required"), //kLengthRequired ^ Server.tproj/RTSPProtocol.cpp:216:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Precondition Failed"), //kPreconditionFailed ^ Server.tproj/RTSPProtocol.cpp:217:41: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Request Entity Too Large"), //kRequestEntityTooLarge ^ Server.tproj/RTSPProtocol.cpp:218:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Request-URI Too Large"), //kRequestURITooLarge ^ Server.tproj/RTSPProtocol.cpp:219:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Unsupported Media Type"), //kUnsupportedMediaType ^ Server.tproj/RTSPProtocol.cpp:220:41: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Parameter Not Understood"), //kClientParameterNotUnderstood ^ Server.tproj/RTSPProtocol.cpp:221:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Conference Not Found"), //kClientConferenceNotFound ^ Server.tproj/RTSPProtocol.cpp:222:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Not Enough Bandwidth"), //kClientNotEnoughBandwidth ^ Server.tproj/RTSPProtocol.cpp:223:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Session Not Found"), //kClientSessionNotFound ^ Server.tproj/RTSPProtocol.cpp:224:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Method Not Valid in this State"), //kClientMethodNotValidInState ^ Server.tproj/RTSPProtocol.cpp:225:52: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Header Field Not Valid For Resource"), //kClientHeaderFieldNotValid ^ Server.tproj/RTSPProtocol.cpp:226:30: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Invalid Range"), //kClientInvalidRange ^ Server.tproj/RTSPProtocol.cpp:227:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Parameter Is Read-Only"), //kClientReadOnlyParameter ^ Server.tproj/RTSPProtocol.cpp:228:45: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Aggregate Option Not Allowed"), //kClientAggregateOptionNotAllowed ^ Server.tproj/RTSPProtocol.cpp:229:46: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Only Aggregate Option Allowed"), //kClientAggregateOptionAllowed ^ Server.tproj/RTSPProtocol.cpp:230:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Unsupported Transport"), //kClientUnsupportedTransport ^ Server.tproj/RTSPProtocol.cpp:231:40: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Destination Unreachable"), //kClientDestinationUnreachable ^ Server.tproj/RTSPProtocol.cpp:232:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Internal Server Error"), //kServerInternal ^ Server.tproj/RTSPProtocol.cpp:233:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Not Implemented"), //kServerNotImplemented ^ Server.tproj/RTSPProtocol.cpp:234:28: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Bad Gateway"), //kServerBadGateway ^ Server.tproj/RTSPProtocol.cpp:235:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Service Unavailable"), //kServerUnavailable ^ Server.tproj/RTSPProtocol.cpp:236:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Gateway Timeout"), //kServerGatewayTimeout ^ Server.tproj/RTSPProtocol.cpp:237:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("RTSP Version not supported"), //kRTSPVersionNotSupported ^ Server.tproj/RTSPProtocol.cpp:238:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Option Not Supported") //kServerOptionNotSupported ^ Server.tproj/RTSPProtocol.cpp:295:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("100"), //kContinue ^ Server.tproj/RTSPProtocol.cpp:296:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("200"), //kSuccessOK ^ Server.tproj/RTSPProtocol.cpp:297:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("201"), //kSuccessCreated ^ Server.tproj/RTSPProtocol.cpp:298:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("202"), //kSuccessAccepted ^ Server.tproj/RTSPProtocol.cpp:299:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("204"), //kSuccessNoContent ^ Server.tproj/RTSPProtocol.cpp:300:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("206"), //kSuccessPartialContent ^ Server.tproj/RTSPProtocol.cpp:301:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("250"), //kSuccessLowOnStorage ^ Server.tproj/RTSPProtocol.cpp:302:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("300"), //kMultipleChoices ^ Server.tproj/RTSPProtocol.cpp:303:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("301"), //kRedirectPermMoved ^ Server.tproj/RTSPProtocol.cpp:304:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("302"), //kRedirectTempMoved ^ Server.tproj/RTSPProtocol.cpp:305:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("303"), //kRedirectSeeOther ^ Server.tproj/RTSPProtocol.cpp:306:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("304"), //kRedirectNotModified ^ Server.tproj/RTSPProtocol.cpp:307:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("305"), //kUseProxy ^ Server.tproj/RTSPProtocol.cpp:308:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("400"), //kClientBadRequest ^ Server.tproj/RTSPProtocol.cpp:309:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("401"), //kClientUnAuthorized ^ Server.tproj/RTSPProtocol.cpp:310:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("402"), //kPaymentRequired ^ Server.tproj/RTSPProtocol.cpp:311:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("403"), //kClientForbidden ^ Server.tproj/RTSPProtocol.cpp:312:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("404"), //kClientNotFound ^ Server.tproj/RTSPProtocol.cpp:313:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("405"), //kClientMethodNotAllowed ^ Server.tproj/RTSPProtocol.cpp:314:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("406"), //kNotAcceptable ^ Server.tproj/RTSPProtocol.cpp:315:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("407"), //kProxyAuthenticationRequired ^ Server.tproj/RTSPProtocol.cpp:316:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("408"), //kRequestTimeout ^ Server.tproj/RTSPProtocol.cpp:317:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("409"), //kClientConflict ^ Server.tproj/RTSPProtocol.cpp:318:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("410"), //kGone ^ Server.tproj/RTSPProtocol.cpp:319:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("411"), //kLengthRequired ^ Server.tproj/RTSPProtocol.cpp:320:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("412"), //kPreconditionFailed ^ Server.tproj/RTSPProtocol.cpp:321:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("413"), //kRequestEntityTooLarge ^ Server.tproj/RTSPProtocol.cpp:322:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("414"), //kRequestURITooLarge ^ Server.tproj/RTSPProtocol.cpp:323:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("415"), //kUnsupportedMediaType ^ Server.tproj/RTSPProtocol.cpp:324:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("451"), //kClientParameterNotUnderstood ^ Server.tproj/RTSPProtocol.cpp:325:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("452"), //kClientConferenceNotFound ^ Server.tproj/RTSPProtocol.cpp:326:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("453"), //kClientNotEnoughBandwidth ^ Server.tproj/RTSPProtocol.cpp:327:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("454"), //kClientSessionNotFound ^ Server.tproj/RTSPProtocol.cpp:328:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("455"), //kClientMethodNotValidInState ^ Server.tproj/RTSPProtocol.cpp:329:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("456"), //kClientHeaderFieldNotValid ^ Server.tproj/RTSPProtocol.cpp:330:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("457"), //kClientInvalidRange ^ Server.tproj/RTSPProtocol.cpp:331:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("458"), //kClientReadOnlyParameter ^ Server.tproj/RTSPProtocol.cpp:332:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("459"), //kClientAggregateOptionNotAllowed ^ Server.tproj/RTSPProtocol.cpp:333:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("460"), //kClientAggregateOptionAllowed ^ Server.tproj/RTSPProtocol.cpp:334:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("461"), //kClientUnsupportedTransport ^ Server.tproj/RTSPProtocol.cpp:335:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("462"), //kClientDestinationUnreachable ^ Server.tproj/RTSPProtocol.cpp:336:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("500"), //kServerInternal ^ Server.tproj/RTSPProtocol.cpp:337:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("501"), //kServerNotImplemented ^ Server.tproj/RTSPProtocol.cpp:338:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("502"), //kServerBadGateway ^ Server.tproj/RTSPProtocol.cpp:339:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("503"), //kServerUnavailable ^ Server.tproj/RTSPProtocol.cpp:340:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("504"), //kServerGatewayTimeout ^ Server.tproj/RTSPProtocol.cpp:341:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("505"), //kRTSPVersionNotSupported ^ Server.tproj/RTSPProtocol.cpp:342:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("551") //kServerOptionNotSupported ^ Server.tproj/RTSPProtocol.cpp:347:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("RTSP/1.0") ^ c++ -fPIC -c -o Server.tproj/RTSPRequest.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -DDSS_USE_API_CALLBACKS -g -Wall -Wno-format-y2k -include PlatformHeader.h -I. -IQTFileLib -IOSMemoryLib -IRTSPClientLib -IAPIModules -IAPICommonCode -IAPIModules/OSMemory_Modules -IAPIModules/QTSSAccessLogModule -IAPIModules/QTSSFileModule -IAPIModules/QTSSFlowControlModule -IAPIModules/QTSSReflectorModule -IAPIModules/QTSSSvrControlModule -IAPIModules/QTSSWebDebugModule -IAPIModules/QTSSWebStatsModule -IAPIModules/QTSSAuthorizeModule -IAPIModules/QTSSPOSIXFileSysModule -IAPIModules/QTSSAdminModule -IAPIModules/QTSSMP3StreamingModule -IAPIModules/QTSSRTPFileModule -IAPIModules/QTSSAccessModule -IAPIModules/QTSSHttpFileModule -IQTFileTools/RTPFileGen.tproj -IAPIStubLib -ICommonUtilitiesLib -IRTCPUtilitiesLib -IHTTPUtilitiesLib -IRTPMetaInfoLib -IPrefsSourceLib -IServer.tproj Server.tproj/RTSPRequest.cpp In file included from CommonUtilitiesLib/ResizeableStringFormatter.h:39:0, from Server.tproj/RTSPResponseStream.h:39, from Server.tproj/RTSPSessionInterface.h:38, from Server.tproj/RTSPRequestInterface.h:45, from Server.tproj/RTSPRequest.h:51, from Server.tproj/RTSPRequest.cpp:35: CommonUtilitiesLib/StringFormatter.h: In member function 'void StringFormatter::PutFilePath(StrPtrLen*, StrPtrLen*)': CommonUtilitiesLib/StringFormatter.h:138:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Put(kPathDelimiterString); ^ In file included from CommonUtilitiesLib/TimeoutTask.h:44:0, from Server.tproj/RTSPResponseStream.h:41, from Server.tproj/RTSPSessionInterface.h:38, from Server.tproj/RTSPRequestInterface.h:45, from Server.tproj/RTSPRequest.h:51, from Server.tproj/RTSPRequest.cpp:35: CommonUtilitiesLib/IdleTask.h: In constructor 'IdleTask::IdleTask()': CommonUtilitiesLib/IdleTask.h:78:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] IdleTask() : Task(), fIdleElem() { this->SetTaskName("IdleTask"); fIdleElem.SetEnclosingObject(this); } ^ In file included from Server.tproj/RTSPResponseStream.h:41:0, from Server.tproj/RTSPSessionInterface.h:38, from Server.tproj/RTSPRequestInterface.h:45, from Server.tproj/RTSPRequest.h:51, from Server.tproj/RTSPRequest.cpp:35: CommonUtilitiesLib/TimeoutTask.h: In constructor 'TimeoutTaskThread::TimeoutTaskThread()': CommonUtilitiesLib/TimeoutTask.h:58:96: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] TimeoutTaskThread() : IdleTask(), fMutex() {this->SetTaskName("TimeoutTask");} ^ In file included from Server.tproj/QTSServerInterface.h:50:0, from Server.tproj/RTSPRequest.cpp:37: CommonUtilitiesLib/TCPListenerSocket.h: In constructor 'TCPListenerSocket::TCPListenerSocket()': CommonUtilitiesLib/TCPListenerSocket.h:48:145: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] fAddr(0), fPort(0), fOutOfDescriptors(false), fSleepBetweenAccepts(false) {this->SetTaskName("TCPListenerSocket");} ^ Server.tproj/RTSPRequest.cpp: At global scope: Server.tproj/RTSPRequest.cpp:83:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sDefaultRealm("Streaming Server", 16); ^ Server.tproj/RTSPRequest.cpp:84:45: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sAuthBasicStr("Basic", 5); ^ Server.tproj/RTSPRequest.cpp:85:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sAuthDigestStr("Digest", 6); ^ Server.tproj/RTSPRequest.cpp:86:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sUsernameStr("username", 8); ^ Server.tproj/RTSPRequest.cpp:87:41: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sRealmStr("realm", 5); ^ Server.tproj/RTSPRequest.cpp:88:41: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sNonceStr("nonce", 5); ^ Server.tproj/RTSPRequest.cpp:89:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sUriStr("uri", 3); ^ Server.tproj/RTSPRequest.cpp:90:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sQopStr("qop", 3); ^ Server.tproj/RTSPRequest.cpp:91:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sQopAuthStr("auth", 3); ^ Server.tproj/RTSPRequest.cpp:92:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sQopAuthIntStr("auth-int", 8); ^ Server.tproj/RTSPRequest.cpp:93:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sNonceCountStr("nc", 2); ^ Server.tproj/RTSPRequest.cpp:94:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sResponseStr("response", 8); ^ Server.tproj/RTSPRequest.cpp:95:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sOpaqueStr("opaque", 6); ^ Server.tproj/RTSPRequest.cpp:96:41: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sEqualQuote("=\"", 2); ^ Server.tproj/RTSPRequest.cpp:97:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sQuoteCommaSpace("\", ", 3); ^ Server.tproj/RTSPRequest.cpp:98:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sStaleTrue("stale=\"true\", ", 14); ^ Server.tproj/RTSPRequest.cpp: In member function 'QTSS_Error RTSPRequest::ParseURI(StringParser&)': Server.tproj/RTSPRequest.cpp:199:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen nonaggregate(tempCStr.FindString("/trackID=")); ^ Server.tproj/RTSPRequest.cpp:214:30: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sSlashURI = "/"; ^~~ Server.tproj/RTSPRequest.cpp: In member function 'Bool16 RTSPRequest::ParseNetworkModeSubHeader(StrPtrLen*)': Server.tproj/RTSPRequest.cpp:397:40: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sUnicast("unicast"); ^ Server.tproj/RTSPRequest.cpp:398:45: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sMulticast("multiicast"); ^ Server.tproj/RTSPRequest.cpp: In member function 'void RTSPRequest::ParseTransportHeader()': Server.tproj/RTSPRequest.cpp:420:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sRTPAVPTransportStr = "RTP/AVP"; ^~~~~~~~~ Server.tproj/RTSPRequest.cpp:464:77: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if ( theTransportSubHeader.EqualIgnoreCase("RTP/AVP/TCP") ) ^ Server.tproj/RTSPRequest.cpp:477:73: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sDestinationSubHeader("destination"); ^ Server.tproj/RTSPRequest.cpp:487:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sSourceSubHeader("source"); ^ Server.tproj/RTSPRequest.cpp: In member function 'void RTSPRequest::ParseRetransmitHeader()': Server.tproj/RTSPRequest.cpp:562:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static const StrPtrLen kWindow("window"); ^ Server.tproj/RTSPRequest.cpp: In member function 'void RTSPRequest::ParsePrebufferHeader()': Server.tproj/RTSPRequest.cpp:597:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static const StrPtrLen kMaxTimeSubHeader("maxtime"); ^ Server.tproj/RTSPRequest.cpp: In member function 'void RTSPRequest::ParseTransportOptionsHeader()': Server.tproj/RTSPRequest.cpp:645:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sLateTolerance("late-tolerance"); ^ Server.tproj/RTSPRequest.cpp: In member function 'void RTSPRequest::ParseModeSubHeader(StrPtrLen*)': Server.tproj/RTSPRequest.cpp:696:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sModeSubHeader("mode"); ^ Server.tproj/RTSPRequest.cpp:697:44: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sReceiveMode("receive"); ^ Server.tproj/RTSPRequest.cpp:698:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sRecordMode("record"); ^ Server.tproj/RTSPRequest.cpp: In member function 'void RTSPRequest::ParseClientPortSubHeader(StrPtrLen*)': Server.tproj/RTSPRequest.cpp:725:56: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sClientPortSubHeader("client_port"); ^ Server.tproj/RTSPRequest.cpp:726:74: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sErrorMessage("Received invalid client_port field: "); ^ Server.tproj/RTSPRequest.cpp: In member function 'void RTSPRequest::ParseTimeToLiveSubHeader(StrPtrLen*)': Server.tproj/RTSPRequest.cpp:765:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sTimeToLiveSubHeader("ttl"); ^ Server.tproj/RTSPRequest.cpp: In member function 'QTSS_Error RTSPRequest::ParseBasicHeader(StringParser*)': Server.tproj/RTSPRequest.cpp:817:24: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen name(""); ^ Server.tproj/RTSPRequest.cpp:818:28: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen password(""); ^ Server.tproj/RTSPRequest.cpp: In member function 'QTSS_Error RTSPRequest::ParseDigestHeader(StringParser*)': Server.tproj/RTSPRequest.cpp:845:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen fieldNameAndValue(""); ^ Server.tproj/RTSPRequest.cpp:848:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen fieldName(""); ^ Server.tproj/RTSPRequest.cpp:849:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen fieldValue(""); ^ Server.tproj/RTSPRequest.cpp: In member function 'QTSS_Error RTSPRequest::ParseAuthHeader()': Server.tproj/RTSPRequest.cpp:909:28: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen authWord(""); ^ In file included from CommonUtilitiesLib/OSRef.h:46:0, from CommonUtilitiesLib/EventContext.h:42, from CommonUtilitiesLib/Socket.h:43, from CommonUtilitiesLib/TCPSocket.h:46, from Server.tproj/RTSPRequestStream.h:42, from Server.tproj/RTSPSessionInterface.h:37, from Server.tproj/RTSPRequestInterface.h:45, from Server.tproj/RTSPRequest.h:51, from Server.tproj/RTSPRequest.cpp:35: CommonUtilitiesLib/OSHashTable.h: In instantiation of 'OSHashTable::OSHashTable(UInt32) [with T = OSRef; K = OSRefKey; UInt32 = unsigned int]': CommonUtilitiesLib/OSRef.h:177:86: required from here CommonUtilitiesLib/OSHashTable.h:46:22: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] fHashTable = new ( T*[size] ); ^~~~~~~~~~~~~~~~ CommonUtilitiesLib/OSHashTable.h: In instantiation of 'OSHashTable::OSHashTable(UInt32) [with T = UDPDemuxerTask; K = UDPDemuxerKey; UInt32 = unsigned int]': CommonUtilitiesLib/UDPDemuxer.h:142:62: required from here CommonUtilitiesLib/OSHashTable.h:46:22: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] c++ -fPIC -c -o Server.tproj/RTSPRequestInterface.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -DDSS_USE_API_CALLBACKS -g -Wall -Wno-format-y2k -include PlatformHeader.h -I. -IQTFileLib -IOSMemoryLib -IRTSPClientLib -IAPIModules -IAPICommonCode -IAPIModules/OSMemory_Modules -IAPIModules/QTSSAccessLogModule -IAPIModules/QTSSFileModule -IAPIModules/QTSSFlowControlModule -IAPIModules/QTSSReflectorModule -IAPIModules/QTSSSvrControlModule -IAPIModules/QTSSWebDebugModule -IAPIModules/QTSSWebStatsModule -IAPIModules/QTSSAuthorizeModule -IAPIModules/QTSSPOSIXFileSysModule -IAPIModules/QTSSAdminModule -IAPIModules/QTSSMP3StreamingModule -IAPIModules/QTSSRTPFileModule -IAPIModules/QTSSAccessModule -IAPIModules/QTSSHttpFileModule -IQTFileTools/RTPFileGen.tproj -IAPIStubLib -ICommonUtilitiesLib -IRTCPUtilitiesLib -IHTTPUtilitiesLib -IRTPMetaInfoLib -IPrefsSourceLib -IServer.tproj Server.tproj/RTSPRequestInterface.cpp In file included from CommonUtilitiesLib/ResizeableStringFormatter.h:39:0, from Server.tproj/RTSPResponseStream.h:39, from Server.tproj/RTSPSessionInterface.h:38, from Server.tproj/RTSPRequestInterface.h:45, from Server.tproj/RTSPRequestInterface.cpp:42: CommonUtilitiesLib/StringFormatter.h: In member function 'void StringFormatter::PutFilePath(StrPtrLen*, StrPtrLen*)': CommonUtilitiesLib/StringFormatter.h:138:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Put(kPathDelimiterString); ^ In file included from CommonUtilitiesLib/TimeoutTask.h:44:0, from Server.tproj/RTSPResponseStream.h:41, from Server.tproj/RTSPSessionInterface.h:38, from Server.tproj/RTSPRequestInterface.h:45, from Server.tproj/RTSPRequestInterface.cpp:42: CommonUtilitiesLib/IdleTask.h: In constructor 'IdleTask::IdleTask()': CommonUtilitiesLib/IdleTask.h:78:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] IdleTask() : Task(), fIdleElem() { this->SetTaskName("IdleTask"); fIdleElem.SetEnclosingObject(this); } ^ In file included from Server.tproj/RTSPResponseStream.h:41:0, from Server.tproj/RTSPSessionInterface.h:38, from Server.tproj/RTSPRequestInterface.h:45, from Server.tproj/RTSPRequestInterface.cpp:42: CommonUtilitiesLib/TimeoutTask.h: In constructor 'TimeoutTaskThread::TimeoutTaskThread()': CommonUtilitiesLib/TimeoutTask.h:58:96: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] TimeoutTaskThread() : IdleTask(), fMutex() {this->SetTaskName("TimeoutTask");} ^ In file included from Server.tproj/QTSServerInterface.h:50:0, from Server.tproj/RTSPRequestInterface.cpp:53: CommonUtilitiesLib/TCPListenerSocket.h: In constructor 'TCPListenerSocket::TCPListenerSocket()': CommonUtilitiesLib/TCPListenerSocket.h:48:145: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] fAddr(0), fPort(0), fOutOfDescriptors(false), fSleepBetweenAccepts(false) {this->SetTaskName("TCPListenerSocket");} ^ Server.tproj/RTSPRequestInterface.cpp: At global scope: Server.tproj/RTSPRequestInterface.cpp:62:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen RTSPRequestInterface::sColonSpace(": ", 2); ^ Server.tproj/RTSPRequestInterface.cpp: In member function 'void RTSPRequestInterface::AppendSessionHeaderWithTimeout(StrPtrLen*, StrPtrLen*)': Server.tproj/RTSPRequestInterface.cpp:283:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sTimeoutString(";timeout="); ^ Server.tproj/RTSPRequestInterface.cpp: In member function 'void RTSPRequestInterface::AppendTransportHeader(StrPtrLen*, StrPtrLen*, StrPtrLen*, StrPtrLen*, StrPtrLen*, StrPtrLen*)': Server.tproj/RTSPRequestInterface.cpp:336:58: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sServerPortString(";server_port="); ^ Server.tproj/RTSPRequestInterface.cpp:337:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sSourceString(";source="); ^ Server.tproj/RTSPRequestInterface.cpp:338:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sInterleavedString(";interleaved="); ^ Server.tproj/RTSPRequestInterface.cpp:339:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sSSRC(";ssrc="); ^ Server.tproj/RTSPRequestInterface.cpp:340:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sInterLeaved("interleaved");//match the interleaved tag ^ Server.tproj/RTSPRequestInterface.cpp:341:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sClientPort("client_port"); ^ Server.tproj/RTSPRequestInterface.cpp:342:58: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sClientPortString(";client_port="); ^ Server.tproj/RTSPRequestInterface.cpp:417:45: warning: format '%lu' expects argument of type 'long unsigned int*', but argument 3 has type 'UInt32* {aka unsigned int*}' [-Wformat=] ::sscanf(theCString, "%lu", &ssrcVal); ~~~~~~~~^ Server.tproj/RTSPRequestInterface.cpp: In member function 'void RTSPRequestInterface::AppendRetransmitHeader(UInt32)': Server.tproj/RTSPRequestInterface.cpp:444:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static const StrPtrLen kAckTimeout("ack-timeout="); ^ Server.tproj/RTSPRequestInterface.cpp: In member function 'void RTSPRequestInterface::AppendRTPInfoHeader(QTSS_RTSPHeader, StrPtrLen*, StrPtrLen*, StrPtrLen*, StrPtrLen*, Bool16)': Server.tproj/RTSPRequestInterface.cpp:470:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sURL("url=", 4); ^ Server.tproj/RTSPRequestInterface.cpp:471:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sSeq(";seq=", 5); ^ Server.tproj/RTSPRequestInterface.cpp:472:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sSsrc(";ssrc=", 6); ^ Server.tproj/RTSPRequestInterface.cpp:473:45: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sRTPTime(";rtptime=", 9); ^ Server.tproj/RTSPRequestInterface.cpp: In member function 'void RTSPRequestInterface::WriteStandardHeaders()': Server.tproj/RTSPRequestInterface.cpp:526:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sCloseString("Close", 5); ^ In file included from CommonUtilitiesLib/OSRef.h:46:0, from CommonUtilitiesLib/EventContext.h:42, from CommonUtilitiesLib/Socket.h:43, from CommonUtilitiesLib/TCPSocket.h:46, from Server.tproj/RTSPRequestStream.h:42, from Server.tproj/RTSPSessionInterface.h:37, from Server.tproj/RTSPRequestInterface.h:45, from Server.tproj/RTSPRequestInterface.cpp:42: CommonUtilitiesLib/OSHashTable.h: In instantiation of 'OSHashTable::OSHashTable(UInt32) [with T = OSRef; K = OSRefKey; UInt32 = unsigned int]': CommonUtilitiesLib/OSRef.h:177:86: required from here CommonUtilitiesLib/OSHashTable.h:46:22: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] fHashTable = new ( T*[size] ); ^~~~~~~~~~~~~~~~ c++ -fPIC -c -o Server.tproj/RTSPRequestStream.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -DDSS_USE_API_CALLBACKS -g -Wall -Wno-format-y2k -include PlatformHeader.h -I. -IQTFileLib -IOSMemoryLib -IRTSPClientLib -IAPIModules -IAPICommonCode -IAPIModules/OSMemory_Modules -IAPIModules/QTSSAccessLogModule -IAPIModules/QTSSFileModule -IAPIModules/QTSSFlowControlModule -IAPIModules/QTSSReflectorModule -IAPIModules/QTSSSvrControlModule -IAPIModules/QTSSWebDebugModule -IAPIModules/QTSSWebStatsModule -IAPIModules/QTSSAuthorizeModule -IAPIModules/QTSSPOSIXFileSysModule -IAPIModules/QTSSAdminModule -IAPIModules/QTSSMP3StreamingModule -IAPIModules/QTSSRTPFileModule -IAPIModules/QTSSAccessModule -IAPIModules/QTSSHttpFileModule -IQTFileTools/RTPFileGen.tproj -IAPIStubLib -ICommonUtilitiesLib -IRTCPUtilitiesLib -IHTTPUtilitiesLib -IRTPMetaInfoLib -IPrefsSourceLib -IServer.tproj Server.tproj/RTSPRequestStream.cpp Server.tproj/RTSPRequestStream.cpp: In member function 'QTSS_Error RTSPRequestStream::ReadRequest()': Server.tproj/RTSPRequestStream.cpp:209:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] str.PrintStrEOL("\n\r\n", "\n");// print the request but stop on \n\r\n and add a \n afterwards. ^ Server.tproj/RTSPRequestStream.cpp:209:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] In file included from CommonUtilitiesLib/OSRef.h:46:0, from CommonUtilitiesLib/EventContext.h:42, from CommonUtilitiesLib/Socket.h:43, from CommonUtilitiesLib/TCPSocket.h:46, from Server.tproj/RTSPRequestStream.h:42, from Server.tproj/RTSPRequestStream.cpp:35: CommonUtilitiesLib/OSHashTable.h: In instantiation of 'OSHashTable::OSHashTable(UInt32) [with T = OSRef; K = OSRefKey; UInt32 = unsigned int]': CommonUtilitiesLib/OSRef.h:177:86: required from here CommonUtilitiesLib/OSHashTable.h:46:22: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] fHashTable = new ( T*[size] ); ^~~~~~~~~~~~~~~~ c++ -fPIC -c -o Server.tproj/RTSPResponseStream.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -DDSS_USE_API_CALLBACKS -g -Wall -Wno-format-y2k -include PlatformHeader.h -I. -IQTFileLib -IOSMemoryLib -IRTSPClientLib -IAPIModules -IAPICommonCode -IAPIModules/OSMemory_Modules -IAPIModules/QTSSAccessLogModule -IAPIModules/QTSSFileModule -IAPIModules/QTSSFlowControlModule -IAPIModules/QTSSReflectorModule -IAPIModules/QTSSSvrControlModule -IAPIModules/QTSSWebDebugModule -IAPIModules/QTSSWebStatsModule -IAPIModules/QTSSAuthorizeModule -IAPIModules/QTSSPOSIXFileSysModule -IAPIModules/QTSSAdminModule -IAPIModules/QTSSMP3StreamingModule -IAPIModules/QTSSRTPFileModule -IAPIModules/QTSSAccessModule -IAPIModules/QTSSHttpFileModule -IQTFileTools/RTPFileGen.tproj -IAPIStubLib -ICommonUtilitiesLib -IRTCPUtilitiesLib -IHTTPUtilitiesLib -IRTPMetaInfoLib -IPrefsSourceLib -IServer.tproj Server.tproj/RTSPResponseStream.cpp In file included from CommonUtilitiesLib/ResizeableStringFormatter.h:39:0, from Server.tproj/RTSPResponseStream.h:39, from Server.tproj/RTSPResponseStream.cpp:33: CommonUtilitiesLib/StringFormatter.h: In member function 'void StringFormatter::PutFilePath(StrPtrLen*, StrPtrLen*)': CommonUtilitiesLib/StringFormatter.h:138:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Put(kPathDelimiterString); ^ In file included from CommonUtilitiesLib/TimeoutTask.h:44:0, from Server.tproj/RTSPResponseStream.h:41, from Server.tproj/RTSPResponseStream.cpp:33: CommonUtilitiesLib/IdleTask.h: In constructor 'IdleTask::IdleTask()': CommonUtilitiesLib/IdleTask.h:78:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] IdleTask() : Task(), fIdleElem() { this->SetTaskName("IdleTask"); fIdleElem.SetEnclosingObject(this); } ^ In file included from Server.tproj/RTSPResponseStream.h:41:0, from Server.tproj/RTSPResponseStream.cpp:33: CommonUtilitiesLib/TimeoutTask.h: In constructor 'TimeoutTaskThread::TimeoutTaskThread()': CommonUtilitiesLib/TimeoutTask.h:58:96: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] TimeoutTaskThread() : IdleTask(), fMutex() {this->SetTaskName("TimeoutTask");} ^ In file included from CommonUtilitiesLib/OSRef.h:46:0, from CommonUtilitiesLib/EventContext.h:42, from CommonUtilitiesLib/Socket.h:43, from CommonUtilitiesLib/TCPSocket.h:46, from Server.tproj/RTSPResponseStream.h:40, from Server.tproj/RTSPResponseStream.cpp:33: CommonUtilitiesLib/OSHashTable.h: In instantiation of 'OSHashTable::OSHashTable(UInt32) [with T = OSRef; K = OSRefKey; UInt32 = unsigned int]': CommonUtilitiesLib/OSRef.h:177:86: required from here CommonUtilitiesLib/OSHashTable.h:46:22: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] fHashTable = new ( T*[size] ); ^~~~~~~~~~~~~~~~ c++ -fPIC -c -o Server.tproj/RTSPSession.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -DDSS_USE_API_CALLBACKS -g -Wall -Wno-format-y2k -include PlatformHeader.h -I. -IQTFileLib -IOSMemoryLib -IRTSPClientLib -IAPIModules -IAPICommonCode -IAPIModules/OSMemory_Modules -IAPIModules/QTSSAccessLogModule -IAPIModules/QTSSFileModule -IAPIModules/QTSSFlowControlModule -IAPIModules/QTSSReflectorModule -IAPIModules/QTSSSvrControlModule -IAPIModules/QTSSWebDebugModule -IAPIModules/QTSSWebStatsModule -IAPIModules/QTSSAuthorizeModule -IAPIModules/QTSSPOSIXFileSysModule -IAPIModules/QTSSAdminModule -IAPIModules/QTSSMP3StreamingModule -IAPIModules/QTSSRTPFileModule -IAPIModules/QTSSAccessModule -IAPIModules/QTSSHttpFileModule -IQTFileTools/RTPFileGen.tproj -IAPIStubLib -ICommonUtilitiesLib -IRTCPUtilitiesLib -IHTTPUtilitiesLib -IRTPMetaInfoLib -IPrefsSourceLib -IServer.tproj Server.tproj/RTSPSession.cpp Server.tproj/RTSPSession.cpp:1878:28: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] qtss_sprintf(ioBuffer, "%"_64BITARG_"d", theSessionID); ^ In file included from CommonUtilitiesLib/ResizeableStringFormatter.h:39:0, from Server.tproj/RTSPResponseStream.h:39, from Server.tproj/RTSPSessionInterface.h:38, from Server.tproj/RTSPSession.h:39, from Server.tproj/RTSPSession.cpp:36: CommonUtilitiesLib/StringFormatter.h: In member function 'void StringFormatter::PutFilePath(StrPtrLen*, StrPtrLen*)': CommonUtilitiesLib/StringFormatter.h:138:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Put(kPathDelimiterString); ^ In file included from CommonUtilitiesLib/TimeoutTask.h:44:0, from Server.tproj/RTSPResponseStream.h:41, from Server.tproj/RTSPSessionInterface.h:38, from Server.tproj/RTSPSession.h:39, from Server.tproj/RTSPSession.cpp:36: CommonUtilitiesLib/IdleTask.h: In constructor 'IdleTask::IdleTask()': CommonUtilitiesLib/IdleTask.h:78:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] IdleTask() : Task(), fIdleElem() { this->SetTaskName("IdleTask"); fIdleElem.SetEnclosingObject(this); } ^ In file included from Server.tproj/RTSPResponseStream.h:41:0, from Server.tproj/RTSPSessionInterface.h:38, from Server.tproj/RTSPSession.h:39, from Server.tproj/RTSPSession.cpp:36: CommonUtilitiesLib/TimeoutTask.h: In constructor 'TimeoutTaskThread::TimeoutTaskThread()': CommonUtilitiesLib/TimeoutTask.h:58:96: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] TimeoutTaskThread() : IdleTask(), fMutex() {this->SetTaskName("TimeoutTask");} ^ In file included from Server.tproj/QTSServerInterface.h:50:0, from Server.tproj/RTPSessionInterface.h:48, from Server.tproj/RTPSession.h:48, from Server.tproj/RTSPSession.h:42, from Server.tproj/RTSPSession.cpp:36: CommonUtilitiesLib/TCPListenerSocket.h: In constructor 'TCPListenerSocket::TCPListenerSocket()': CommonUtilitiesLib/TCPListenerSocket.h:48:145: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] fAddr(0), fPort(0), fOutOfDescriptors(false), fSleepBetweenAccepts(false) {this->SetTaskName("TCPListenerSocket");} ^ Server.tproj/RTSPSession.cpp: At global scope: Server.tproj/RTSPSession.cpp:104:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sBroadcasterSessionName="QTSSReflectorModuleBroadcasterSession"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/RTSPSession.cpp:108:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sVideoStr("video"); ^ Server.tproj/RTSPSession.cpp:109:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sAudioStr("audio"); ^ Server.tproj/RTSPSession.cpp:110:40: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sRtpMapStr("rtpmap"); ^ Server.tproj/RTSPSession.cpp:111:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sControlStr("control"); ^ Server.tproj/RTSPSession.cpp:112:52: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sBufferDelayStr("x-bufferdelay"); ^ Server.tproj/RTSPSession.cpp:113:61: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sContentType("application/x-random-data"); ^ Server.tproj/RTSPSession.cpp:115:41: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sAuthAlgorithm("md5"); ^ Server.tproj/RTSPSession.cpp:116:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sAuthQop("auth"); ^ Server.tproj/RTSPSession.cpp:117:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sEmptyStr(""); ^ Server.tproj/RTSPSession.cpp:130:52: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] char* RTSPSession::sHTTPResponseFormatStr = "HTTP/1.0 200 OK\r\n%s%s%s%s\r\nConnection: close\r\nDate: Thu, 19 Aug 1982 18:30:00 GMT\r\nCache-Control: no-store\r\nPragma: no-cache\r\nContent-Type: application/x-rtsp-tunnelled\r\n\r\n"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/RTSPSession.cpp:131:60: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] char* RTSPSession::sHTTPNoServerResponseFormatStr = "HTTP/1.0 200 OK\r\n%s%s%s%sConnection: close\r\nDate: Thu, 19 Aug 1982 18:30:00 GMT\r\nCache-Control: no-store\r\nPragma: no-cache\r\nContent-Type: application/x-rtsp-tunnelled\r\n\r\n"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/RTSPSession.cpp: In constructor 'RTSPSession::RTSPSession(Bool16)': Server.tproj/RTSPSession.cpp:161:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] this->SetTaskName("RTSPSession"); ^ Server.tproj/RTSPSession.cpp: In member function 'QTSS_Error RTSPSession::PreFilterForHTTPProxyTunnel()': Server.tproj/RTSPSession.cpp:1255:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] char *headerFieldPtr = ""; ^~ Server.tproj/RTSPSession.cpp: In member function 'Bool16 RTSPSession::ParseOptionsResponse()': Server.tproj/RTSPSession.cpp:1513:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sRTSPStr("RTSP", 4); ^ In file included from CommonUtilitiesLib/OSRef.h:46:0, from CommonUtilitiesLib/EventContext.h:42, from CommonUtilitiesLib/Socket.h:43, from CommonUtilitiesLib/TCPSocket.h:46, from Server.tproj/RTSPRequestStream.h:42, from Server.tproj/RTSPSessionInterface.h:37, from Server.tproj/RTSPSession.h:39, from Server.tproj/RTSPSession.cpp:36: CommonUtilitiesLib/OSHashTable.h: In instantiation of 'OSHashTable::OSHashTable(UInt32) [with T = OSRef; K = OSRefKey; UInt32 = unsigned int]': CommonUtilitiesLib/OSRef.h:177:86: required from here CommonUtilitiesLib/OSHashTable.h:46:22: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] fHashTable = new ( T*[size] ); ^~~~~~~~~~~~~~~~ CommonUtilitiesLib/OSHashTable.h: In instantiation of 'OSHashTable::OSHashTable(UInt32) [with T = UDPDemuxerTask; K = UDPDemuxerKey; UInt32 = unsigned int]': CommonUtilitiesLib/UDPDemuxer.h:142:62: required from here CommonUtilitiesLib/OSHashTable.h:46:22: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] Server.tproj/RTSPSession.cpp: In member function 'UInt32 RTSPSession::GenerateNewSessionID(char*)': Server.tproj/RTSPSession.cpp:1853:83: warning: 'theIter.OSHashTableIter::fCurrent' may be used uninitialized in this function [-Wmaybe-uninitialized] RTPSession* theSession = (RTPSession*)theIter.GetCurrent()->GetObject(); ^ c++ -fPIC -c -o Server.tproj/RTSPSessionInterface.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -DDSS_USE_API_CALLBACKS -g -Wall -Wno-format-y2k -include PlatformHeader.h -I. -IQTFileLib -IOSMemoryLib -IRTSPClientLib -IAPIModules -IAPICommonCode -IAPIModules/OSMemory_Modules -IAPIModules/QTSSAccessLogModule -IAPIModules/QTSSFileModule -IAPIModules/QTSSFlowControlModule -IAPIModules/QTSSReflectorModule -IAPIModules/QTSSSvrControlModule -IAPIModules/QTSSWebDebugModule -IAPIModules/QTSSWebStatsModule -IAPIModules/QTSSAuthorizeModule -IAPIModules/QTSSPOSIXFileSysModule -IAPIModules/QTSSAdminModule -IAPIModules/QTSSMP3StreamingModule -IAPIModules/QTSSRTPFileModule -IAPIModules/QTSSAccessModule -IAPIModules/QTSSHttpFileModule -IQTFileTools/RTPFileGen.tproj -IAPIStubLib -ICommonUtilitiesLib -IRTCPUtilitiesLib -IHTTPUtilitiesLib -IRTPMetaInfoLib -IPrefsSourceLib -IServer.tproj Server.tproj/RTSPSessionInterface.cpp In file included from CommonUtilitiesLib/ResizeableStringFormatter.h:39:0, from Server.tproj/RTSPResponseStream.h:39, from Server.tproj/RTSPSessionInterface.h:38, from Server.tproj/RTSPSessionInterface.cpp:36: CommonUtilitiesLib/StringFormatter.h: In member function 'void StringFormatter::PutFilePath(StrPtrLen*, StrPtrLen*)': CommonUtilitiesLib/StringFormatter.h:138:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Put(kPathDelimiterString); ^ In file included from CommonUtilitiesLib/TimeoutTask.h:44:0, from Server.tproj/RTSPResponseStream.h:41, from Server.tproj/RTSPSessionInterface.h:38, from Server.tproj/RTSPSessionInterface.cpp:36: CommonUtilitiesLib/IdleTask.h: In constructor 'IdleTask::IdleTask()': CommonUtilitiesLib/IdleTask.h:78:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] IdleTask() : Task(), fIdleElem() { this->SetTaskName("IdleTask"); fIdleElem.SetEnclosingObject(this); } ^ In file included from Server.tproj/RTSPResponseStream.h:41:0, from Server.tproj/RTSPSessionInterface.h:38, from Server.tproj/RTSPSessionInterface.cpp:36: CommonUtilitiesLib/TimeoutTask.h: In constructor 'TimeoutTaskThread::TimeoutTaskThread()': CommonUtilitiesLib/TimeoutTask.h:58:96: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] TimeoutTaskThread() : IdleTask(), fMutex() {this->SetTaskName("TimeoutTask");} ^ In file included from Server.tproj/QTSServerInterface.h:50:0, from Server.tproj/RTSPSessionInterface.cpp:37: CommonUtilitiesLib/TCPListenerSocket.h: In constructor 'TCPListenerSocket::TCPListenerSocket()': CommonUtilitiesLib/TCPListenerSocket.h:48:145: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] fAddr(0), fPort(0), fOutOfDescriptors(false), fSleepBetweenAccepts(false) {this->SetTaskName("TCPListenerSocket");} ^ Server.tproj/RTSPSessionInterface.cpp: In static member function 'static void RTSPSessionInterface::Initialize()': Server.tproj/RTSPSessionInterface.cpp:79:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (UInt32 x = 0; x < qtssRTSPSesNumParams; x++) ^~~ Server.tproj/RTSPSessionInterface.cpp:84:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' ::srand((unsigned int) OS::Microseconds()); ^~ Server.tproj/RTSPSessionInterface.cpp: In member function 'QTSS_Error RTSPSessionInterface::InterleavedWrite(void*, UInt32, UInt32*, unsigned char)': Server.tproj/RTSPSessionInterface.cpp:294:64: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if ( ( inLen > kTCPCoalesceDirectWriteSize || inLen == 0 ) && fNumInCoalesceBuffer > 0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/RTSPSessionInterface.cpp: In member function 'void RTSPSessionInterface::RevertOutputStream()': Server.tproj/RTSPSessionInterface.cpp:457:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen theRTTStr(";rtt=", 5); ^ Server.tproj/RTSPSessionInterface.cpp: In member function 'void RTSPSessionInterface::SendOptionsRequest()': Server.tproj/RTSPSessionInterface.cpp:495:136: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sOptionsRequestHeader("OPTIONS * RTSP/1.0\r\nContent-Type: application/x-random-data\r\nContent-Length: 1400\r\n\r\n"); ^ In file included from CommonUtilitiesLib/OSRef.h:46:0, from CommonUtilitiesLib/EventContext.h:42, from CommonUtilitiesLib/Socket.h:43, from CommonUtilitiesLib/TCPSocket.h:46, from Server.tproj/RTSPRequestStream.h:42, from Server.tproj/RTSPSessionInterface.h:37, from Server.tproj/RTSPSessionInterface.cpp:36: CommonUtilitiesLib/OSHashTable.h: In instantiation of 'OSHashTable::OSHashTable(UInt32) [with T = OSRef; K = OSRefKey; UInt32 = unsigned int]': CommonUtilitiesLib/OSRef.h:177:86: required from here CommonUtilitiesLib/OSHashTable.h:46:22: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] fHashTable = new ( T*[size] ); ^~~~~~~~~~~~~~~~ c++ -fPIC -c -o Server.tproj/main.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -DDSS_USE_API_CALLBACKS -g -Wall -Wno-format-y2k -include PlatformHeader.h -I. -IQTFileLib -IOSMemoryLib -IRTSPClientLib -IAPIModules -IAPICommonCode -IAPIModules/OSMemory_Modules -IAPIModules/QTSSAccessLogModule -IAPIModules/QTSSFileModule -IAPIModules/QTSSFlowControlModule -IAPIModules/QTSSReflectorModule -IAPIModules/QTSSSvrControlModule -IAPIModules/QTSSWebDebugModule -IAPIModules/QTSSWebStatsModule -IAPIModules/QTSSAuthorizeModule -IAPIModules/QTSSPOSIXFileSysModule -IAPIModules/QTSSAdminModule -IAPIModules/QTSSMP3StreamingModule -IAPIModules/QTSSRTPFileModule -IAPIModules/QTSSAccessModule -IAPIModules/QTSSHttpFileModule -IQTFileTools/RTPFileGen.tproj -IAPIStubLib -ICommonUtilitiesLib -IRTCPUtilitiesLib -IHTTPUtilitiesLib -IRTPMetaInfoLib -IPrefsSourceLib -IServer.tproj Server.tproj/main.cpp In file included from CommonUtilitiesLib/ResizeableStringFormatter.h:39:0, from PrefsSourceLib/XMLParser.h:32, from PrefsSourceLib/XMLPrefsParser.h:39, from Server.tproj/RunServer.h:35, from Server.tproj/main.cpp:62: CommonUtilitiesLib/StringFormatter.h: In member function 'void StringFormatter::PutFilePath(StrPtrLen*, StrPtrLen*)': CommonUtilitiesLib/StringFormatter.h:138:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Put(kPathDelimiterString); ^ In file included from CommonUtilitiesLib/TCPListenerSocket.h:41:0, from Server.tproj/QTSServerInterface.h:50, from Server.tproj/QTSServer.h:38, from Server.tproj/RunServer.h:38, from Server.tproj/main.cpp:62: CommonUtilitiesLib/IdleTask.h: In constructor 'IdleTask::IdleTask()': CommonUtilitiesLib/IdleTask.h:78:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] IdleTask() : Task(), fIdleElem() { this->SetTaskName("IdleTask"); fIdleElem.SetEnclosingObject(this); } ^ In file included from Server.tproj/QTSServerInterface.h:50:0, from Server.tproj/QTSServer.h:38, from Server.tproj/RunServer.h:38, from Server.tproj/main.cpp:62: CommonUtilitiesLib/TCPListenerSocket.h: In constructor 'TCPListenerSocket::TCPListenerSocket()': CommonUtilitiesLib/TCPListenerSocket.h:48:145: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] fAddr(0), fPort(0), fOutOfDescriptors(false), fSleepBetweenAccepts(false) {this->SetTaskName("TCPListenerSocket");} ^ Server.tproj/main.cpp: In function 'int main(int, char**)': Server.tproj/main.cpp:289:65: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sDefaultConfigFilePath = DEFAULTPATHS_ETC_DIR_OLD "streamingserver.conf"; ^~~~~~~~~~~~~~~~~~~~~~ Server.tproj/main.cpp:290:58: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sDefaultXMLFilePath = DEFAULTPATHS_ETC_DIR "streamingserver.xml"; ^~~~~~~~~~~~~~~~~~~~~ Server.tproj/main.cpp:323:44: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] theXMLFilePath = DEFAULTPATHS_ETC_DIR "streamingserver.xml"; ^~~~~~~~~~~~~~~~~~~~~ In file included from CommonUtilitiesLib/OSRef.h:46:0, from CommonUtilitiesLib/EventContext.h:42, from CommonUtilitiesLib/Socket.h:43, from CommonUtilitiesLib/TCPSocket.h:46, from CommonUtilitiesLib/TCPListenerSocket.h:40, from Server.tproj/QTSServerInterface.h:50, from Server.tproj/QTSServer.h:38, from Server.tproj/RunServer.h:38, from Server.tproj/main.cpp:62: CommonUtilitiesLib/OSHashTable.h: In instantiation of 'OSHashTable::OSHashTable(UInt32) [with T = OSRef; K = OSRefKey; UInt32 = unsigned int]': CommonUtilitiesLib/OSRef.h:177:86: required from here CommonUtilitiesLib/OSHashTable.h:46:22: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] fHashTable = new ( T*[size] ); ^~~~~~~~~~~~~~~~ c++ -fPIC -c -o Server.tproj/RunServer.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -DDSS_USE_API_CALLBACKS -g -Wall -Wno-format-y2k -include PlatformHeader.h -I. -IQTFileLib -IOSMemoryLib -IRTSPClientLib -IAPIModules -IAPICommonCode -IAPIModules/OSMemory_Modules -IAPIModules/QTSSAccessLogModule -IAPIModules/QTSSFileModule -IAPIModules/QTSSFlowControlModule -IAPIModules/QTSSReflectorModule -IAPIModules/QTSSSvrControlModule -IAPIModules/QTSSWebDebugModule -IAPIModules/QTSSWebStatsModule -IAPIModules/QTSSAuthorizeModule -IAPIModules/QTSSPOSIXFileSysModule -IAPIModules/QTSSAdminModule -IAPIModules/QTSSMP3StreamingModule -IAPIModules/QTSSRTPFileModule -IAPIModules/QTSSAccessModule -IAPIModules/QTSSHttpFileModule -IQTFileTools/RTPFileGen.tproj -IAPIStubLib -ICommonUtilitiesLib -IRTCPUtilitiesLib -IHTTPUtilitiesLib -IRTPMetaInfoLib -IPrefsSourceLib -IServer.tproj Server.tproj/RunServer.cpp Server.tproj/RunServer.cpp:568:18: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] qtss_printf( "%11"_64BITARG_"u", sServer->GetTotalRTPPacketsLost()); ^ In file included from CommonUtilitiesLib/ResizeableStringFormatter.h:39:0, from PrefsSourceLib/XMLParser.h:32, from PrefsSourceLib/XMLPrefsParser.h:39, from Server.tproj/RunServer.h:35, from Server.tproj/RunServer.cpp:36: CommonUtilitiesLib/StringFormatter.h: In member function 'void StringFormatter::PutFilePath(StrPtrLen*, StrPtrLen*)': CommonUtilitiesLib/StringFormatter.h:138:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Put(kPathDelimiterString); ^ In file included from CommonUtilitiesLib/TCPListenerSocket.h:41:0, from Server.tproj/QTSServerInterface.h:50, from Server.tproj/QTSServer.h:38, from Server.tproj/RunServer.h:38, from Server.tproj/RunServer.cpp:36: CommonUtilitiesLib/IdleTask.h: In constructor 'IdleTask::IdleTask()': CommonUtilitiesLib/IdleTask.h:78:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] IdleTask() : Task(), fIdleElem() { this->SetTaskName("IdleTask"); fIdleElem.SetEnclosingObject(this); } ^ In file included from Server.tproj/QTSServerInterface.h:50:0, from Server.tproj/QTSServer.h:38, from Server.tproj/RunServer.h:38, from Server.tproj/RunServer.cpp:36: CommonUtilitiesLib/TCPListenerSocket.h: In constructor 'TCPListenerSocket::TCPListenerSocket()': CommonUtilitiesLib/TCPListenerSocket.h:48:145: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] fAddr(0), fPort(0), fOutOfDescriptors(false), fSleepBetweenAccepts(false) {this->SetTaskName("TCPListenerSocket");} ^ In file included from Server.tproj/RunServer.cpp:47:0: CommonUtilitiesLib/TimeoutTask.h: In constructor 'TimeoutTaskThread::TimeoutTaskThread()': CommonUtilitiesLib/TimeoutTask.h:58:96: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] TimeoutTaskThread() : IdleTask(), fMutex() {this->SetTaskName("TimeoutTask");} ^ Server.tproj/RunServer.cpp: In function 'QTSS_ServerState StartServer(XMLPrefsParser*, PrefsSource*, UInt16, int, QTSS_ServerState, Bool16, UInt32, UInt32)': Server.tproj/RunServer.cpp:77:12: warning: variable 'doneStartingUp' set but not used [-Wunused-but-set-variable] Bool16 doneStartingUp = false; ^~~~~~~~~~~~~~ Server.tproj/RunServer.cpp: In function 'void LogStatus(QTSS_ServerState)': Server.tproj/RunServer.cpp:246:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] }; ^ Server.tproj/RunServer.cpp:246:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/RunServer.cpp:246:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/RunServer.cpp:246:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/RunServer.cpp:246:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/RunServer.cpp:246:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/RunServer.cpp:246:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/RunServer.cpp:246:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/RunServer.cpp:246:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/RunServer.cpp:246:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/RunServer.cpp:246:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/RunServer.cpp:246:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/RunServer.cpp:246:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/RunServer.cpp:246:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/RunServer.cpp:246:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/RunServer.cpp:246:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/RunServer.cpp:246:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/RunServer.cpp:246:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/RunServer.cpp:246:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/RunServer.cpp:246:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/RunServer.cpp:246:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/RunServer.cpp:250:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sPlistStart = ""; ^~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/RunServer.cpp:251:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sPlistEnd = ""; ^~~~~~~~~~ Server.tproj/RunServer.cpp:252:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sDictStart = ""; ^~~~~~~~ Server.tproj/RunServer.cpp:253:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sDictEnd = ""; ^~~~~~~~~ Server.tproj/RunServer.cpp:255:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sKey = " %s\n"; ^~~~~~~~~~~~~~~~~~~~~~ Server.tproj/RunServer.cpp:256:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sValue = " %s\n"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/RunServer.cpp:281:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] }; ^ Server.tproj/RunServer.cpp:281:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/RunServer.cpp:281:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/RunServer.cpp:281:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/RunServer.cpp:281:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/RunServer.cpp:281:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/RunServer.cpp:281:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/RunServer.cpp:281:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/RunServer.cpp:281:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/RunServer.cpp:281:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/RunServer.cpp:281:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/RunServer.cpp:281:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/RunServer.cpp:281:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/RunServer.cpp:281:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/RunServer.cpp:281:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/RunServer.cpp:281:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/RunServer.cpp:281:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/RunServer.cpp:281:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/RunServer.cpp:281:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/RunServer.cpp:281:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/RunServer.cpp:281:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/RunServer.cpp:284:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen statsFileNameStr("server_status"); ^ Server.tproj/RunServer.cpp: In function 'void DebugLevel_1(FILE*, FILE*, Bool16)': Server.tproj/RunServer.cpp:380:189: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] print_status(statusFile,stdOut,"%s", " RTP-Conns RTSP-Conns HTTP-Conns kBits/Sec Pkts/Sec RTP-Playing AvgDelay CurMaxDelay MaxDelay AvgQuality NumThinned Time\n"); ^ Server.tproj/RunServer.cpp:380:189: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/RunServer.cpp:385:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] print_status(statusFile, stdOut,"%11s", thePrefStr); ^ Server.tproj/RunServer.cpp:390:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] print_status(statusFile, stdOut,"%11s", thePrefStr); ^ Server.tproj/RunServer.cpp:394:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] print_status(statusFile, stdOut,"%11s", thePrefStr); ^ Server.tproj/RunServer.cpp:401:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] print_status(statusFile, stdOut,"%11s", numStr); ^ Server.tproj/RunServer.cpp:404:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] print_status(statusFile, stdOut,"%11s", thePrefStr); ^ Server.tproj/RunServer.cpp:410:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] print_status(statusFile, stdOut,"%14s", numStr); ^ Server.tproj/RunServer.cpp:433:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] print_status(statusFile, stdOut,"%11s", numStr); ^ Server.tproj/RunServer.cpp:436:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] print_status(statusFile, stdOut,"%11s", numStr); ^ Server.tproj/RunServer.cpp:439:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] print_status(statusFile, stdOut,"%11s", numStr); ^ Server.tproj/RunServer.cpp:444:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] print_status(statusFile, stdOut,"%11s", numStr); ^ Server.tproj/RunServer.cpp:447:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] print_status(statusFile, stdOut,"%11s", numStr); ^ Server.tproj/RunServer.cpp:455:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] print_status(statusFile, stdOut,"%24s\n", dateStr); ^ Server.tproj/RunServer.cpp: In function 'FILE* LogDebugEnabled()': Server.tproj/RunServer.cpp:463:64: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen statsFileNameStr("server_debug_status"); ^ Server.tproj/RunServer.cpp: In function 'void FormattedTotalBytesBuffer(char*, int, UInt64)': Server.tproj/RunServer.cpp:506:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] format = "%.4f%s "; ^~~~~~~~~ Server.tproj/RunServer.cpp:511:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] format = "%.3f%s "; ^~~~~~~~~ Server.tproj/RunServer.cpp:516:19: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] format = "%.2f%s "; ^~~~~~~~~ Server.tproj/RunServer.cpp:521:19: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] format = "%4.0f%s "; ^~~~~~~~~~ In file included from CommonUtilitiesLib/OSRef.h:46:0, from CommonUtilitiesLib/EventContext.h:42, from CommonUtilitiesLib/Socket.h:43, from CommonUtilitiesLib/TCPSocket.h:46, from CommonUtilitiesLib/TCPListenerSocket.h:40, from Server.tproj/QTSServerInterface.h:50, from Server.tproj/QTSServer.h:38, from Server.tproj/RunServer.h:38, from Server.tproj/RunServer.cpp:36: CommonUtilitiesLib/OSHashTable.h: In instantiation of 'OSHashTable::OSHashTable(UInt32) [with T = OSRef; K = OSRefKey; UInt32 = unsigned int]': CommonUtilitiesLib/OSRef.h:177:86: required from here CommonUtilitiesLib/OSHashTable.h:46:22: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] fHashTable = new ( T*[size] ); ^~~~~~~~~~~~~~~~ c++ -fPIC -c -o Server.tproj/GenerateXMLPrefs.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -DDSS_USE_API_CALLBACKS -g -Wall -Wno-format-y2k -include PlatformHeader.h -I. -IQTFileLib -IOSMemoryLib -IRTSPClientLib -IAPIModules -IAPICommonCode -IAPIModules/OSMemory_Modules -IAPIModules/QTSSAccessLogModule -IAPIModules/QTSSFileModule -IAPIModules/QTSSFlowControlModule -IAPIModules/QTSSReflectorModule -IAPIModules/QTSSSvrControlModule -IAPIModules/QTSSWebDebugModule -IAPIModules/QTSSWebStatsModule -IAPIModules/QTSSAuthorizeModule -IAPIModules/QTSSPOSIXFileSysModule -IAPIModules/QTSSAdminModule -IAPIModules/QTSSMP3StreamingModule -IAPIModules/QTSSRTPFileModule -IAPIModules/QTSSAccessModule -IAPIModules/QTSSHttpFileModule -IQTFileTools/RTPFileGen.tproj -IAPIStubLib -ICommonUtilitiesLib -IRTCPUtilitiesLib -IHTTPUtilitiesLib -IRTPMetaInfoLib -IPrefsSourceLib -IServer.tproj Server.tproj/GenerateXMLPrefs.cpp In file included from CommonUtilitiesLib/ResizeableStringFormatter.h:39:0, from PrefsSourceLib/XMLParser.h:32, from PrefsSourceLib/XMLPrefsParser.h:39, from Server.tproj/GenerateXMLPrefs.h:34, from Server.tproj/GenerateXMLPrefs.cpp:32: CommonUtilitiesLib/StringFormatter.h: In member function 'void StringFormatter::PutFilePath(StrPtrLen*, StrPtrLen*)': CommonUtilitiesLib/StringFormatter.h:138:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Put(kPathDelimiterString); ^ Server.tproj/GenerateXMLPrefs.cpp: At global scope: Server.tproj/GenerateXMLPrefs.cpp:116:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] }; ^ Server.tproj/GenerateXMLPrefs.cpp:116:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/GenerateXMLPrefs.cpp:116:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/GenerateXMLPrefs.cpp:116:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/GenerateXMLPrefs.cpp:116:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/GenerateXMLPrefs.cpp:116:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/GenerateXMLPrefs.cpp:116:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/GenerateXMLPrefs.cpp:116:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/GenerateXMLPrefs.cpp:116:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/GenerateXMLPrefs.cpp:116:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/GenerateXMLPrefs.cpp:116:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/GenerateXMLPrefs.cpp:116:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/GenerateXMLPrefs.cpp:116:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/GenerateXMLPrefs.cpp:116:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/GenerateXMLPrefs.cpp:116:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/GenerateXMLPrefs.cpp:116:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/GenerateXMLPrefs.cpp:116:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/GenerateXMLPrefs.cpp:116:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/GenerateXMLPrefs.cpp:116:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/GenerateXMLPrefs.cpp:116:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/GenerateXMLPrefs.cpp:116:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/GenerateXMLPrefs.cpp:116:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/GenerateXMLPrefs.cpp:116:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/GenerateXMLPrefs.cpp:116:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/GenerateXMLPrefs.cpp:116:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/GenerateXMLPrefs.cpp:116:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/GenerateXMLPrefs.cpp:116:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/GenerateXMLPrefs.cpp:116:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/GenerateXMLPrefs.cpp:116:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/GenerateXMLPrefs.cpp:116:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/GenerateXMLPrefs.cpp:116:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/GenerateXMLPrefs.cpp:116:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/GenerateXMLPrefs.cpp:116:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/GenerateXMLPrefs.cpp:116:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/GenerateXMLPrefs.cpp:116:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/GenerateXMLPrefs.cpp:116:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/GenerateXMLPrefs.cpp:116:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/GenerateXMLPrefs.cpp:116:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/GenerateXMLPrefs.cpp:116:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/GenerateXMLPrefs.cpp:116:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/GenerateXMLPrefs.cpp:116:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/GenerateXMLPrefs.cpp:116:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/GenerateXMLPrefs.cpp:116:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/GenerateXMLPrefs.cpp:116:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/GenerateXMLPrefs.cpp:116:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/GenerateXMLPrefs.cpp:116:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/GenerateXMLPrefs.cpp:116:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/GenerateXMLPrefs.cpp:116:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/GenerateXMLPrefs.cpp:116:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/GenerateXMLPrefs.cpp:116:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/GenerateXMLPrefs.cpp:116:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/GenerateXMLPrefs.cpp:116:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/GenerateXMLPrefs.cpp:116:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/GenerateXMLPrefs.cpp:116:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/GenerateXMLPrefs.cpp:116:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/GenerateXMLPrefs.cpp:116:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/GenerateXMLPrefs.cpp:116:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/GenerateXMLPrefs.cpp:116:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/GenerateXMLPrefs.cpp:116:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/GenerateXMLPrefs.cpp:116:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/GenerateXMLPrefs.cpp:116:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/GenerateXMLPrefs.cpp:116:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/GenerateXMLPrefs.cpp:116:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/GenerateXMLPrefs.cpp:116:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/GenerateXMLPrefs.cpp:116:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/GenerateXMLPrefs.cpp:116:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/GenerateXMLPrefs.cpp:116:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/GenerateXMLPrefs.cpp:116:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/GenerateXMLPrefs.cpp:116:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/GenerateXMLPrefs.cpp:116:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/GenerateXMLPrefs.cpp:116:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/GenerateXMLPrefs.cpp:116:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/GenerateXMLPrefs.cpp:116:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/GenerateXMLPrefs.cpp:116:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/GenerateXMLPrefs.cpp:116:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/GenerateXMLPrefs.cpp:116:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/GenerateXMLPrefs.cpp:116:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/GenerateXMLPrefs.cpp:116:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/GenerateXMLPrefs.cpp:116:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/GenerateXMLPrefs.cpp:116:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/GenerateXMLPrefs.cpp:116:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/GenerateXMLPrefs.cpp: In function 'int GenerateAllXMLPrefs(FilePrefsSource*, XMLPrefsParser*)': Server.tproj/GenerateXMLPrefs.cpp:139:30: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* kTrue = "true"; ^~~~~~ Server.tproj/GenerateXMLPrefs.cpp:140:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* kFalse = "false"; ^~~~~~~ c++ -fPIC -c -o Server.tproj/QTSSUserProfile.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -DDSS_USE_API_CALLBACKS -g -Wall -Wno-format-y2k -include PlatformHeader.h -I. -IQTFileLib -IOSMemoryLib -IRTSPClientLib -IAPIModules -IAPICommonCode -IAPIModules/OSMemory_Modules -IAPIModules/QTSSAccessLogModule -IAPIModules/QTSSFileModule -IAPIModules/QTSSFlowControlModule -IAPIModules/QTSSReflectorModule -IAPIModules/QTSSSvrControlModule -IAPIModules/QTSSWebDebugModule -IAPIModules/QTSSWebStatsModule -IAPIModules/QTSSAuthorizeModule -IAPIModules/QTSSPOSIXFileSysModule -IAPIModules/QTSSAdminModule -IAPIModules/QTSSMP3StreamingModule -IAPIModules/QTSSRTPFileModule -IAPIModules/QTSSAccessModule -IAPIModules/QTSSHttpFileModule -IQTFileTools/RTPFileGen.tproj -IAPIStubLib -ICommonUtilitiesLib -IRTCPUtilitiesLib -IHTTPUtilitiesLib -IRTPMetaInfoLib -IPrefsSourceLib -IServer.tproj Server.tproj/QTSSUserProfile.cpp c++ -fPIC -c -o PrefsSourceLib/FilePrefsSource.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -DDSS_USE_API_CALLBACKS -g -Wall -Wno-format-y2k -include PlatformHeader.h -I. -IQTFileLib -IOSMemoryLib -IRTSPClientLib -IAPIModules -IAPICommonCode -IAPIModules/OSMemory_Modules -IAPIModules/QTSSAccessLogModule -IAPIModules/QTSSFileModule -IAPIModules/QTSSFlowControlModule -IAPIModules/QTSSReflectorModule -IAPIModules/QTSSSvrControlModule -IAPIModules/QTSSWebDebugModule -IAPIModules/QTSSWebStatsModule -IAPIModules/QTSSAuthorizeModule -IAPIModules/QTSSPOSIXFileSysModule -IAPIModules/QTSSAdminModule -IAPIModules/QTSSMP3StreamingModule -IAPIModules/QTSSRTPFileModule -IAPIModules/QTSSAccessModule -IAPIModules/QTSSHttpFileModule -IQTFileTools/RTPFileGen.tproj -IAPIStubLib -ICommonUtilitiesLib -IRTCPUtilitiesLib -IHTTPUtilitiesLib -IRTPMetaInfoLib -IPrefsSourceLib -IServer.tproj PrefsSourceLib/FilePrefsSource.cpp c++ -fPIC -c -o PrefsSourceLib/XMLPrefsParser.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -DDSS_USE_API_CALLBACKS -g -Wall -Wno-format-y2k -include PlatformHeader.h -I. -IQTFileLib -IOSMemoryLib -IRTSPClientLib -IAPIModules -IAPICommonCode -IAPIModules/OSMemory_Modules -IAPIModules/QTSSAccessLogModule -IAPIModules/QTSSFileModule -IAPIModules/QTSSFlowControlModule -IAPIModules/QTSSReflectorModule -IAPIModules/QTSSSvrControlModule -IAPIModules/QTSSWebDebugModule -IAPIModules/QTSSWebStatsModule -IAPIModules/QTSSAuthorizeModule -IAPIModules/QTSSPOSIXFileSysModule -IAPIModules/QTSSAdminModule -IAPIModules/QTSSMP3StreamingModule -IAPIModules/QTSSRTPFileModule -IAPIModules/QTSSAccessModule -IAPIModules/QTSSHttpFileModule -IQTFileTools/RTPFileGen.tproj -IAPIStubLib -ICommonUtilitiesLib -IRTCPUtilitiesLib -IHTTPUtilitiesLib -IRTPMetaInfoLib -IPrefsSourceLib -IServer.tproj PrefsSourceLib/XMLPrefsParser.cpp In file included from CommonUtilitiesLib/ResizeableStringFormatter.h:39:0, from PrefsSourceLib/XMLParser.h:32, from PrefsSourceLib/XMLPrefsParser.h:39, from PrefsSourceLib/XMLPrefsParser.cpp:41: CommonUtilitiesLib/StringFormatter.h: In member function 'void StringFormatter::PutFilePath(StrPtrLen*, StrPtrLen*)': CommonUtilitiesLib/StringFormatter.h:138:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Put(kPathDelimiterString); ^ PrefsSourceLib/XMLPrefsParser.cpp: At global scope: PrefsSourceLib/XMLPrefsParser.cpp:47:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* kMainTag = "CONFIGURATION"; ^~~~~~~~~~~~~~~ PrefsSourceLib/XMLPrefsParser.cpp:48:24: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* kServer = "SERVER"; ^~~~~~~~ PrefsSourceLib/XMLPrefsParser.cpp:49:24: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* kModule = "MODULE"; ^~~~~~~~ PrefsSourceLib/XMLPrefsParser.cpp:50:22: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* kPref = "PREF"; ^~~~~~ PrefsSourceLib/XMLPrefsParser.cpp:51:26: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* kListPref = "LIST-PREF"; ^~~~~~~~~~~ PrefsSourceLib/XMLPrefsParser.cpp:52:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* kEmptyObject = "EMPTY-OBJECT"; ^~~~~~~~~~~~~~ PrefsSourceLib/XMLPrefsParser.cpp:53:24: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* kObject = "OBJECT"; ^~~~~~~~ PrefsSourceLib/XMLPrefsParser.cpp:54:28: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* kObjectList = "LIST-OBJECT"; ^~~~~~~~~~~~~ PrefsSourceLib/XMLPrefsParser.cpp:55:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* kValue = "VALUE"; ^~~~~~~ PrefsSourceLib/XMLPrefsParser.cpp:56:26: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* kNameAttr = "NAME"; ^~~~~~ PrefsSourceLib/XMLPrefsParser.cpp:57:26: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* kTypeAttr = "TYPE"; ^~~~~~ PrefsSourceLib/XMLPrefsParser.cpp:87:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] }; ^ PrefsSourceLib/XMLPrefsParser.cpp:87:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] PrefsSourceLib/XMLPrefsParser.cpp:87:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] PrefsSourceLib/XMLPrefsParser.cpp:87:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] PrefsSourceLib/XMLPrefsParser.cpp:87:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] PrefsSourceLib/XMLPrefsParser.cpp:87:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] PrefsSourceLib/XMLPrefsParser.cpp:87:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] PrefsSourceLib/XMLPrefsParser.cpp:87:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] PrefsSourceLib/XMLPrefsParser.cpp:87:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] PrefsSourceLib/XMLPrefsParser.cpp:87:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] PrefsSourceLib/XMLPrefsParser.cpp:87:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] PrefsSourceLib/XMLPrefsParser.cpp:87:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] PrefsSourceLib/XMLPrefsParser.cpp:87:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] PrefsSourceLib/XMLPrefsParser.cpp:87:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] PrefsSourceLib/XMLPrefsParser.cpp:87:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] PrefsSourceLib/XMLPrefsParser.cpp:87:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] PrefsSourceLib/XMLPrefsParser.cpp:87:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] PrefsSourceLib/XMLPrefsParser.cpp:87:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] PrefsSourceLib/XMLPrefsParser.cpp:87:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] PrefsSourceLib/XMLPrefsParser.cpp:87:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] PrefsSourceLib/XMLPrefsParser.cpp:87:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] PrefsSourceLib/XMLPrefsParser.cpp:87:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] PrefsSourceLib/XMLPrefsParser.cpp:87:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] PrefsSourceLib/XMLPrefsParser.cpp:87:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] PrefsSourceLib/XMLPrefsParser.cpp:87:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] PrefsSourceLib/XMLPrefsParser.cpp: In member function 'char* XMLPrefsParser::GetPrefValueByRef(ContainerRef, UInt32, char**, char**)': PrefsSourceLib/XMLPrefsParser.cpp:182:28: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] *outDataType = "CharArray"; ^~~~~~~~~~~ PrefsSourceLib/XMLPrefsParser.cpp:201:24: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] *outDataType = "QTSS_Object"; ^~~~~~~~~~~~~ c++ -fPIC -c -o PrefsSourceLib/XMLParser.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -DDSS_USE_API_CALLBACKS -g -Wall -Wno-format-y2k -include PlatformHeader.h -I. -IQTFileLib -IOSMemoryLib -IRTSPClientLib -IAPIModules -IAPICommonCode -IAPIModules/OSMemory_Modules -IAPIModules/QTSSAccessLogModule -IAPIModules/QTSSFileModule -IAPIModules/QTSSFlowControlModule -IAPIModules/QTSSReflectorModule -IAPIModules/QTSSSvrControlModule -IAPIModules/QTSSWebDebugModule -IAPIModules/QTSSWebStatsModule -IAPIModules/QTSSAuthorizeModule -IAPIModules/QTSSPOSIXFileSysModule -IAPIModules/QTSSAdminModule -IAPIModules/QTSSMP3StreamingModule -IAPIModules/QTSSRTPFileModule -IAPIModules/QTSSAccessModule -IAPIModules/QTSSHttpFileModule -IQTFileTools/RTPFileGen.tproj -IAPIStubLib -ICommonUtilitiesLib -IRTCPUtilitiesLib -IHTTPUtilitiesLib -IRTPMetaInfoLib -IPrefsSourceLib -IServer.tproj PrefsSourceLib/XMLParser.cpp In file included from CommonUtilitiesLib/ResizeableStringFormatter.h:39:0, from PrefsSourceLib/XMLParser.h:32, from PrefsSourceLib/XMLParser.cpp:34: CommonUtilitiesLib/StringFormatter.h: In member function 'void StringFormatter::PutFilePath(StrPtrLen*, StrPtrLen*)': CommonUtilitiesLib/StringFormatter.h:138:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Put(kPathDelimiterString); ^ PrefsSourceLib/XMLParser.cpp: In member function 'void XMLParser::WriteToFile(char**)': PrefsSourceLib/XMLParser.cpp:156:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] formatter.Put(kEOLString); ^ PrefsSourceLib/XMLParser.cpp: In member function 'void XMLTag::FormatData(ResizeableStringFormatter*, UInt32)': PrefsSourceLib/XMLParser.cpp:650:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] formatter->Put("=\""); ^ PrefsSourceLib/XMLParser.cpp:652:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] formatter->Put("\" "); ^ PrefsSourceLib/XMLParser.cpp:664:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] formatter->Put(kEOLString); ^ PrefsSourceLib/XMLParser.cpp:674:24: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] formatter->Put("Put(kEOLString); ^ c++ -fPIC -c -o OSMemoryLib/OSMemory.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -DDSS_USE_API_CALLBACKS -g -Wall -Wno-format-y2k -include PlatformHeader.h -I. -IQTFileLib -IOSMemoryLib -IRTSPClientLib -IAPIModules -IAPICommonCode -IAPIModules/OSMemory_Modules -IAPIModules/QTSSAccessLogModule -IAPIModules/QTSSFileModule -IAPIModules/QTSSFlowControlModule -IAPIModules/QTSSReflectorModule -IAPIModules/QTSSSvrControlModule -IAPIModules/QTSSWebDebugModule -IAPIModules/QTSSWebStatsModule -IAPIModules/QTSSAuthorizeModule -IAPIModules/QTSSPOSIXFileSysModule -IAPIModules/QTSSAdminModule -IAPIModules/QTSSMP3StreamingModule -IAPIModules/QTSSRTPFileModule -IAPIModules/QTSSAccessModule -IAPIModules/QTSSHttpFileModule -IQTFileTools/RTPFileGen.tproj -IAPIStubLib -ICommonUtilitiesLib -IRTCPUtilitiesLib -IHTTPUtilitiesLib -IRTPMetaInfoLib -IPrefsSourceLib -IServer.tproj OSMemoryLib/OSMemory.cpp c++ -fPIC -c -o RTSPClientLib/RTSPClient.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -DDSS_USE_API_CALLBACKS -g -Wall -Wno-format-y2k -include PlatformHeader.h -I. -IQTFileLib -IOSMemoryLib -IRTSPClientLib -IAPIModules -IAPICommonCode -IAPIModules/OSMemory_Modules -IAPIModules/QTSSAccessLogModule -IAPIModules/QTSSFileModule -IAPIModules/QTSSFlowControlModule -IAPIModules/QTSSReflectorModule -IAPIModules/QTSSSvrControlModule -IAPIModules/QTSSWebDebugModule -IAPIModules/QTSSWebStatsModule -IAPIModules/QTSSAuthorizeModule -IAPIModules/QTSSPOSIXFileSysModule -IAPIModules/QTSSAdminModule -IAPIModules/QTSSMP3StreamingModule -IAPIModules/QTSSRTPFileModule -IAPIModules/QTSSAccessModule -IAPIModules/QTSSHttpFileModule -IQTFileTools/RTPFileGen.tproj -IAPIStubLib -ICommonUtilitiesLib -IRTCPUtilitiesLib -IHTTPUtilitiesLib -IRTPMetaInfoLib -IPrefsSourceLib -IServer.tproj RTSPClientLib/RTSPClient.cpp RTSPClientLib/RTSPClient.cpp:131:62: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen Authenticator::sAuthorizationStr("Authorization:"); ^ RTSPClientLib/RTSPClient.cpp:132:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen Authenticator::sAuthBasicStr("Basic"); ^ RTSPClientLib/RTSPClient.cpp:133:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen Authenticator::sAuthDigestStr("Digest"); ^ RTSPClientLib/RTSPClient.cpp:134:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen Authenticator::sUsernameStr("username"); ^ RTSPClientLib/RTSPClient.cpp:135:45: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen Authenticator::sRealmStr("realm"); ^ RTSPClientLib/RTSPClient.cpp:136:46: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen Authenticator::sWildCardMatch("*"); ^ RTSPClientLib/RTSPClient.cpp:137:40: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen Authenticator::sTrue("true"); ^ RTSPClientLib/RTSPClient.cpp:138:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen Authenticator::sFalse("false"); ^ RTSPClientLib/RTSPClient.cpp: In constructor 'Authenticator::Authenticator()': RTSPClientLib/RTSPClient.cpp:142:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] char *emptyBuff = ""; ^~ RTSPClientLib/RTSPClient.cpp: In member function 'Bool16 Authenticator::ParseRealm(StringParser*)': RTSPClientLib/RTSPClient.cpp:163:30: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen authRealmTag(""); ^ RTSPClientLib/RTSPClient.cpp: In member function 'char* Authenticator::GetRequestHeader(StrPtrLen*, StrPtrLen*, StrPtrLen*)': RTSPClientLib/RTSPClient.cpp:339:45: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen headersTerminator("\r\n\r\n"); ^ RTSPClientLib/RTSPClient.cpp: In member function 'void Authenticator::RemoveAuthLine(StrPtrLen*)': RTSPClientLib/RTSPClient.cpp:359:64: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] char *eol = StrPtrLen(theHeaderStart).FindString("\r\n"); ^ RTSPClientLib/RTSPClient.cpp: At global scope: RTSPClientLib/RTSPClient.cpp:373:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen DigestAuth::sResponseStr("response"); //the response ^ RTSPClientLib/RTSPClient.cpp:374:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen DigestAuth::sUriStr("uri"); // copy of of the URL must ^ RTSPClientLib/RTSPClient.cpp:375:44: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen DigestAuth::sCnonceStr("cnonce"); // in request only if qop is in response ^ RTSPClientLib/RTSPClient.cpp:378:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen DigestAuth::sStaleStr("stale"); ^ RTSPClientLib/RTSPClient.cpp:381:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen DigestAuth::sQopStr("qop"); // quoted string list of one or more options -- in request if in response ^ RTSPClientLib/RTSPClient.cpp:382:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen DigestAuth::sNonceStr("nonce"); // quoted string return back to the server in the request ^ RTSPClientLib/RTSPClient.cpp:383:44: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen DigestAuth::sNonceCountStr("nc"); // in request only if qop is in response ^ RTSPClientLib/RTSPClient.cpp:384:44: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen DigestAuth::sOpaqueStr("opaque");// quoted string return back to the server in the request ^ RTSPClientLib/RTSPClient.cpp:385:44: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen DigestAuth::sDomainStr("domain"); // quoted string list of one or more URLs on in response ^ RTSPClientLib/RTSPClient.cpp:386:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen DigestAuth::sAlgorithmStr("algorithm"); // quoted string list of one or more URLs on in response ^ RTSPClientLib/RTSPClient.cpp:389:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen DigestAuth::sQopAuthStr("auth"); ^ RTSPClientLib/RTSPClient.cpp:390:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen DigestAuth::sQopAuthIntStr("auth-int"); ^ RTSPClientLib/RTSPClient.cpp:391:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen DigestAuth::sMD5Str("MD5"); ^ RTSPClientLib/RTSPClient.cpp:392:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen DigestAuth::sMD5SessStr("MD5-sess"); ^ RTSPClientLib/RTSPClient.cpp: In member function 'virtual Bool16 DigestAuth::ParseParams(StrPtrLen*)': RTSPClientLib/RTSPClient.cpp:406:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen authTag(""); ^ RTSPClientLib/RTSPClient.cpp: In member function 'Authenticator* AuthParser::ParseChallenge(StrPtrLen*)': RTSPClientLib/RTSPClient.cpp:768:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen headerTerminator("\r"); ^ RTSPClientLib/RTSPClient.cpp:765:12: warning: variable 'result' set but not used [-Wunused-but-set-variable] Bool16 result = false; ^~~~~~ RTSPClientLib/RTSPClient.cpp: At global scope: RTSPClientLib/RTSPClient.cpp:810:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sEmptyString = ""; ^~ RTSPClientLib/RTSPClient.cpp:811:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] char* RTSPClient::sUserAgent = "None"; ^~~~~~ RTSPClientLib/RTSPClient.cpp:812:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] char* RTSPClient::sControlID = "trackID"; ^~~~~~~~~ RTSPClientLib/RTSPClient.cpp: In member function 'void RTSPClient::SetControlID(char*)': RTSPClientLib/RTSPClient.cpp:908:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (fControlID != RTSPClient::sControlID) ^~ RTSPClientLib/RTSPClient.cpp:911:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' fControlID = NEW char[::strlen(controlID) + 1]; ^~~~~~~~~~ RTSPClientLib/RTSPClient.cpp: In member function 'OS_Error RTSPClient::GetMediaPacket(UInt32*, Bool16*, char**, UInt32*)': RTSPClientLib/RTSPClient.cpp:1331:60: warning: array subscript has type 'char' [-Wchar-subscripts] *outTrackID = fChannelTrackMap[fPacketBuffer[1]].fTrackID; ^ RTSPClientLib/RTSPClient.cpp:1332:59: warning: array subscript has type 'char' [-Wchar-subscripts] *outIsRTCP = fChannelTrackMap[fPacketBuffer[1]].fIsRTCP; ^ RTSPClientLib/RTSPClient.cpp: In member function 'OS_Error RTSPClient::DoTransaction()': RTSPClientLib/RTSPClient.cpp:1373:12: warning: variable 'isAuthenticated' set but not used [-Wunused-but-set-variable] Bool16 isAuthenticated = false; ^~~~~~~~~~~~~~~ RTSPClientLib/RTSPClient.cpp: In member function 'OS_Error RTSPClient::ReceiveResponse()': RTSPClientLib/RTSPClient.cpp:1551:58: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sSessionHeader("Session"); ^ RTSPClientLib/RTSPClient.cpp:1552:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sContentLenHeader("Content-length"); ^ RTSPClientLib/RTSPClient.cpp:1553:62: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sTransportHeader("Transport"); ^ RTSPClientLib/RTSPClient.cpp:1554:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sRTPInfoHeader("RTP-Info"); ^ RTSPClientLib/RTSPClient.cpp:1555:70: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sRTPMetaInfoHeader("x-RTP-Meta-Info"); ^ RTSPClientLib/RTSPClient.cpp:1556:72: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sAuthenticateHeader("WWW-Authenticate"); ^ RTSPClientLib/RTSPClient.cpp:1557:56: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sSameAsLastHeader(" ,"); ^ RTSPClientLib/RTSPClient.cpp:1626:67: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sServerPort("server_port"); ^ RTSPClientLib/RTSPClient.cpp:1627:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sInterleaved("interleaved"); ^ RTSPClientLib/RTSPClient.cpp: In member function 'void RTSPClient::ParseRTPInfoHeader(StrPtrLen*)': RTSPClientLib/RTSPClient.cpp:1688:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sURL("url"); ^ RTSPClientLib/RTSPClient.cpp:1711:45: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sURLSubHeader("url"); ^ RTSPClientLib/RTSPClient.cpp:1712:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sSSRCSubHeader("ssrc"); ^ In file included from CommonUtilitiesLib/OSRef.h:46:0, from CommonUtilitiesLib/EventContext.h:42, from CommonUtilitiesLib/Socket.h:43, from CommonUtilitiesLib/TCPSocket.h:46, from RTSPClientLib/RTSPClient.h:37, from RTSPClientLib/RTSPClient.cpp:43: CommonUtilitiesLib/OSHashTable.h: In instantiation of 'OSHashTable::OSHashTable(UInt32) [with T = OSRef; K = OSRefKey; UInt32 = unsigned int]': CommonUtilitiesLib/OSRef.h:177:86: required from here CommonUtilitiesLib/OSHashTable.h:46:22: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] fHashTable = new ( T*[size] ); ^~~~~~~~~~~~~~~~ c++ -fPIC -c -o RTSPClientLib/ClientSocket.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -DDSS_USE_API_CALLBACKS -g -Wall -Wno-format-y2k -include PlatformHeader.h -I. -IQTFileLib -IOSMemoryLib -IRTSPClientLib -IAPIModules -IAPICommonCode -IAPIModules/OSMemory_Modules -IAPIModules/QTSSAccessLogModule -IAPIModules/QTSSFileModule -IAPIModules/QTSSFlowControlModule -IAPIModules/QTSSReflectorModule -IAPIModules/QTSSSvrControlModule -IAPIModules/QTSSWebDebugModule -IAPIModules/QTSSWebStatsModule -IAPIModules/QTSSAuthorizeModule -IAPIModules/QTSSPOSIXFileSysModule -IAPIModules/QTSSAdminModule -IAPIModules/QTSSMP3StreamingModule -IAPIModules/QTSSRTPFileModule -IAPIModules/QTSSAccessModule -IAPIModules/QTSSHttpFileModule -IQTFileTools/RTPFileGen.tproj -IAPIStubLib -ICommonUtilitiesLib -IRTCPUtilitiesLib -IHTTPUtilitiesLib -IRTPMetaInfoLib -IPrefsSourceLib -IServer.tproj RTSPClientLib/ClientSocket.cpp In file included from CommonUtilitiesLib/OSRef.h:46:0, from CommonUtilitiesLib/EventContext.h:42, from CommonUtilitiesLib/Socket.h:43, from CommonUtilitiesLib/TCPSocket.h:46, from RTSPClientLib/ClientSocket.h:37, from RTSPClientLib/ClientSocket.cpp:42: CommonUtilitiesLib/OSHashTable.h: In instantiation of 'OSHashTable::OSHashTable(UInt32) [with T = OSRef; K = OSRefKey; UInt32 = unsigned int]': CommonUtilitiesLib/OSRef.h:177:86: required from here CommonUtilitiesLib/OSHashTable.h:46:22: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] fHashTable = new ( T*[size] ); ^~~~~~~~~~~~~~~~ c++ -fPIC -c -o HTTPUtilitiesLib/HTTPProtocol.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -DDSS_USE_API_CALLBACKS -g -Wall -Wno-format-y2k -include PlatformHeader.h -I. -IQTFileLib -IOSMemoryLib -IRTSPClientLib -IAPIModules -IAPICommonCode -IAPIModules/OSMemory_Modules -IAPIModules/QTSSAccessLogModule -IAPIModules/QTSSFileModule -IAPIModules/QTSSFlowControlModule -IAPIModules/QTSSReflectorModule -IAPIModules/QTSSSvrControlModule -IAPIModules/QTSSWebDebugModule -IAPIModules/QTSSWebStatsModule -IAPIModules/QTSSAuthorizeModule -IAPIModules/QTSSPOSIXFileSysModule -IAPIModules/QTSSAdminModule -IAPIModules/QTSSMP3StreamingModule -IAPIModules/QTSSRTPFileModule -IAPIModules/QTSSAccessModule -IAPIModules/QTSSHttpFileModule -IQTFileTools/RTPFileGen.tproj -IAPIStubLib -ICommonUtilitiesLib -IRTCPUtilitiesLib -IHTTPUtilitiesLib -IRTPMetaInfoLib -IPrefsSourceLib -IServer.tproj HTTPUtilitiesLib/HTTPProtocol.cpp HTTPUtilitiesLib/HTTPProtocol.cpp:29:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("GET"), ^ HTTPUtilitiesLib/HTTPProtocol.cpp:30:21: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("HEAD"), ^ HTTPUtilitiesLib/HTTPProtocol.cpp:31:21: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("POST"), ^ HTTPUtilitiesLib/HTTPProtocol.cpp:32:24: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("OPTIONS"), ^ HTTPUtilitiesLib/HTTPProtocol.cpp:33:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("PUT"), ^ HTTPUtilitiesLib/HTTPProtocol.cpp:34:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("DELETE"), ^ HTTPUtilitiesLib/HTTPProtocol.cpp:35:22: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("TRACE"), ^ HTTPUtilitiesLib/HTTPProtocol.cpp:36:24: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("CONNECT"), ^ HTTPUtilitiesLib/HTTPProtocol.cpp:69:27: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Connection"), ^ HTTPUtilitiesLib/HTTPProtocol.cpp:70:21: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Date"), ^ HTTPUtilitiesLib/HTTPProtocol.cpp:71:30: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Authorization"), ^ HTTPUtilitiesLib/HTTPProtocol.cpp:72:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("If-Modified-Since"), ^ HTTPUtilitiesLib/HTTPProtocol.cpp:73:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Server"), ^ HTTPUtilitiesLib/HTTPProtocol.cpp:74:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("WWW-Authenticate"), ^ HTTPUtilitiesLib/HTTPProtocol.cpp:75:24: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Expires"), ^ HTTPUtilitiesLib/HTTPProtocol.cpp:76:30: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Last-Modified"), ^ HTTPUtilitiesLib/HTTPProtocol.cpp:78:30: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Cache-Control"), ^ HTTPUtilitiesLib/HTTPProtocol.cpp:79:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Pragma"), ^ HTTPUtilitiesLib/HTTPProtocol.cpp:80:24: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Trailer"), ^ HTTPUtilitiesLib/HTTPProtocol.cpp:81:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Transfer-Encoding"), ^ HTTPUtilitiesLib/HTTPProtocol.cpp:82:24: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Upgrade"), ^ HTTPUtilitiesLib/HTTPProtocol.cpp:83:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Via"), ^ HTTPUtilitiesLib/HTTPProtocol.cpp:84:24: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Warning"), ^ HTTPUtilitiesLib/HTTPProtocol.cpp:86:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Accept"), ^ HTTPUtilitiesLib/HTTPProtocol.cpp:87:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Accept-Charset"), ^ HTTPUtilitiesLib/HTTPProtocol.cpp:88:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Accept-Encoding"), ^ HTTPUtilitiesLib/HTTPProtocol.cpp:89:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Accept-Language"), ^ HTTPUtilitiesLib/HTTPProtocol.cpp:90:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Expect"), ^ HTTPUtilitiesLib/HTTPProtocol.cpp:91:21: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("From"), ^ HTTPUtilitiesLib/HTTPProtocol.cpp:92:21: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Host"), ^ HTTPUtilitiesLib/HTTPProtocol.cpp:93:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("If-Match"), ^ HTTPUtilitiesLib/HTTPProtocol.cpp:94:30: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("If-None-Match"), ^ HTTPUtilitiesLib/HTTPProtocol.cpp:95:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("If-Range"), ^ HTTPUtilitiesLib/HTTPProtocol.cpp:96:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("If-Unmodified-Since"), ^ HTTPUtilitiesLib/HTTPProtocol.cpp:97:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Max-Forwards"), ^ HTTPUtilitiesLib/HTTPProtocol.cpp:98:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Proxy-Authorization"), ^ HTTPUtilitiesLib/HTTPProtocol.cpp:99:22: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Range"), ^ HTTPUtilitiesLib/HTTPProtocol.cpp:100:24: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Referer"), ^ HTTPUtilitiesLib/HTTPProtocol.cpp:101:19: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("TE"), ^ HTTPUtilitiesLib/HTTPProtocol.cpp:102:27: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("User-Agent"), ^ HTTPUtilitiesLib/HTTPProtocol.cpp:104:30: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Accept-Ranges"), ^ HTTPUtilitiesLib/HTTPProtocol.cpp:105:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Age"), ^ HTTPUtilitiesLib/HTTPProtocol.cpp:106:21: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("ETag"), ^ HTTPUtilitiesLib/HTTPProtocol.cpp:107:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Location"), ^ HTTPUtilitiesLib/HTTPProtocol.cpp:108:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Proxy-Authenticate"), ^ HTTPUtilitiesLib/HTTPProtocol.cpp:109:28: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Retry-After"), ^ HTTPUtilitiesLib/HTTPProtocol.cpp:110:21: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Vary"), ^ HTTPUtilitiesLib/HTTPProtocol.cpp:112:22: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Allow"), ^ HTTPUtilitiesLib/HTTPProtocol.cpp:113:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Content-Encoding"), ^ HTTPUtilitiesLib/HTTPProtocol.cpp:114:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Content-Language"), ^ HTTPUtilitiesLib/HTTPProtocol.cpp:115:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Content-Length"), ^ HTTPUtilitiesLib/HTTPProtocol.cpp:116:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Content-Location"), ^ HTTPUtilitiesLib/HTTPProtocol.cpp:117:28: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Content-MD5"), ^ HTTPUtilitiesLib/HTTPProtocol.cpp:118:30: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Content-Range"), ^ HTTPUtilitiesLib/HTTPProtocol.cpp:119:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Content-Type"), ^ HTTPUtilitiesLib/HTTPProtocol.cpp:121:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("X-SessionCookie"), ^ HTTPUtilitiesLib/HTTPProtocol.cpp:122:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("X-Server-IP-Address"), ^ HTTPUtilitiesLib/HTTPProtocol.cpp:124:19: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen(" ,") ^ HTTPUtilitiesLib/HTTPProtocol.cpp:163:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Continue"), //kContinue ^ HTTPUtilitiesLib/HTTPProtocol.cpp:164:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Switching Protocols"), //kSwitchingProtocols ^ HTTPUtilitiesLib/HTTPProtocol.cpp:165:19: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("OK"), //kOK ^ HTTPUtilitiesLib/HTTPProtocol.cpp:166:24: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Created"), //kCreated ^ HTTPUtilitiesLib/HTTPProtocol.cpp:167:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Accepted"), //kAccepted ^ HTTPUtilitiesLib/HTTPProtocol.cpp:168:46: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Non Authoritative Information"), //kNonAuthoritativeInformation ^ HTTPUtilitiesLib/HTTPProtocol.cpp:169:27: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("No Content"), //kNoContent ^ HTTPUtilitiesLib/HTTPProtocol.cpp:170:30: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Reset Content"), //kResetContent ^ HTTPUtilitiesLib/HTTPProtocol.cpp:171:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Partial Content"), //kPartialContent ^ HTTPUtilitiesLib/HTTPProtocol.cpp:172:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Multiple Choices"), //kMultipleChoices ^ HTTPUtilitiesLib/HTTPProtocol.cpp:173:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Moved Permanently"), //kMovedPermanently ^ HTTPUtilitiesLib/HTTPProtocol.cpp:174:22: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Found"), //kFound ^ HTTPUtilitiesLib/HTTPProtocol.cpp:175:26: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("See Other"), //kSeeOther ^ HTTPUtilitiesLib/HTTPProtocol.cpp:176:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Not Modified"), //kNotModified ^ HTTPUtilitiesLib/HTTPProtocol.cpp:177:26: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Use Proxy"), //kUseProxy ^ HTTPUtilitiesLib/HTTPProtocol.cpp:178:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Temporary Redirect"), //kTemporaryRedirect ^ HTTPUtilitiesLib/HTTPProtocol.cpp:179:28: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Bad Request"), //kBadRequest ^ HTTPUtilitiesLib/HTTPProtocol.cpp:180:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Unauthorized"), //kUnAuthorized ^ HTTPUtilitiesLib/HTTPProtocol.cpp:181:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Payment Required"), //kPaymentRequired ^ HTTPUtilitiesLib/HTTPProtocol.cpp:182:26: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Forbidden"), //kForbidden ^ HTTPUtilitiesLib/HTTPProtocol.cpp:183:26: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Not Found"), //kNotFound ^ HTTPUtilitiesLib/HTTPProtocol.cpp:184:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Method Not Allowed"), //kMethodNotAllowed ^ HTTPUtilitiesLib/HTTPProtocol.cpp:185:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Not Acceptable"), //kNotAcceptable ^ HTTPUtilitiesLib/HTTPProtocol.cpp:186:46: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Proxy Authentication Required"), //kProxyAuthenticationRequired ^ HTTPUtilitiesLib/HTTPProtocol.cpp:187:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Request Time-out"), //kRequestTimeout ^ HTTPUtilitiesLib/HTTPProtocol.cpp:188:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Conflict"), //kConflict ^ HTTPUtilitiesLib/HTTPProtocol.cpp:189:21: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Gone"), //kGone ^ HTTPUtilitiesLib/HTTPProtocol.cpp:190:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Length Required"), //kLengthRequired ^ HTTPUtilitiesLib/HTTPProtocol.cpp:191:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Precondition Failed"), //kPreconditionFailed ^ HTTPUtilitiesLib/HTTPProtocol.cpp:192:41: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Request Entity Too Large"), //kRequestEntityTooLarge ^ HTTPUtilitiesLib/HTTPProtocol.cpp:193:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Request-URI Too Large"), //kRequestURITooLarge ^ HTTPUtilitiesLib/HTTPProtocol.cpp:194:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Unsupported Media Type"), //kUnsupportedMediaType ^ HTTPUtilitiesLib/HTTPProtocol.cpp:195:46: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Request Range Not Satisfiable"), //kRequestRangeNotSatisfiable ^ HTTPUtilitiesLib/HTTPProtocol.cpp:196:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Expectation Failed"), //kExpectationFailed ^ HTTPUtilitiesLib/HTTPProtocol.cpp:197:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Internal Server Error"), //kInternalServerError ^ HTTPUtilitiesLib/HTTPProtocol.cpp:198:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Not Implemented"), //kNotImplemented ^ HTTPUtilitiesLib/HTTPProtocol.cpp:199:28: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Bad Gateway"), //kBadGateway ^ HTTPUtilitiesLib/HTTPProtocol.cpp:200:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Service Unavailable"), //kServiceUnavailable ^ HTTPUtilitiesLib/HTTPProtocol.cpp:201:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Gateway Timeout"), //kGatewayTimeout ^ HTTPUtilitiesLib/HTTPProtocol.cpp:202:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("HTTP Version not supported") //kHTTPVersionNotSupported ^ HTTPUtilitiesLib/HTTPProtocol.cpp:251:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("100"), //kContinue ^ HTTPUtilitiesLib/HTTPProtocol.cpp:252:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("101"), //kSwitchingProtocols ^ HTTPUtilitiesLib/HTTPProtocol.cpp:253:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("200"), //kOK ^ HTTPUtilitiesLib/HTTPProtocol.cpp:254:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("201"), //kCreated ^ HTTPUtilitiesLib/HTTPProtocol.cpp:255:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("202"), //kAccepted ^ HTTPUtilitiesLib/HTTPProtocol.cpp:256:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("203"), //kNonAuthoritativeInformation ^ HTTPUtilitiesLib/HTTPProtocol.cpp:257:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("204"), //kNoContent ^ HTTPUtilitiesLib/HTTPProtocol.cpp:258:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("205"), //kResetContent ^ HTTPUtilitiesLib/HTTPProtocol.cpp:259:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("206"), //kPartialContent ^ HTTPUtilitiesLib/HTTPProtocol.cpp:260:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("300"), //kMultipleChoices ^ HTTPUtilitiesLib/HTTPProtocol.cpp:261:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("301"), //kMovedPermanently ^ HTTPUtilitiesLib/HTTPProtocol.cpp:262:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("302"), //kFound ^ HTTPUtilitiesLib/HTTPProtocol.cpp:263:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("303"), //kSeeOther ^ HTTPUtilitiesLib/HTTPProtocol.cpp:264:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("304"), //kNotModified ^ HTTPUtilitiesLib/HTTPProtocol.cpp:265:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("305"), //kUseProxy ^ HTTPUtilitiesLib/HTTPProtocol.cpp:266:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("307"), //kTemporaryRedirect ^ HTTPUtilitiesLib/HTTPProtocol.cpp:267:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("400"), //kBadRequest ^ HTTPUtilitiesLib/HTTPProtocol.cpp:268:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("401"), //kUnAuthorized ^ HTTPUtilitiesLib/HTTPProtocol.cpp:269:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("402"), //kPaymentRequired ^ HTTPUtilitiesLib/HTTPProtocol.cpp:270:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("403"), //kForbidden ^ HTTPUtilitiesLib/HTTPProtocol.cpp:271:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("404"), //kNotFound ^ HTTPUtilitiesLib/HTTPProtocol.cpp:272:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("405"), //kMethodNotAllowed ^ HTTPUtilitiesLib/HTTPProtocol.cpp:273:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("406"), //kNotAcceptable ^ HTTPUtilitiesLib/HTTPProtocol.cpp:274:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("407"), //kProxyAuthenticationRequired ^ HTTPUtilitiesLib/HTTPProtocol.cpp:275:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("408"), //kRequestTimeout ^ HTTPUtilitiesLib/HTTPProtocol.cpp:276:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("409"), //kConflict ^ HTTPUtilitiesLib/HTTPProtocol.cpp:277:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("410"), //kGone ^ HTTPUtilitiesLib/HTTPProtocol.cpp:278:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("411"), //kLengthRequired ^ HTTPUtilitiesLib/HTTPProtocol.cpp:279:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("412"), //kPreconditionFailed ^ HTTPUtilitiesLib/HTTPProtocol.cpp:280:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("413"), //kRequestEntityTooLarge ^ HTTPUtilitiesLib/HTTPProtocol.cpp:281:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("414"), //kRequestURITooLarge ^ HTTPUtilitiesLib/HTTPProtocol.cpp:282:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("415"), //kUnsupportedMediaType ^ HTTPUtilitiesLib/HTTPProtocol.cpp:283:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("416"), //kRequestRangeNotSatisfiable ^ HTTPUtilitiesLib/HTTPProtocol.cpp:284:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("417"), //kExpectationFailed ^ HTTPUtilitiesLib/HTTPProtocol.cpp:285:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("500"), //kInternalServerError ^ HTTPUtilitiesLib/HTTPProtocol.cpp:286:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("501"), //kNotImplemented ^ HTTPUtilitiesLib/HTTPProtocol.cpp:287:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("502"), //kBadGateway ^ HTTPUtilitiesLib/HTTPProtocol.cpp:288:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("503"), //kServiceUnavailable ^ HTTPUtilitiesLib/HTTPProtocol.cpp:289:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("504"), //kGatewayTimeout ^ HTTPUtilitiesLib/HTTPProtocol.cpp:290:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("505") //kHTTPVersionNotSupported ^ HTTPUtilitiesLib/HTTPProtocol.cpp:295:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("HTTP/0.9"), ^ HTTPUtilitiesLib/HTTPProtocol.cpp:296:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("HTTP/1.0"), ^ HTTPUtilitiesLib/HTTPProtocol.cpp:297:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("HTTP/1.1") ^ c++ -fPIC -c -o HTTPUtilitiesLib/HTTPRequest.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -DDSS_USE_API_CALLBACKS -g -Wall -Wno-format-y2k -include PlatformHeader.h -I. -IQTFileLib -IOSMemoryLib -IRTSPClientLib -IAPIModules -IAPICommonCode -IAPIModules/OSMemory_Modules -IAPIModules/QTSSAccessLogModule -IAPIModules/QTSSFileModule -IAPIModules/QTSSFlowControlModule -IAPIModules/QTSSReflectorModule -IAPIModules/QTSSSvrControlModule -IAPIModules/QTSSWebDebugModule -IAPIModules/QTSSWebStatsModule -IAPIModules/QTSSAuthorizeModule -IAPIModules/QTSSPOSIXFileSysModule -IAPIModules/QTSSAdminModule -IAPIModules/QTSSMP3StreamingModule -IAPIModules/QTSSRTPFileModule -IAPIModules/QTSSAccessModule -IAPIModules/QTSSHttpFileModule -IQTFileTools/RTPFileGen.tproj -IAPIStubLib -ICommonUtilitiesLib -IRTCPUtilitiesLib -IHTTPUtilitiesLib -IRTPMetaInfoLib -IPrefsSourceLib -IServer.tproj HTTPUtilitiesLib/HTTPRequest.cpp HTTPUtilitiesLib/HTTPRequest.cpp:369:33: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] qtss_sprintf(contentLength, "%"_64BITARG_"d", length_64bit); ^ In file included from CommonUtilitiesLib/ResizeableStringFormatter.h:39:0, from HTTPUtilitiesLib/HTTPRequest.h:31, from HTTPUtilitiesLib/HTTPRequest.cpp:25: CommonUtilitiesLib/StringFormatter.h: In member function 'void StringFormatter::PutFilePath(StrPtrLen*, StrPtrLen*)': CommonUtilitiesLib/StringFormatter.h:138:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Put(kPathDelimiterString); ^ HTTPUtilitiesLib/HTTPRequest.cpp: At global scope: HTTPUtilitiesLib/HTTPRequest.cpp:34:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen HTTPRequest::sColonSpace(": ", 2); ^ HTTPUtilitiesLib/HTTPRequest.cpp:37:41: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sCloseString("close", 5); ^ HTTPUtilitiesLib/HTTPRequest.cpp:38:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sKeepAliveString("keep-alive", 10); ^ HTTPUtilitiesLib/HTTPRequest.cpp:39:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sDefaultRealm("Streaming Server", 19); ^ c++ -fPIC -c -o RTCPUtilitiesLib/RTCPAPPPacket.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -DDSS_USE_API_CALLBACKS -g -Wall -Wno-format-y2k -include PlatformHeader.h -I. -IQTFileLib -IOSMemoryLib -IRTSPClientLib -IAPIModules -IAPICommonCode -IAPIModules/OSMemory_Modules -IAPIModules/QTSSAccessLogModule -IAPIModules/QTSSFileModule -IAPIModules/QTSSFlowControlModule -IAPIModules/QTSSReflectorModule -IAPIModules/QTSSSvrControlModule -IAPIModules/QTSSWebDebugModule -IAPIModules/QTSSWebStatsModule -IAPIModules/QTSSAuthorizeModule -IAPIModules/QTSSPOSIXFileSysModule -IAPIModules/QTSSAdminModule -IAPIModules/QTSSMP3StreamingModule -IAPIModules/QTSSRTPFileModule -IAPIModules/QTSSAccessModule -IAPIModules/QTSSHttpFileModule -IQTFileTools/RTPFileGen.tproj -IAPIStubLib -ICommonUtilitiesLib -IRTCPUtilitiesLib -IHTTPUtilitiesLib -IRTPMetaInfoLib -IPrefsSourceLib -IServer.tproj RTCPUtilitiesLib/RTCPAPPPacket.cpp In file included from /usr/include/sys/common_ansi.h:35:0, from /usr/include/amd64/ansi.h:3, from /usr/include/sys/ansi.h:35, from /usr/include/sys/endian.h:53, from /usr/include/amd64/endian.h:3, from ./PlatformHeader.h:174, from :0: RTCPUtilitiesLib/RTCPAPPPacket.cpp: In member function 'void RTCPqtssPacket::ParseAndStore()': RTCPUtilitiesLib/RTCPAPPPacket.cpp:90:62: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fReceiverBitRate = (UInt32) ntohl(*(UInt32*)&qtssDataBuffer); ^ RTCPUtilitiesLib/RTCPAPPPacket.cpp:90:62: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fReceiverBitRate = (UInt32) ntohl(*(UInt32*)&qtssDataBuffer); ^ RTCPUtilitiesLib/RTCPAPPPacket.cpp:90:62: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fReceiverBitRate = (UInt32) ntohl(*(UInt32*)&qtssDataBuffer); ^ RTCPUtilitiesLib/RTCPAPPPacket.cpp:90:62: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fReceiverBitRate = (UInt32) ntohl(*(UInt32*)&qtssDataBuffer); ^ RTCPUtilitiesLib/RTCPAPPPacket.cpp:90:62: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fReceiverBitRate = (UInt32) ntohl(*(UInt32*)&qtssDataBuffer); ^ RTCPUtilitiesLib/RTCPAPPPacket.cpp:90:62: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fReceiverBitRate = (UInt32) ntohl(*(UInt32*)&qtssDataBuffer); ^ RTCPUtilitiesLib/RTCPAPPPacket.cpp:97:70: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fAverageLateMilliseconds = (UInt32) ntohl(*(UInt32*)&qtssDataBuffer); ^ RTCPUtilitiesLib/RTCPAPPPacket.cpp:97:70: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fAverageLateMilliseconds = (UInt32) ntohl(*(UInt32*)&qtssDataBuffer); ^ RTCPUtilitiesLib/RTCPAPPPacket.cpp:97:70: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fAverageLateMilliseconds = (UInt32) ntohl(*(UInt32*)&qtssDataBuffer); ^ RTCPUtilitiesLib/RTCPAPPPacket.cpp:97:70: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fAverageLateMilliseconds = (UInt32) ntohl(*(UInt32*)&qtssDataBuffer); ^ RTCPUtilitiesLib/RTCPAPPPacket.cpp:97:70: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fAverageLateMilliseconds = (UInt32) ntohl(*(UInt32*)&qtssDataBuffer); ^ RTCPUtilitiesLib/RTCPAPPPacket.cpp:97:70: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fAverageLateMilliseconds = (UInt32) ntohl(*(UInt32*)&qtssDataBuffer); ^ RTCPUtilitiesLib/RTCPAPPPacket.cpp:104:65: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fPercentPacketsLost = (UInt32) ntohl(*(UInt32*)&qtssDataBuffer); ^ RTCPUtilitiesLib/RTCPAPPPacket.cpp:104:65: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fPercentPacketsLost = (UInt32) ntohl(*(UInt32*)&qtssDataBuffer); ^ RTCPUtilitiesLib/RTCPAPPPacket.cpp:104:65: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fPercentPacketsLost = (UInt32) ntohl(*(UInt32*)&qtssDataBuffer); ^ RTCPUtilitiesLib/RTCPAPPPacket.cpp:104:65: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fPercentPacketsLost = (UInt32) ntohl(*(UInt32*)&qtssDataBuffer); ^ RTCPUtilitiesLib/RTCPAPPPacket.cpp:104:65: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fPercentPacketsLost = (UInt32) ntohl(*(UInt32*)&qtssDataBuffer); ^ RTCPUtilitiesLib/RTCPAPPPacket.cpp:104:65: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fPercentPacketsLost = (UInt32) ntohl(*(UInt32*)&qtssDataBuffer); ^ RTCPUtilitiesLib/RTCPAPPPacket.cpp:111:77: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fAverageBufferDelayMilliseconds = (UInt32) ntohl(*(UInt32*)&qtssDataBuffer); ^ RTCPUtilitiesLib/RTCPAPPPacket.cpp:111:77: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fAverageBufferDelayMilliseconds = (UInt32) ntohl(*(UInt32*)&qtssDataBuffer); ^ RTCPUtilitiesLib/RTCPAPPPacket.cpp:111:77: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fAverageBufferDelayMilliseconds = (UInt32) ntohl(*(UInt32*)&qtssDataBuffer); ^ RTCPUtilitiesLib/RTCPAPPPacket.cpp:111:77: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fAverageBufferDelayMilliseconds = (UInt32) ntohl(*(UInt32*)&qtssDataBuffer); ^ RTCPUtilitiesLib/RTCPAPPPacket.cpp:111:77: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fAverageBufferDelayMilliseconds = (UInt32) ntohl(*(UInt32*)&qtssDataBuffer); ^ RTCPUtilitiesLib/RTCPAPPPacket.cpp:111:77: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fAverageBufferDelayMilliseconds = (UInt32) ntohl(*(UInt32*)&qtssDataBuffer); ^ RTCPUtilitiesLib/RTCPAPPPacket.cpp:130:54: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fNumEyes = (UInt32) ntohl(*(UInt32*)&qtssDataBuffer); ^ RTCPUtilitiesLib/RTCPAPPPacket.cpp:130:54: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fNumEyes = (UInt32) ntohl(*(UInt32*)&qtssDataBuffer); ^ RTCPUtilitiesLib/RTCPAPPPacket.cpp:130:54: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fNumEyes = (UInt32) ntohl(*(UInt32*)&qtssDataBuffer); ^ RTCPUtilitiesLib/RTCPAPPPacket.cpp:130:54: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fNumEyes = (UInt32) ntohl(*(UInt32*)&qtssDataBuffer); ^ RTCPUtilitiesLib/RTCPAPPPacket.cpp:130:54: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fNumEyes = (UInt32) ntohl(*(UInt32*)&qtssDataBuffer); ^ RTCPUtilitiesLib/RTCPAPPPacket.cpp:130:54: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fNumEyes = (UInt32) ntohl(*(UInt32*)&qtssDataBuffer); ^ RTCPUtilitiesLib/RTCPAPPPacket.cpp:134:64: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fNumEyesActive = (UInt32) ntohl(*(UInt32*)&qtssDataBuffer); ^ RTCPUtilitiesLib/RTCPAPPPacket.cpp:134:64: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fNumEyesActive = (UInt32) ntohl(*(UInt32*)&qtssDataBuffer); ^ RTCPUtilitiesLib/RTCPAPPPacket.cpp:134:64: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fNumEyesActive = (UInt32) ntohl(*(UInt32*)&qtssDataBuffer); ^ RTCPUtilitiesLib/RTCPAPPPacket.cpp:134:64: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fNumEyesActive = (UInt32) ntohl(*(UInt32*)&qtssDataBuffer); ^ RTCPUtilitiesLib/RTCPAPPPacket.cpp:134:64: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fNumEyesActive = (UInt32) ntohl(*(UInt32*)&qtssDataBuffer); ^ RTCPUtilitiesLib/RTCPAPPPacket.cpp:134:64: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fNumEyesActive = (UInt32) ntohl(*(UInt32*)&qtssDataBuffer); ^ RTCPUtilitiesLib/RTCPAPPPacket.cpp:139:64: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fNumEyesPaused = (UInt32) ntohl(*(UInt32*)&qtssDataBuffer); ^ RTCPUtilitiesLib/RTCPAPPPacket.cpp:139:64: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fNumEyesPaused = (UInt32) ntohl(*(UInt32*)&qtssDataBuffer); ^ RTCPUtilitiesLib/RTCPAPPPacket.cpp:139:64: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fNumEyesPaused = (UInt32) ntohl(*(UInt32*)&qtssDataBuffer); ^ RTCPUtilitiesLib/RTCPAPPPacket.cpp:139:64: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fNumEyesPaused = (UInt32) ntohl(*(UInt32*)&qtssDataBuffer); ^ RTCPUtilitiesLib/RTCPAPPPacket.cpp:139:64: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fNumEyesPaused = (UInt32) ntohl(*(UInt32*)&qtssDataBuffer); ^ RTCPUtilitiesLib/RTCPAPPPacket.cpp:139:64: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fNumEyesPaused = (UInt32) ntohl(*(UInt32*)&qtssDataBuffer); ^ RTCPUtilitiesLib/RTCPAPPPacket.cpp:147:67: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fTotalPacketsReceived = (UInt32) ntohl(*(UInt32*)&qtssDataBuffer); ^ RTCPUtilitiesLib/RTCPAPPPacket.cpp:147:67: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fTotalPacketsReceived = (UInt32) ntohl(*(UInt32*)&qtssDataBuffer); ^ RTCPUtilitiesLib/RTCPAPPPacket.cpp:147:67: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fTotalPacketsReceived = (UInt32) ntohl(*(UInt32*)&qtssDataBuffer); ^ RTCPUtilitiesLib/RTCPAPPPacket.cpp:147:67: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fTotalPacketsReceived = (UInt32) ntohl(*(UInt32*)&qtssDataBuffer); ^ RTCPUtilitiesLib/RTCPAPPPacket.cpp:147:67: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fTotalPacketsReceived = (UInt32) ntohl(*(UInt32*)&qtssDataBuffer); ^ RTCPUtilitiesLib/RTCPAPPPacket.cpp:147:67: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fTotalPacketsReceived = (UInt32) ntohl(*(UInt32*)&qtssDataBuffer); ^ RTCPUtilitiesLib/RTCPAPPPacket.cpp:154:66: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fTotalPacketsDropped = (UInt32) ntohl(*(UInt32*)&qtssDataBuffer); ^ RTCPUtilitiesLib/RTCPAPPPacket.cpp:154:66: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fTotalPacketsDropped = (UInt32) ntohl(*(UInt32*)&qtssDataBuffer); ^ RTCPUtilitiesLib/RTCPAPPPacket.cpp:154:66: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fTotalPacketsDropped = (UInt32) ntohl(*(UInt32*)&qtssDataBuffer); ^ RTCPUtilitiesLib/RTCPAPPPacket.cpp:154:66: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fTotalPacketsDropped = (UInt32) ntohl(*(UInt32*)&qtssDataBuffer); ^ RTCPUtilitiesLib/RTCPAPPPacket.cpp:154:66: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fTotalPacketsDropped = (UInt32) ntohl(*(UInt32*)&qtssDataBuffer); ^ RTCPUtilitiesLib/RTCPAPPPacket.cpp:154:66: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fTotalPacketsDropped = (UInt32) ntohl(*(UInt32*)&qtssDataBuffer); ^ RTCPUtilitiesLib/RTCPAPPPacket.cpp:162:63: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fClientBufferFill = (UInt32) ntohl(*(UInt32*)&qtssDataBuffer); ^ RTCPUtilitiesLib/RTCPAPPPacket.cpp:162:63: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fClientBufferFill = (UInt32) ntohl(*(UInt32*)&qtssDataBuffer); ^ RTCPUtilitiesLib/RTCPAPPPacket.cpp:162:63: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fClientBufferFill = (UInt32) ntohl(*(UInt32*)&qtssDataBuffer); ^ RTCPUtilitiesLib/RTCPAPPPacket.cpp:162:63: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fClientBufferFill = (UInt32) ntohl(*(UInt32*)&qtssDataBuffer); ^ RTCPUtilitiesLib/RTCPAPPPacket.cpp:162:63: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fClientBufferFill = (UInt32) ntohl(*(UInt32*)&qtssDataBuffer); ^ RTCPUtilitiesLib/RTCPAPPPacket.cpp:162:63: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fClientBufferFill = (UInt32) ntohl(*(UInt32*)&qtssDataBuffer); ^ RTCPUtilitiesLib/RTCPAPPPacket.cpp:170:56: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fFrameRate = (UInt32) ntohl(*(UInt32*)&qtssDataBuffer); ^ RTCPUtilitiesLib/RTCPAPPPacket.cpp:170:56: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fFrameRate = (UInt32) ntohl(*(UInt32*)&qtssDataBuffer); ^ RTCPUtilitiesLib/RTCPAPPPacket.cpp:170:56: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fFrameRate = (UInt32) ntohl(*(UInt32*)&qtssDataBuffer); ^ RTCPUtilitiesLib/RTCPAPPPacket.cpp:170:56: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fFrameRate = (UInt32) ntohl(*(UInt32*)&qtssDataBuffer); ^ RTCPUtilitiesLib/RTCPAPPPacket.cpp:170:56: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fFrameRate = (UInt32) ntohl(*(UInt32*)&qtssDataBuffer); ^ RTCPUtilitiesLib/RTCPAPPPacket.cpp:170:56: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fFrameRate = (UInt32) ntohl(*(UInt32*)&qtssDataBuffer); ^ RTCPUtilitiesLib/RTCPAPPPacket.cpp:178:64: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fExpectedFrameRate = (UInt32) ntohl(*(UInt32*)&qtssDataBuffer); ^ RTCPUtilitiesLib/RTCPAPPPacket.cpp:178:64: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fExpectedFrameRate = (UInt32) ntohl(*(UInt32*)&qtssDataBuffer); ^ RTCPUtilitiesLib/RTCPAPPPacket.cpp:178:64: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fExpectedFrameRate = (UInt32) ntohl(*(UInt32*)&qtssDataBuffer); ^ RTCPUtilitiesLib/RTCPAPPPacket.cpp:178:64: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fExpectedFrameRate = (UInt32) ntohl(*(UInt32*)&qtssDataBuffer); ^ RTCPUtilitiesLib/RTCPAPPPacket.cpp:178:64: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fExpectedFrameRate = (UInt32) ntohl(*(UInt32*)&qtssDataBuffer); ^ RTCPUtilitiesLib/RTCPAPPPacket.cpp:178:64: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fExpectedFrameRate = (UInt32) ntohl(*(UInt32*)&qtssDataBuffer); ^ RTCPUtilitiesLib/RTCPAPPPacket.cpp:186:60: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fAudioDryCount = (UInt32) ntohl(*(UInt32*)&qtssDataBuffer); ^ RTCPUtilitiesLib/RTCPAPPPacket.cpp:186:60: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fAudioDryCount = (UInt32) ntohl(*(UInt32*)&qtssDataBuffer); ^ RTCPUtilitiesLib/RTCPAPPPacket.cpp:186:60: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fAudioDryCount = (UInt32) ntohl(*(UInt32*)&qtssDataBuffer); ^ RTCPUtilitiesLib/RTCPAPPPacket.cpp:186:60: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fAudioDryCount = (UInt32) ntohl(*(UInt32*)&qtssDataBuffer); ^ RTCPUtilitiesLib/RTCPAPPPacket.cpp:186:60: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fAudioDryCount = (UInt32) ntohl(*(UInt32*)&qtssDataBuffer); ^ RTCPUtilitiesLib/RTCPAPPPacket.cpp:186:60: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fAudioDryCount = (UInt32) ntohl(*(UInt32*)&qtssDataBuffer); ^ RTCPUtilitiesLib/RTCPAPPPacket.cpp: In constructor 'RTCPCompressedQTSSPacket::RTCPCompressedQTSSPacket(Bool16)': RTCPUtilitiesLib/RTCPAPPPacket.cpp:224:21: warning: large integer implicitly truncated to unsigned type [-Woverflow] fAudioDryCount(0) ^ c++ -fPIC -c -o RTCPUtilitiesLib/RTCPPacket.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -DDSS_USE_API_CALLBACKS -g -Wall -Wno-format-y2k -include PlatformHeader.h -I. -IQTFileLib -IOSMemoryLib -IRTSPClientLib -IAPIModules -IAPICommonCode -IAPIModules/OSMemory_Modules -IAPIModules/QTSSAccessLogModule -IAPIModules/QTSSFileModule -IAPIModules/QTSSFlowControlModule -IAPIModules/QTSSReflectorModule -IAPIModules/QTSSSvrControlModule -IAPIModules/QTSSWebDebugModule -IAPIModules/QTSSWebStatsModule -IAPIModules/QTSSAuthorizeModule -IAPIModules/QTSSPOSIXFileSysModule -IAPIModules/QTSSAdminModule -IAPIModules/QTSSMP3StreamingModule -IAPIModules/QTSSRTPFileModule -IAPIModules/QTSSAccessModule -IAPIModules/QTSSHttpFileModule -IQTFileTools/RTPFileGen.tproj -IAPIStubLib -ICommonUtilitiesLib -IRTCPUtilitiesLib -IHTTPUtilitiesLib -IRTPMetaInfoLib -IPrefsSourceLib -IServer.tproj RTCPUtilitiesLib/RTCPPacket.cpp c++ -fPIC -c -o RTCPUtilitiesLib/RTCPSRPacket.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -DDSS_USE_API_CALLBACKS -g -Wall -Wno-format-y2k -include PlatformHeader.h -I. -IQTFileLib -IOSMemoryLib -IRTSPClientLib -IAPIModules -IAPICommonCode -IAPIModules/OSMemory_Modules -IAPIModules/QTSSAccessLogModule -IAPIModules/QTSSFileModule -IAPIModules/QTSSFlowControlModule -IAPIModules/QTSSReflectorModule -IAPIModules/QTSSSvrControlModule -IAPIModules/QTSSWebDebugModule -IAPIModules/QTSSWebStatsModule -IAPIModules/QTSSAuthorizeModule -IAPIModules/QTSSPOSIXFileSysModule -IAPIModules/QTSSAdminModule -IAPIModules/QTSSMP3StreamingModule -IAPIModules/QTSSRTPFileModule -IAPIModules/QTSSAccessModule -IAPIModules/QTSSHttpFileModule -IQTFileTools/RTPFileGen.tproj -IAPIStubLib -ICommonUtilitiesLib -IRTCPUtilitiesLib -IHTTPUtilitiesLib -IRTPMetaInfoLib -IPrefsSourceLib -IServer.tproj RTCPUtilitiesLib/RTCPSRPacket.cpp RTCPUtilitiesLib/RTCPSRPacket.cpp:98:37: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] qtss_sprintf(&ioCNameBuffer[1], " %s%"_64BITARG_"d", sCNameBase, OS::Milliseconds() / 1000); ^ RTCPUtilitiesLib/RTCPSRPacket.cpp: In static member function 'static UInt32 RTCPSRPacket::GetACName(char*)': RTCPUtilitiesLib/RTCPSRPacket.cpp:89:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sCNameBase = "QTSS"; ^~~~~~ c++ -fPIC -c -o RTCPUtilitiesLib/RTCPAckPacket.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -DDSS_USE_API_CALLBACKS -g -Wall -Wno-format-y2k -include PlatformHeader.h -I. -IQTFileLib -IOSMemoryLib -IRTSPClientLib -IAPIModules -IAPICommonCode -IAPIModules/OSMemory_Modules -IAPIModules/QTSSAccessLogModule -IAPIModules/QTSSFileModule -IAPIModules/QTSSFlowControlModule -IAPIModules/QTSSReflectorModule -IAPIModules/QTSSSvrControlModule -IAPIModules/QTSSWebDebugModule -IAPIModules/QTSSWebStatsModule -IAPIModules/QTSSAuthorizeModule -IAPIModules/QTSSPOSIXFileSysModule -IAPIModules/QTSSAdminModule -IAPIModules/QTSSMP3StreamingModule -IAPIModules/QTSSRTPFileModule -IAPIModules/QTSSAccessModule -IAPIModules/QTSSHttpFileModule -IQTFileTools/RTPFileGen.tproj -IAPIStubLib -ICommonUtilitiesLib -IRTCPUtilitiesLib -IHTTPUtilitiesLib -IRTPMetaInfoLib -IPrefsSourceLib -IServer.tproj RTCPUtilitiesLib/RTCPAckPacket.cpp c++ -fPIC -c -o RTPMetaInfoLib/RTPMetaInfoPacket.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -DDSS_USE_API_CALLBACKS -g -Wall -Wno-format-y2k -include PlatformHeader.h -I. -IQTFileLib -IOSMemoryLib -IRTSPClientLib -IAPIModules -IAPICommonCode -IAPIModules/OSMemory_Modules -IAPIModules/QTSSAccessLogModule -IAPIModules/QTSSFileModule -IAPIModules/QTSSFlowControlModule -IAPIModules/QTSSReflectorModule -IAPIModules/QTSSSvrControlModule -IAPIModules/QTSSWebDebugModule -IAPIModules/QTSSWebStatsModule -IAPIModules/QTSSAuthorizeModule -IAPIModules/QTSSPOSIXFileSysModule -IAPIModules/QTSSAdminModule -IAPIModules/QTSSMP3StreamingModule -IAPIModules/QTSSRTPFileModule -IAPIModules/QTSSAccessModule -IAPIModules/QTSSHttpFileModule -IQTFileTools/RTPFileGen.tproj -IAPIStubLib -ICommonUtilitiesLib -IRTCPUtilitiesLib -IHTTPUtilitiesLib -IRTPMetaInfoLib -IPrefsSourceLib -IServer.tproj RTPMetaInfoLib/RTPMetaInfoPacket.cpp c++ -fPIC -c -o APIStubLib/QTSS_Private.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -DDSS_USE_API_CALLBACKS -g -Wall -Wno-format-y2k -include PlatformHeader.h -I. -IQTFileLib -IOSMemoryLib -IRTSPClientLib -IAPIModules -IAPICommonCode -IAPIModules/OSMemory_Modules -IAPIModules/QTSSAccessLogModule -IAPIModules/QTSSFileModule -IAPIModules/QTSSFlowControlModule -IAPIModules/QTSSReflectorModule -IAPIModules/QTSSSvrControlModule -IAPIModules/QTSSWebDebugModule -IAPIModules/QTSSWebStatsModule -IAPIModules/QTSSAuthorizeModule -IAPIModules/QTSSPOSIXFileSysModule -IAPIModules/QTSSAdminModule -IAPIModules/QTSSMP3StreamingModule -IAPIModules/QTSSRTPFileModule -IAPIModules/QTSSAccessModule -IAPIModules/QTSSHttpFileModule -IQTFileTools/RTPFileGen.tproj -IAPIStubLib -ICommonUtilitiesLib -IRTCPUtilitiesLib -IHTTPUtilitiesLib -IRTPMetaInfoLib -IPrefsSourceLib -IServer.tproj APIStubLib/QTSS_Private.cpp c++ -fPIC -c -o APICommonCode/QTSSModuleUtils.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -DDSS_USE_API_CALLBACKS -g -Wall -Wno-format-y2k -include PlatformHeader.h -I. -IQTFileLib -IOSMemoryLib -IRTSPClientLib -IAPIModules -IAPICommonCode -IAPIModules/OSMemory_Modules -IAPIModules/QTSSAccessLogModule -IAPIModules/QTSSFileModule -IAPIModules/QTSSFlowControlModule -IAPIModules/QTSSReflectorModule -IAPIModules/QTSSSvrControlModule -IAPIModules/QTSSWebDebugModule -IAPIModules/QTSSWebStatsModule -IAPIModules/QTSSAuthorizeModule -IAPIModules/QTSSPOSIXFileSysModule -IAPIModules/QTSSAdminModule -IAPIModules/QTSSMP3StreamingModule -IAPIModules/QTSSRTPFileModule -IAPIModules/QTSSAccessModule -IAPIModules/QTSSHttpFileModule -IQTFileTools/RTPFileGen.tproj -IAPIStubLib -ICommonUtilitiesLib -IRTCPUtilitiesLib -IHTTPUtilitiesLib -IRTPMetaInfoLib -IPrefsSourceLib -IServer.tproj APICommonCode/QTSSModuleUtils.cpp In file included from APICommonCode/QTSSModuleUtils.cpp:39:0: CommonUtilitiesLib/StringFormatter.h: In member function 'void StringFormatter::PutFilePath(StrPtrLen*, StrPtrLen*)': CommonUtilitiesLib/StringFormatter.h:138:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Put(kPathDelimiterString); ^ APICommonCode/QTSSModuleUtils.cpp: In static member function 'static void QTSSModuleUtils::LogError(QTSS_ErrorVerbosity, QTSS_AttributeID, UInt32, char*, char*)': APICommonCode/QTSSModuleUtils.cpp:148:30: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sEmptyArg = ""; ^~ APICommonCode/QTSSModuleUtils.cpp: In static member function 'static QTSS_Error QTSSModuleUtils::SendHTTPErrorResponse(QTSS_RTSPRequestObject, QTSS_SessionStatusCode, Bool16, char*)': APICommonCode/QTSSModuleUtils.cpp:469:22: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] char* errorMsg = "error"; ^~~~~~~ APICommonCode/QTSSModuleUtils.cpp:498:62: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static const StrPtrLen htmlBodyStart("\n"); ^ APICommonCode/QTSSModuleUtils.cpp:502:45: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static const StrPtrLen hStart("

"); ^ APICommonCode/QTSSModuleUtils.cpp:507:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static const StrPtrLen hTerm("

\n"); ^ APICommonCode/QTSSModuleUtils.cpp:510:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static const StrPtrLen htmlBodyTerm("\n"); ^ APICommonCode/QTSSModuleUtils.cpp:514:72: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static const StrPtrLen bodyHeaderType("Content-Type: text/html"); ^ APICommonCode/QTSSModuleUtils.cpp:523:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static const StrPtrLen headerClose("Connection: close"); ^ APICommonCode/QTSSModuleUtils.cpp: At global scope: APICommonCode/QTSSModuleUtils.cpp:999:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] IPComponentStr IPComponentStr::sLocalIPCompStr("127.0.0.*"); ^ c++ -fPIC -c -o APICommonCode/QTSSRollingLog.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -DDSS_USE_API_CALLBACKS -g -Wall -Wno-format-y2k -include PlatformHeader.h -I. -IQTFileLib -IOSMemoryLib -IRTSPClientLib -IAPIModules -IAPICommonCode -IAPIModules/OSMemory_Modules -IAPIModules/QTSSAccessLogModule -IAPIModules/QTSSFileModule -IAPIModules/QTSSFlowControlModule -IAPIModules/QTSSReflectorModule -IAPIModules/QTSSSvrControlModule -IAPIModules/QTSSWebDebugModule -IAPIModules/QTSSWebStatsModule -IAPIModules/QTSSAuthorizeModule -IAPIModules/QTSSPOSIXFileSysModule -IAPIModules/QTSSAdminModule -IAPIModules/QTSSMP3StreamingModule -IAPIModules/QTSSRTPFileModule -IAPIModules/QTSSAccessModule -IAPIModules/QTSSHttpFileModule -IQTFileTools/RTPFileGen.tproj -IAPIStubLib -ICommonUtilitiesLib -IRTCPUtilitiesLib -IHTTPUtilitiesLib -IRTPMetaInfoLib -IPrefsSourceLib -IServer.tproj APICommonCode/QTSSRollingLog.cpp In file included from CommonUtilitiesLib/ResizeableStringFormatter.h:39:0, from APICommonCode/QTSSRollingLog.cpp:48: CommonUtilitiesLib/StringFormatter.h: In member function 'void StringFormatter::PutFilePath(StrPtrLen*, StrPtrLen*)': CommonUtilitiesLib/StringFormatter.h:138:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Put(kPathDelimiterString); ^ APICommonCode/QTSSRollingLog.cpp: In constructor 'QTSSRollingLog::QTSSRollingLog()': APICommonCode/QTSSRollingLog.cpp:59:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] this->SetTaskName("QTSSRollingLog"); ^ APICommonCode/QTSSRollingLog.cpp: In member function 'void QTSSRollingLog::EnableLog(Bool16)': APICommonCode/QTSSRollingLog.cpp:159:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] char *extension = ".log"; ^~~~~~ c++ -fPIC -c -o APICommonCode/SDPSourceInfo.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -DDSS_USE_API_CALLBACKS -g -Wall -Wno-format-y2k -include PlatformHeader.h -I. -IQTFileLib -IOSMemoryLib -IRTSPClientLib -IAPIModules -IAPICommonCode -IAPIModules/OSMemory_Modules -IAPIModules/QTSSAccessLogModule -IAPIModules/QTSSFileModule -IAPIModules/QTSSFlowControlModule -IAPIModules/QTSSReflectorModule -IAPIModules/QTSSSvrControlModule -IAPIModules/QTSSWebDebugModule -IAPIModules/QTSSWebStatsModule -IAPIModules/QTSSAuthorizeModule -IAPIModules/QTSSPOSIXFileSysModule -IAPIModules/QTSSAdminModule -IAPIModules/QTSSMP3StreamingModule -IAPIModules/QTSSRTPFileModule -IAPIModules/QTSSAccessModule -IAPIModules/QTSSHttpFileModule -IQTFileTools/RTPFileGen.tproj -IAPIStubLib -ICommonUtilitiesLib -IRTCPUtilitiesLib -IHTTPUtilitiesLib -IRTPMetaInfoLib -IPrefsSourceLib -IServer.tproj APICommonCode/SDPSourceInfo.cpp In file included from APICommonCode/SDPSourceInfo.cpp:36:0: CommonUtilitiesLib/StringFormatter.h: In member function 'void StringFormatter::PutFilePath(StrPtrLen*, StrPtrLen*)': CommonUtilitiesLib/StringFormatter.h:138:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Put(kPathDelimiterString); ^ In file included from APICommonCode/SDPSourceInfo.cpp:40:0: CommonUtilitiesLib/SDPUtils.h: In member function 'Bool16 SDPContainer::HasLineType(char)': CommonUtilitiesLib/SDPUtils.h:92:95: warning: array subscript has type 'char' [-Wchar-subscripts] Bool16 HasLineType( char lineType ) { return (Bool16) (lineType == fFieldStr[lineType]) ; } ^ APICommonCode/SDPSourceInfo.cpp: At global scope: APICommonCode/SDPSourceInfo.cpp:43:46: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sCLine("c=IN IP4 0.0.0.0"); ^ APICommonCode/SDPSourceInfo.cpp:44:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sControlLine("a=control:*"); ^ APICommonCode/SDPSourceInfo.cpp:45:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sVideoStr("video"); ^ APICommonCode/SDPSourceInfo.cpp:46:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sAudioStr("audio"); ^ APICommonCode/SDPSourceInfo.cpp:47:40: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sRtpMapStr("rtpmap"); ^ APICommonCode/SDPSourceInfo.cpp:48:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sControlStr("control"); ^ APICommonCode/SDPSourceInfo.cpp:49:52: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sBufferDelayStr("x-bufferdelay"); ^ APICommonCode/SDPSourceInfo.cpp:50:62: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sBroadcastControlStr("x-broadcastcontrol"); ^ APICommonCode/SDPSourceInfo.cpp:51:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sAutoDisconnect("RTSP"); ^ APICommonCode/SDPSourceInfo.cpp:52:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sAutoDisconnectTime("TIME"); ^ APICommonCode/SDPSourceInfo.cpp: In member function 'virtual char* SDPSourceInfo::GetLocalSDP(UInt32*)': APICommonCode/SDPSourceInfo.cpp:128:45: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] localSDPFormatter.Put("0", 1); ^ APICommonCode/SDPSourceInfo.cpp:150:69: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] localSDPFormatter.Put("a=control:trackID=", 18); ^ APICommonCode/SDPSourceInfo.cpp: In member function 'void SDPSourceInfo::Parse(char*, UInt32)': APICommonCode/SDPSourceInfo.cpp:292:70: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static const StrPtrLen kTCPTransportStr("RTP/AVP/TCP"); ^ c++ -fPIC -c -o APICommonCode/SourceInfo.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -DDSS_USE_API_CALLBACKS -g -Wall -Wno-format-y2k -include PlatformHeader.h -I. -IQTFileLib -IOSMemoryLib -IRTSPClientLib -IAPIModules -IAPICommonCode -IAPIModules/OSMemory_Modules -IAPIModules/QTSSAccessLogModule -IAPIModules/QTSSFileModule -IAPIModules/QTSSFlowControlModule -IAPIModules/QTSSReflectorModule -IAPIModules/QTSSSvrControlModule -IAPIModules/QTSSWebDebugModule -IAPIModules/QTSSWebStatsModule -IAPIModules/QTSSAuthorizeModule -IAPIModules/QTSSPOSIXFileSysModule -IAPIModules/QTSSAdminModule -IAPIModules/QTSSMP3StreamingModule -IAPIModules/QTSSRTPFileModule -IAPIModules/QTSSAccessModule -IAPIModules/QTSSHttpFileModule -IQTFileTools/RTPFileGen.tproj -IAPIStubLib -ICommonUtilitiesLib -IRTCPUtilitiesLib -IHTTPUtilitiesLib -IRTPMetaInfoLib -IPrefsSourceLib -IServer.tproj APICommonCode/SourceInfo.cpp c++ -fPIC -c -o APICommonCode/QTAccessFile.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -DDSS_USE_API_CALLBACKS -g -Wall -Wno-format-y2k -include PlatformHeader.h -I. -IQTFileLib -IOSMemoryLib -IRTSPClientLib -IAPIModules -IAPICommonCode -IAPIModules/OSMemory_Modules -IAPIModules/QTSSAccessLogModule -IAPIModules/QTSSFileModule -IAPIModules/QTSSFlowControlModule -IAPIModules/QTSSReflectorModule -IAPIModules/QTSSSvrControlModule -IAPIModules/QTSSWebDebugModule -IAPIModules/QTSSWebStatsModule -IAPIModules/QTSSAuthorizeModule -IAPIModules/QTSSPOSIXFileSysModule -IAPIModules/QTSSAdminModule -IAPIModules/QTSSMP3StreamingModule -IAPIModules/QTSSRTPFileModule -IAPIModules/QTSSAccessModule -IAPIModules/QTSSHttpFileModule -IQTFileTools/RTPFileGen.tproj -IAPIStubLib -ICommonUtilitiesLib -IRTCPUtilitiesLib -IHTTPUtilitiesLib -IRTPMetaInfoLib -IPrefsSourceLib -IServer.tproj APICommonCode/QTAccessFile.cpp APICommonCode/QTAccessFile.cpp:78:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] char* QTAccessFile::sQTAccessFileName = "qtaccess"; ^~~~~~~~~~ APICommonCode/QTAccessFile.cpp: In static member function 'static QTSS_AuthScheme QTAccessFile::FindUsersAndGroupsFilesAndAuthScheme(char*, QTSS_ActionFlags, char**, char**)': APICommonCode/QTAccessFile.cpp:333:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if ( (firstChar == '#') || (firstChar == '\0') ) ^~ APICommonCode/QTAccessFile.cpp:336:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' lineParser.ConsumeUntilWhitespace(&word); ^~~~~~~~~~ c++ -fPIC -c -o APIModules/QTSSAccessLogModule/QTSSAccessLogModule.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -DDSS_USE_API_CALLBACKS -g -Wall -Wno-format-y2k -include PlatformHeader.h -I. -IQTFileLib -IOSMemoryLib -IRTSPClientLib -IAPIModules -IAPICommonCode -IAPIModules/OSMemory_Modules -IAPIModules/QTSSAccessLogModule -IAPIModules/QTSSFileModule -IAPIModules/QTSSFlowControlModule -IAPIModules/QTSSReflectorModule -IAPIModules/QTSSSvrControlModule -IAPIModules/QTSSWebDebugModule -IAPIModules/QTSSWebStatsModule -IAPIModules/QTSSAuthorizeModule -IAPIModules/QTSSPOSIXFileSysModule -IAPIModules/QTSSAdminModule -IAPIModules/QTSSMP3StreamingModule -IAPIModules/QTSSRTPFileModule -IAPIModules/QTSSAccessModule -IAPIModules/QTSSHttpFileModule -IQTFileTools/RTPFileGen.tproj -IAPIStubLib -ICommonUtilitiesLib -IRTCPUtilitiesLib -IHTTPUtilitiesLib -IRTPMetaInfoLib -IPrefsSourceLib -IServer.tproj APIModules/QTSSAccessLogModule/QTSSAccessLogModule.cpp APIModules/QTSSAccessLogModule/QTSSAccessLogModule.cpp:776:33: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] qtss_sprintf(tempLogBuffer, "%"_64BITARG_"d ", movieSizeInBytes == NULL ? zeroUInt64 : *movieSizeInBytes); //filesize in bytes* ^ In file included from APIModules/QTSSAccessLogModule/QTSSAccessLogModule.cpp:42:0: CommonUtilitiesLib/StringFormatter.h: In member function 'void StringFormatter::PutFilePath(StrPtrLen*, StrPtrLen*)': CommonUtilitiesLib/StringFormatter.h:138:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Put(kPathDelimiterString); ^ APIModules/QTSSAccessLogModule/QTSSAccessLogModule.cpp: At global scope: APIModules/QTSSAccessLogModule/QTSSAccessLogModule.cpp:57:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sDefaultLogName = "StreamingServer"; ^~~~~~~~~~~~~~~~~ APIModules/QTSSAccessLogModule/QTSSAccessLogModule.cpp:63:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sVoidField = "-"; ^~~ APIModules/QTSSAccessLogModule/QTSSAccessLogModule.cpp:92:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] " c-totalbuffertime c-quality s-ip s-dns s-totalclients s-cpu-util cs-uri-query c-username sc(Realm) \n"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ APIModules/QTSSAccessLogModule/QTSSAccessLogModule.cpp: In constructor 'LogCheckTask::LogCheckTask()': APIModules/QTSSAccessLogModule/QTSSAccessLogModule.cpp:103:66: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] LogCheckTask() : Task() {this->SetTaskName("LogCheckTask"); this->Signal(Task::kStartEvent); } ^ APIModules/QTSSAccessLogModule/QTSSAccessLogModule.cpp: In constructor 'QTSSAccessLog::QTSSAccessLog()': APIModules/QTSSAccessLogModule/QTSSAccessLogModule.cpp:114:79: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] QTSSAccessLog() : QTSSRollingLog() { this->SetTaskName("QTSSAccessLog"); } ^ APIModules/QTSSAccessLogModule/QTSSAccessLogModule.cpp: In member function 'virtual char* QTSSAccessLog::GetLogName()': APIModules/QTSSAccessLogModule/QTSSAccessLogModule.cpp:117:128: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] virtual char* GetLogName() { return QTSSModuleUtils::GetStringAttribute(sPrefs, "request_logfile_name", sDefaultLogName); } ^ APIModules/QTSSAccessLogModule/QTSSAccessLogModule.cpp: In member function 'virtual char* QTSSAccessLog::GetLogDir()': APIModules/QTSSAccessLogModule/QTSSAccessLogModule.cpp:118:126: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] virtual char* GetLogDir() { return QTSSModuleUtils::GetStringAttribute(sPrefs, "request_logfile_dir", sDefaultLogDir); } ^ APIModules/QTSSAccessLogModule/QTSSAccessLogModule.cpp: In function 'QTSS_Error Register(QTSS_Register_Params*)': APIModules/QTSSAccessLogModule/QTSSAccessLogModule.cpp:190:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sModuleName = "QTSSAccessLogModule"; ^~~~~~~~~~~~~~~~~~~~~ APIModules/QTSSAccessLogModule/QTSSAccessLogModule.cpp:193:52: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sLoggedAuthorizationName = "QTSSAccessLogModuleLoggedAuthorization"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ APIModules/QTSSAccessLogModule/QTSSAccessLogModule.cpp: In function 'QTSS_Error RereadPrefs()': APIModules/QTSSAccessLogModule/QTSSAccessLogModule.cpp:222:87: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] &sLogEnabled, &sDefaultLogEnabled, sizeof(sLogEnabled)); ^ APIModules/QTSSAccessLogModule/QTSSAccessLogModule.cpp:224:90: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] &sMaxLogBytes, &sDefaultMaxLogBytes, sizeof(sMaxLogBytes)); ^ APIModules/QTSSAccessLogModule/QTSSAccessLogModule.cpp:226:93: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] &sRollInterval, &sDefaultRollInterval, sizeof(sRollInterval)); ^ APIModules/QTSSAccessLogModule/QTSSAccessLogModule.cpp:228:93: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] &sLogTimeInGMT, &sDefaultLogTimeInGMT, sizeof(sLogTimeInGMT)); ^ APIModules/QTSSAccessLogModule/QTSSAccessLogModule.cpp: In function 'QTSS_Error LogRequest(QTSS_ClientSessionObject, QTSS_RTSPSessionObject, QTSS_CliSesClosingReason*)': APIModules/QTSSAccessLogModule/QTSSAccessLogModule.cpp:365:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sTCPStr("TCP"); ^ APIModules/QTSSAccessLogModule/QTSSAccessLogModule.cpp:366:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sUDPStr("UDP"); ^ APIModules/QTSSAccessLogModule/QTSSAccessLogModule.cpp:498:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] ReplaceSpaces(&tempLogStr, &userAgent, "%20"); ^ APIModules/QTSSAccessLogModule/QTSSAccessLogModule.cpp:713:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] ReplaceSpaces(&tempLogStr, &lastUserNameStr, "%20"); ^ APIModules/QTSSAccessLogModule/QTSSAccessLogModule.cpp:718:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] ReplaceSpaces(&tempLogStr, &lastURLRealmStr, "%20"); ^ c++ -fPIC -c -o APIModules/QTSSFileModule/QTSSFileModule.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -DDSS_USE_API_CALLBACKS -g -Wall -Wno-format-y2k -include PlatformHeader.h -I. -IQTFileLib -IOSMemoryLib -IRTSPClientLib -IAPIModules -IAPICommonCode -IAPIModules/OSMemory_Modules -IAPIModules/QTSSAccessLogModule -IAPIModules/QTSSFileModule -IAPIModules/QTSSFlowControlModule -IAPIModules/QTSSReflectorModule -IAPIModules/QTSSSvrControlModule -IAPIModules/QTSSWebDebugModule -IAPIModules/QTSSWebStatsModule -IAPIModules/QTSSAuthorizeModule -IAPIModules/QTSSPOSIXFileSysModule -IAPIModules/QTSSAdminModule -IAPIModules/QTSSMP3StreamingModule -IAPIModules/QTSSRTPFileModule -IAPIModules/QTSSAccessModule -IAPIModules/QTSSHttpFileModule -IQTFileTools/RTPFileGen.tproj -IAPIStubLib -ICommonUtilitiesLib -IRTCPUtilitiesLib -IHTTPUtilitiesLib -IRTPMetaInfoLib -IPrefsSourceLib -IServer.tproj APIModules/QTSSFileModule/QTSSFileModule.cpp APIModules/QTSSFileModule/QTSSFileModule.cpp:759:33: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] qtss_sprintf(ownerLine, "o=StreamingServer %"_64BITARG_"d %"_64BITARG_"d IN IP4 %s", (SInt64) OS::UnixTime_Secs() + 2208988800LU, (SInt64) theFile->fFile.GetQTFile()->GetModDate(),ipCstr); ^ APIModules/QTSSFileModule/QTSSFileModule.cpp:759:64: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] qtss_sprintf(ownerLine, "o=StreamingServer %"_64BITARG_"d %"_64BITARG_"d IN IP4 %s", (SInt64) OS::UnixTime_Secs() + 2208988800LU, (SInt64) theFile->fFile.GetQTFile()->GetModDate(),ipCstr); ^ In file included from APIModules/QTSSFileModule/QTSSFileModule.cpp:44:0: CommonUtilitiesLib/StringFormatter.h: In member function 'void StringFormatter::PutFilePath(StrPtrLen*, StrPtrLen*)': CommonUtilitiesLib/StringFormatter.h:138:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Put(kPathDelimiterString); ^ In file included from APIModules/QTSSFileModule/QTSSFileModule.cpp:48:0: CommonUtilitiesLib/SDPUtils.h: In member function 'Bool16 SDPContainer::HasLineType(char)': CommonUtilitiesLib/SDPUtils.h:92:95: warning: array subscript has type 'char' [-Wchar-subscripts] Bool16 HasLineType( char lineType ) { return (Bool16) (lineType == fFieldStr[lineType]) ; } ^ APIModules/QTSSFileModule/QTSSFileModule.cpp: At global scope: APIModules/QTSSFileModule/QTSSFileModule.cpp:92:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sSDPSuffix(".sdp"); ^ APIModules/QTSSFileModule/QTSSFileModule.cpp:93:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sVersionHeader("v=0"); ^ APIModules/QTSSFileModule/QTSSFileModule.cpp:94:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sSessionNameHeader("s="); ^ APIModules/QTSSFileModule/QTSSFileModule.cpp:95:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sPermanentTimeHeader("t=0 0"); ^ APIModules/QTSSFileModule/QTSSFileModule.cpp:96:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sConnectionHeader("c=IN IP4 0.0.0.0"); ^ APIModules/QTSSFileModule/QTSSFileModule.cpp:97:53: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sStaticControlHeader("a=control:*"); ^ APIModules/QTSSFileModule/QTSSFileModule.cpp:100:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sEOL("\r\n"); ^ APIModules/QTSSFileModule/QTSSFileModule.cpp:101:64: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sSDPNotValidMessage("Movie SDP is not valid."); ^ APIModules/QTSSFileModule/QTSSFileModule.cpp:154:74: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static const StrPtrLen kCacheControlHeader("must-revalidate"); ^ APIModules/QTSSFileModule/QTSSFileModule.cpp: In function 'QTSS_Error Register(QTSS_Register_Params*)': APIModules/QTSSFileModule/QTSSFileModule.cpp:306:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sSeekToNonexistentTimeName = "QTSSFileModuleSeekToNonExistentTime"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ APIModules/QTSSFileModule/QTSSFileModule.cpp:307:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sNoSDPFileFoundName = "QTSSFileModuleNoSDPFileFound"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ APIModules/QTSSFileModule/QTSSFileModule.cpp:308:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sBadQTFileName = "QTSSFileModuleBadQTFile"; ^~~~~~~~~~~~~~~~~~~~~~~~~ APIModules/QTSSFileModule/QTSSFileModule.cpp:309:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sFileIsNotHintedName = "QTSSFileModuleFileIsNotHinted"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ APIModules/QTSSFileModule/QTSSFileModule.cpp:310:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sExpectedDigitFilenameName = "QTSSFileModuleExpectedDigitFilename"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ APIModules/QTSSFileModule/QTSSFileModule.cpp:311:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sTrackDoesntExistName = "QTSSFileModuleTrackDoesntExist"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ APIModules/QTSSFileModule/QTSSFileModule.cpp:332:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sFileSessionName = "QTSSFileModuleSession"; ^~~~~~~~~~~~~~~~~~~~~~~ APIModules/QTSSFileModule/QTSSFileModule.cpp:336:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sFileSessionPlayCountName = "QTSSFileModulePlayCount"; ^~~~~~~~~~~~~~~~~~~~~~~~~ APIModules/QTSSFileModule/QTSSFileModule.cpp:340:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sFileSessionBufferDelayName = "QTSSFileModuleSDPBufferDelay"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ APIModules/QTSSFileModule/QTSSFileModule.cpp:344:65: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sRTPStreamLastSentPacketSeqNumName = "QTSSFileModuleLastSentPacketSeqNum"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ APIModules/QTSSFileModule/QTSSFileModule.cpp:349:60: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sRTPStreamLastPacketSeqNumName = "QTSSFileModuleLastPacketSeqNum"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ APIModules/QTSSFileModule/QTSSFileModule.cpp:354:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sModuleName = "QTSSFileModule"; ^~~~~~~~~~~~~~~~ APIModules/QTSSFileModule/QTSSFileModule.cpp: In function 'void BuildPrefBasedHeaders()': APIModules/QTSSFileModule/QTSSFileModule.cpp:382:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sUHeader("u="); ^ APIModules/QTSSFileModule/QTSSFileModule.cpp:383:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sEHeader("e="); ^ APIModules/QTSSFileModule/QTSSFileModule.cpp:384:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sHTTP("http://"); ^ APIModules/QTSSFileModule/QTSSFileModule.cpp:385:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sAdmin("admin@"); ^ APIModules/QTSSFileModule/QTSSFileModule.cpp:393:75: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] sdpURL.Ptr = QTSSModuleUtils::GetStringAttribute(sPrefs, "sdp_url", ""); ^ APIModules/QTSSFileModule/QTSSFileModule.cpp:393:75: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] APIModules/QTSSFileModule/QTSSFileModule.cpp:419:83: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] adminEmail.Ptr = QTSSModuleUtils::GetStringAttribute(sPrefs, "admin_email", ""); ^ APIModules/QTSSFileModule/QTSSFileModule.cpp:419:83: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] APIModules/QTSSFileModule/QTSSFileModule.cpp: In function 'QTSS_Error RereadPrefs()': APIModules/QTSSFileModule/QTSSFileModule.cpp:451:129: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] &sFlowControlProbeInterval, &sDefaultFlowControlProbeInterval, sizeof(sFlowControlProbeInterval)); ^ APIModules/QTSSFileModule/QTSSFileModule.cpp:454:102: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] &sMaxAllowedSpeed, &sDefaultMaxAllowedSpeed, sizeof(sMaxAllowedSpeed)); ^ APIModules/QTSSFileModule/QTSSFileModule.cpp:459:151: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] QTSSModuleUtils::GetIOAttribute(sPrefs, "enable_shared_file_buffers", qtssAttrDataTypeBool16, &sEnableSharedBuffers, sizeof(sEnableSharedBuffers)); ^ APIModules/QTSSFileModule/QTSSFileModule.cpp:462:153: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] QTSSModuleUtils::GetIOAttribute(sPrefs, "enable_private_file_buffers", qtssAttrDataTypeBool16, &sEnablePrivateBuffers, sizeof(sEnablePrivateBuffers)); ^ APIModules/QTSSFileModule/QTSSFileModule.cpp:465:153: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] QTSSModuleUtils::GetIOAttribute(sPrefs, "num_shared_buffer_increase_per_session", qtssAttrDataTypeUInt32,&sSharedBufferInc, sizeof(sSharedBufferInc)); ^ APIModules/QTSSFileModule/QTSSFileModule.cpp:468:153: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] QTSSModuleUtils::GetIOAttribute(sPrefs, "shared_buffer_unit_k_size", qtssAttrDataTypeUInt32, &sSharedBufferUnitKSize, sizeof(sSharedBufferUnitKSize)); ^ APIModules/QTSSFileModule/QTSSFileModule.cpp:471:156: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] QTSSModuleUtils::GetIOAttribute(sPrefs, "private_buffer_unit_k_size", qtssAttrDataTypeUInt32, &sPrivateBufferUnitKSize, sizeof(sPrivateBufferUnitKSize)); ^ APIModules/QTSSFileModule/QTSSFileModule.cpp:474:159: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] QTSSModuleUtils::GetIOAttribute(sPrefs, "num_shared_buffer_units_per_buffer", qtssAttrDataTypeUInt32,&sSharedBufferUnitSize, sizeof(sSharedBufferUnitSize)); ^ APIModules/QTSSFileModule/QTSSFileModule.cpp:477:162: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] QTSSModuleUtils::GetIOAttribute(sPrefs, "num_private_buffer_units_per_buffer", qtssAttrDataTypeUInt32,&sPrivateBufferUnitSize, sizeof(sPrivateBufferUnitSize)); ^ APIModules/QTSSFileModule/QTSSFileModule.cpp:480:160: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] QTSSModuleUtils::GetIOAttribute(sPrefs, "max_shared_buffer_units_per_buffer", qtssAttrDataTypeUInt32, &sSharedBufferMaxUnits, sizeof(sSharedBufferMaxUnits)); ^ APIModules/QTSSFileModule/QTSSFileModule.cpp:483:163: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] QTSSModuleUtils::GetIOAttribute(sPrefs, "max_private_buffer_units_per_buffer", qtssAttrDataTypeUInt32, &sPrivateBufferMaxUnits, sizeof(sPrivateBufferMaxUnits)); ^ APIModules/QTSSFileModule/QTSSFileModule.cpp:486:169: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] QTSSModuleUtils::GetIOAttribute(sPrefs, "add_seconds_to_client_buffer_delay", qtssAttrDataTypeFloat32, &sAddClientBufferDelaySecs, sizeof(sAddClientBufferDelaySecs)); ^ APIModules/QTSSFileModule/QTSSFileModule.cpp:489:143: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] QTSSModuleUtils::GetIOAttribute(sPrefs, "record_movie_file_sdp", qtssAttrDataTypeBool16, &sRecordMovieFileSDP, sizeof(sRecordMovieFileSDP)); ^ APIModules/QTSSFileModule/QTSSFileModule.cpp:492:143: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] QTSSModuleUtils::GetIOAttribute(sPrefs, "enable_movie_file_sdp", qtssAttrDataTypeBool16, &sEnableMovieFileSDP, sizeof(sEnableMovieFileSDP)); ^ APIModules/QTSSFileModule/QTSSFileModule.cpp:495:151: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] QTSSModuleUtils::GetIOAttribute(sPrefs, "enable_player_compatibility", qtssAttrDataTypeBool16, &sPlayerCompatibility, sizeof(sPlayerCompatibility)); ^ APIModules/QTSSFileModule/QTSSFileModule.cpp:498:188: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] QTSSModuleUtils::GetIOAttribute(sPrefs, "compatibility_adjust_sdp_media_bandwidth_percent", qtssAttrDataTypeUInt32, &sAdjustMediaBandwidthPercent, sizeof(sAdjustMediaBandwidthPercent)); ^ APIModules/QTSSFileModule/QTSSFileModule.cpp: In function 'QTSS_Error DoDescribe(QTSS_StandardRTSP_Params*)': APIModules/QTSSFileModule/QTSSFileModule.cpp:604:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sMOVSuffix(".mov"); ^ APIModules/QTSSFileModule/QTSSFileModule.cpp:806:62: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sBuffDelayStr("a=x-bufferdelay:"); ^ APIModules/QTSSFileModule/QTSSFileModule.cpp: In function 'QTSS_Error DoPlay(QTSS_StandardRTSP_Params*)': APIModules/QTSSFileModule/QTSSFileModule.cpp:1288:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if ( true == QTSSModuleUtils::HavePlayerProfile( sServerPrefs, inParamBlock,QTSSModuleUtils::kDisablePauseAdjustedRTPTime) ) ^~ APIModules/QTSSFileModule/QTSSFileModule.cpp:1291:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (sPlayerCompatibility ) // don't change adjust setting if compatibility is off. ^~ c++ -fPIC -c -o APIModules/QTSSFlowControlModule/QTSSFlowControlModule.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -DDSS_USE_API_CALLBACKS -g -Wall -Wno-format-y2k -include PlatformHeader.h -I. -IQTFileLib -IOSMemoryLib -IRTSPClientLib -IAPIModules -IAPICommonCode -IAPIModules/OSMemory_Modules -IAPIModules/QTSSAccessLogModule -IAPIModules/QTSSFileModule -IAPIModules/QTSSFlowControlModule -IAPIModules/QTSSReflectorModule -IAPIModules/QTSSSvrControlModule -IAPIModules/QTSSWebDebugModule -IAPIModules/QTSSWebStatsModule -IAPIModules/QTSSAuthorizeModule -IAPIModules/QTSSPOSIXFileSysModule -IAPIModules/QTSSAdminModule -IAPIModules/QTSSMP3StreamingModule -IAPIModules/QTSSRTPFileModule -IAPIModules/QTSSAccessModule -IAPIModules/QTSSHttpFileModule -IQTFileTools/RTPFileGen.tproj -IAPIStubLib -ICommonUtilitiesLib -IRTCPUtilitiesLib -IHTTPUtilitiesLib -IRTPMetaInfoLib -IPrefsSourceLib -IServer.tproj APIModules/QTSSFlowControlModule/QTSSFlowControlModule.cpp APIModules/QTSSFlowControlModule/QTSSFlowControlModule.cpp: In function 'QTSS_Error Register(QTSS_Register_Params*)': APIModules/QTSSFlowControlModule/QTSSFlowControlModule.cpp:119:61: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sNumLossesAboveToleranceName = "QTSSFlowControlModuleLossAboveTol"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ APIModules/QTSSFlowControlModule/QTSSFlowControlModule.cpp:120:61: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sNumLossesBelowToleranceName = "QTSSFlowControlModuleLossBelowTol"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ APIModules/QTSSFlowControlModule/QTSSFlowControlModule.cpp:121:61: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sNumGettingWorsesName = "QTSSFlowControlModuleGettingWorses"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ APIModules/QTSSFlowControlModule/QTSSFlowControlModule.cpp:133:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sModuleName = "QTSSFlowControlModule"; ^~~~~~~~~~~~~~~~~~~~~~~ APIModules/QTSSFlowControlModule/QTSSFlowControlModule.cpp: In function 'QTSS_Error RereadPrefs()': APIModules/QTSSFlowControlModule/QTSSFlowControlModule.cpp:152:108: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] &sLossThinTolerance, &sDefaultLossThinTolerance, sizeof(sLossThinTolerance)); ^ APIModules/QTSSFlowControlModule/QTSSFlowControlModule.cpp:154:109: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] &sNumLossesToThin, &sDefaultNumLossesToThin, sizeof(sNumLossesToThin)); ^ APIModules/QTSSFlowControlModule/QTSSFlowControlModule.cpp:156:113: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] &sLossThickTolerance, &sDefaultLossThickTolerance, sizeof(sLossThickTolerance)); ^ APIModules/QTSSFlowControlModule/QTSSFlowControlModule.cpp:158:103: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] &sLossesToThick, &sDefaultLossesToThick, sizeof(sLossesToThick)); ^ APIModules/QTSSFlowControlModule/QTSSFlowControlModule.cpp:160:101: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] &sWorsesToThin, &sDefaultWorsesToThin, sizeof(sWorsesToThin)); ^ APIModules/QTSSFlowControlModule/QTSSFlowControlModule.cpp:163:83: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] &sModuleEnabled, &sDefaultModuleEnabled, sizeof(sDefaultModuleEnabled)); ^ c++ -fPIC -c -o APIModules/QTSSReflectorModule/QTSSReflectorModule.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -DDSS_USE_API_CALLBACKS -g -Wall -Wno-format-y2k -include PlatformHeader.h -I. -IQTFileLib -IOSMemoryLib -IRTSPClientLib -IAPIModules -IAPICommonCode -IAPIModules/OSMemory_Modules -IAPIModules/QTSSAccessLogModule -IAPIModules/QTSSFileModule -IAPIModules/QTSSFlowControlModule -IAPIModules/QTSSReflectorModule -IAPIModules/QTSSSvrControlModule -IAPIModules/QTSSWebDebugModule -IAPIModules/QTSSWebStatsModule -IAPIModules/QTSSAuthorizeModule -IAPIModules/QTSSPOSIXFileSysModule -IAPIModules/QTSSAdminModule -IAPIModules/QTSSMP3StreamingModule -IAPIModules/QTSSRTPFileModule -IAPIModules/QTSSAccessModule -IAPIModules/QTSSHttpFileModule -IQTFileTools/RTPFileGen.tproj -IAPIStubLib -ICommonUtilitiesLib -IRTCPUtilitiesLib -IHTTPUtilitiesLib -IRTPMetaInfoLib -IPrefsSourceLib -IServer.tproj APIModules/QTSSReflectorModule/QTSSReflectorModule.cpp APIModules/QTSSReflectorModule/QTSSReflectorModule.cpp:866:58: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] qtss_snprintf(tempBuff, sizeof(tempBuff) -1, "%"_64BITARG_"d", (SInt64) OS::UnixTime_Secs() + 2208988800LU); ^ APIModules/QTSSReflectorModule/QTSSReflectorModule.cpp:1122:59: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] qtss_snprintf(tempBuff, sizeof(tempBuff) - 1, "%"_64BITARG_"d", (SInt64) (modDate/1000) + 2208988800LU); ^ In file included from CommonUtilitiesLib/ResizeableStringFormatter.h:39:0, from APIModules/QTSSReflectorModule/ReflectorSession.h:42, from APIModules/QTSSReflectorModule/QTSSReflectorModule.cpp:36: CommonUtilitiesLib/StringFormatter.h: In member function 'void StringFormatter::PutFilePath(StrPtrLen*, StrPtrLen*)': CommonUtilitiesLib/StringFormatter.h:138:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Put(kPathDelimiterString); ^ In file included from APIModules/QTSSReflectorModule/ReflectorStream.h:42:0, from APIModules/QTSSReflectorModule/ReflectorSession.h:45, from APIModules/QTSSReflectorModule/QTSSReflectorModule.cpp:36: CommonUtilitiesLib/IdleTask.h: In constructor 'IdleTask::IdleTask()': CommonUtilitiesLib/IdleTask.h:78:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] IdleTask() : Task(), fIdleElem() { this->SetTaskName("IdleTask"); fIdleElem.SetEnclosingObject(this); } ^ In file included from APIModules/QTSSReflectorModule/QTSSReflectorModule.cpp:59:0: CommonUtilitiesLib/SDPUtils.h: In member function 'Bool16 SDPContainer::HasLineType(char)': CommonUtilitiesLib/SDPUtils.h:92:95: warning: array subscript has type 'char' [-Wchar-subscripts] Bool16 HasLineType( char lineType ) { return (Bool16) (lineType == fFieldStr[lineType]) ; } ^ APIModules/QTSSReflectorModule/QTSSReflectorModule.cpp: At global scope: APIModules/QTSSReflectorModule/QTSSReflectorModule.cpp:96:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static const StrPtrLen kCacheControlHeader("no-cache"); ^ APIModules/QTSSReflectorModule/QTSSReflectorModule.cpp:147:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sLocalLoopBackAddress = "127.0.0.*"; ^~~~~~~~~~~ APIModules/QTSSReflectorModule/QTSSReflectorModule.cpp:176:53: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sDefaultRedirectBroadcastsKeyword = ""; ^~ APIModules/QTSSReflectorModule/QTSSReflectorModule.cpp:178:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sDefaultBroadcastsRedirectDir = ""; // match none ^~ APIModules/QTSSReflectorModule/QTSSReflectorModule.cpp:179:41: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sDefaultBroadcastsDir = ""; // match all ^~ APIModules/QTSSReflectorModule/QTSSReflectorModule.cpp:180:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sDefaultsBroadcasterGroup = "broadcaster"; ^~~~~~~~~~~~~ APIModules/QTSSReflectorModule/QTSSReflectorModule.cpp:188:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sSDPKillSuffix(".kill"); ^ APIModules/QTSSReflectorModule/QTSSReflectorModule.cpp:189:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sSDPSuffix(".sdp"); ^ APIModules/QTSSReflectorModule/QTSSReflectorModule.cpp:190:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sMOVSuffix(".mov"); ^ APIModules/QTSSReflectorModule/QTSSReflectorModule.cpp:191:67: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sSDPTooLongMessage("Announced SDP is too long"); ^ APIModules/QTSSReflectorModule/QTSSReflectorModule.cpp:192:75: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sSDPNotValidMessage("Announced SDP is not a valid SDP"); ^ APIModules/QTSSReflectorModule/QTSSReflectorModule.cpp:193:78: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sKILLNotValidMessage("Announced .kill is not a valid SDP"); ^ APIModules/QTSSReflectorModule/QTSSReflectorModule.cpp:194:105: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sSDPTimeNotValidMessage("SDP time is not valid or movie not available at this time."); ^ APIModules/QTSSReflectorModule/QTSSReflectorModule.cpp:195:69: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sBroadcastNotAllowed("Broadcast is not allowed."); ^ APIModules/QTSSReflectorModule/QTSSReflectorModule.cpp:196:67: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sBroadcastNotActive("Broadcast is not active."); ^ APIModules/QTSSReflectorModule/QTSSReflectorModule.cpp:197:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sTheNowRangeHeader("npt=now-"); ^ APIModules/QTSSReflectorModule/QTSSReflectorModule.cpp: In function 'QTSS_Error Register(QTSS_Register_Params*)': APIModules/QTSSReflectorModule/QTSSReflectorModule.cpp:287:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sExpectedDigitFilenameName = "QTSSReflectorModuleExpectedDigitFilename"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ APIModules/QTSSReflectorModule/QTSSReflectorModule.cpp:288:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sReflectorBadTrackIDErrName = "QTSSReflectorModuleBadTrackID"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ APIModules/QTSSReflectorModule/QTSSReflectorModule.cpp:289:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sDuplicateBroadcastStreamName = "QTSSReflectorModuleDuplicateBroadcastStream"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ APIModules/QTSSReflectorModule/QTSSReflectorModule.cpp:290:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sAnnounceRequiresSDPinName = "QTSSReflectorModuleAnnounceRequiresSDPSuffix"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ APIModules/QTSSReflectorModule/QTSSReflectorModule.cpp:291:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sAnnounceDisabledName = "QTSSReflectorModuleAnnounceDisabled"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ APIModules/QTSSReflectorModule/QTSSReflectorModule.cpp:309:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sSDPcontainsInvalidMinumumPortErrName = "QTSSReflectorModuleSDPPortMinimumPort"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ APIModules/QTSSReflectorModule/QTSSReflectorModule.cpp:313:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sSDPcontainsInvalidMaximumPortErrName = "QTSSReflectorModuleSDPPortMaximumPort"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ APIModules/QTSSReflectorModule/QTSSReflectorModule.cpp:317:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sStaticPortsConflictErrName = "QTSSReflectorModuleStaticPortsConflict"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ APIModules/QTSSReflectorModule/QTSSReflectorModule.cpp:321:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sInvalidPortRangeErrName = "QTSSReflectorModuleStaticPortPrefsBadRange"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ APIModules/QTSSReflectorModule/QTSSReflectorModule.cpp:327:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sOutputName = "QTSSReflectorModuleOutput"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~ APIModules/QTSSReflectorModule/QTSSReflectorModule.cpp:328:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sSessionName = "QTSSReflectorModuleSession"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ APIModules/QTSSReflectorModule/QTSSReflectorModule.cpp:329:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sStreamCookieName = "QTSSReflectorModuleStreamCookie"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ APIModules/QTSSReflectorModule/QTSSReflectorModule.cpp:330:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sRequestBufferName = "QTSSReflectorModuleRequestBuffer"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ APIModules/QTSSReflectorModule/QTSSReflectorModule.cpp:331:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sRequestBufferLenName= "QTSSReflectorModuleRequestBufferLen"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ APIModules/QTSSReflectorModule/QTSSReflectorModule.cpp:332:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sBroadcasterSessionName= "QTSSReflectorModuleBroadcasterSession"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ APIModules/QTSSReflectorModule/QTSSReflectorModule.cpp:333:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sKillClientsEnabledName= "QTSSReflectorModuleTearDownClients"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ APIModules/QTSSReflectorModule/QTSSReflectorModule.cpp:335:52: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sRTPInfoWaitTime = "QTSSReflectorModuleRTPInfoWaitTime"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ APIModules/QTSSReflectorModule/QTSSReflectorModule.cpp:370:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sModuleName = "QTSSReflectorModule"; ^~~~~~~~~~~~~~~~~~~~~ APIModules/QTSSReflectorModule/QTSSReflectorModule.cpp: In function 'QTSS_Error RereadPrefs()': APIModules/QTSSReflectorModule/QTSSReflectorModule.cpp:464:109: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] &sRTPInfoDisabled, &sDefaultRTPInfoDisabled, sizeof(sDefaultRTPInfoDisabled)); ^ APIModules/QTSSReflectorModule/QTSSReflectorModule.cpp:467:109: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] &sAllowNonSDPURLs, &sDefaultAllowNonSDPURLs, sizeof(sDefaultAllowNonSDPURLs)); ^ APIModules/QTSSReflectorModule/QTSSReflectorModule.cpp:470:109: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] &sAnnounceEnabled, &sDefaultAnnounceEnabled, sizeof(sDefaultAnnounceEnabled)); ^ APIModules/QTSSReflectorModule/QTSSReflectorModule.cpp:472:124: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] &sBroadcastPushEnabled, &sDefaultBroadcastPushEnabled, sizeof(sDefaultBroadcastPushEnabled)); ^ APIModules/QTSSReflectorModule/QTSSReflectorModule.cpp:474:148: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] &sMaxBroadcastAnnounceDuration, &sDefaultMaxBroadcastAnnounceDuration, sizeof(sDefaultMaxBroadcastAnnounceDuration)); ^ APIModules/QTSSReflectorModule/QTSSReflectorModule.cpp:476:136: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] &sAllowDuplicateBroadcasts, &sDefaultAllowDuplicateBroadcasts, sizeof(sDefaultAllowDuplicateBroadcasts)); ^ APIModules/QTSSReflectorModule/QTSSReflectorModule.cpp:479:139: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] &sEnforceStaticSDPPortRange, &sDefaultEnforceStaticSDPPortRange, sizeof(sDefaultEnforceStaticSDPPortRange)); ^ APIModules/QTSSReflectorModule/QTSSReflectorModule.cpp:481:124: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] &sMinimumStaticSDPPort, &sDefaultMinimumStaticSDPPort, sizeof(sDefaultMinimumStaticSDPPort)); ^ APIModules/QTSSReflectorModule/QTSSReflectorModule.cpp:483:124: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] &sMaximumStaticSDPPort, &sDefaultMaximumStaticSDPPort, sizeof(sDefaultMaximumStaticSDPPort)); ^ APIModules/QTSSReflectorModule/QTSSReflectorModule.cpp:486:145: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] &sTearDownClientsOnDisconnect, &sDefaultTearDownClientsOnDisconnect, sizeof(sDefaultTearDownClientsOnDisconnect)); ^ APIModules/QTSSReflectorModule/QTSSReflectorModule.cpp:488:112: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] &sOneSSRCPerStream, &sDefaultOneSSRCPerStream, sizeof(sDefaultOneSSRCPerStream)); ^ APIModules/QTSSReflectorModule/QTSSReflectorModule.cpp:490:109: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] &sTimeoutSSRCSecs, &sDefaultTimeoutSSRCSecs, sizeof(sDefaultTimeoutSSRCSecs)); ^ APIModules/QTSSReflectorModule/QTSSReflectorModule.cpp:493:137: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] &sBroadcasterSessionTimeoutSecs, &sDefaultBroadcasterSessionTimeoutSecs, sizeof(sDefaultTimeoutSSRCSecs)); ^ APIModules/QTSSReflectorModule/QTSSReflectorModule.cpp:496:142: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] &sAuthenticateLocalBroadcast, &sDefaultAuthenticateLocalBroadcast, sizeof(sDefaultAuthenticateLocalBroadcast)); ^ APIModules/QTSSReflectorModule/QTSSReflectorModule.cpp:499:100: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] &sDisableOverbuffering, &sDefaultDisableOverbuffering, sizeof(sDefaultDisableOverbuffering)); ^ APIModules/QTSSReflectorModule/QTSSReflectorModule.cpp:502:115: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] &sReflectBroadcasts, &sDefaultReflectBroadcasts, sizeof(sDefaultReflectBroadcasts)); ^ APIModules/QTSSReflectorModule/QTSSReflectorModule.cpp:505:79: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] &sAnnouncedKill, &sDefaultAnnouncedKill, sizeof(sDefaultAnnouncedKill)); ^ APIModules/QTSSReflectorModule/QTSSReflectorModule.cpp:508:109: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] &sPlayResponseRangeHeader, &sDefaultPlayResponseRangeHeader, sizeof(sDefaultPlayResponseRangeHeader)); ^ APIModules/QTSSReflectorModule/QTSSReflectorModule.cpp:511:121: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] &sPlayerCompatibility, &sDefaultPlayerCompatibility, sizeof(sDefaultPlayerCompatibility)); ^ APIModules/QTSSReflectorModule/QTSSReflectorModule.cpp:514:145: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] &sAdjustMediaBandwidthPercent, &sAdjustMediaBandwidthPercentDefault, sizeof(sAdjustMediaBandwidthPercentDefault)); ^ APIModules/QTSSReflectorModule/QTSSReflectorModule.cpp:523:130: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] &sForceRTPInfoSeqAndTime, &sDefaultForceRTPInfoSeqAndTime, sizeof(sDefaultForceRTPInfoSeqAndTime)); ^ APIModules/QTSSReflectorModule/QTSSReflectorModule.cpp:526:116: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] sBroadcasterGroup.Set(QTSSModuleUtils::GetStringAttribute(sPrefs, "BroadcasterGroup", sDefaultsBroadcasterGroup)); ^ APIModules/QTSSReflectorModule/QTSSReflectorModule.cpp:529:132: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] char* tempKeyWord = QTSSModuleUtils::GetStringAttribute(sPrefs, "redirect_broadcast_keyword", sDefaultRedirectBroadcastsKeyword); ^ APIModules/QTSSReflectorModule/QTSSReflectorModule.cpp:535:130: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] sBroadcastsRedirectDir = QTSSModuleUtils::GetStringAttribute(sPrefs, "redirect_broadcasts_dir", sDefaultBroadcastsRedirectDir); ^ APIModules/QTSSReflectorModule/QTSSReflectorModule.cpp:540:102: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] delete [] QTSSModuleUtils::GetStringAttribute(sPrefs, "broadcast_dir_list", sDefaultBroadcastsDir); // initialize if there isn't one ^ APIModules/QTSSReflectorModule/QTSSReflectorModule.cpp:541:82: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] sBroadcastDirListID = QTSSModuleUtils::GetAttrID(sPrefs, "broadcast_dir_list"); ^ APIModules/QTSSReflectorModule/QTSSReflectorModule.cpp:544:102: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] sIPAllowList = QTSSModuleUtils::GetStringAttribute(sPrefs, "ip_allow_list", sLocalLoopBackAddress); ^ APIModules/QTSSReflectorModule/QTSSReflectorModule.cpp:545:72: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] sIPAllowListID = QTSSModuleUtils::GetAttrID(sPrefs, "ip_allow_list"); ^ APIModules/QTSSReflectorModule/QTSSReflectorModule.cpp: In function 'void DoAnnounceAddRequiredSDPLines(QTSS_StandardRTSP_Params*, ResizeableStringFormatter*, char*)': APIModules/QTSSReflectorModule/QTSSReflectorModule.cpp:814:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] editedSDP->Put("v=0\r\n"); ^ APIModules/QTSSReflectorModule/QTSSReflectorModule.cpp:824:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] editedSDP->Put("s=unknown\r\n"); ^ APIModules/QTSSReflectorModule/QTSSReflectorModule.cpp:827:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] editedSDP->Put("s="); ^ APIModules/QTSSReflectorModule/QTSSReflectorModule.cpp:835:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] editedSDP->Put("t=0 0\r\n"); ^ APIModules/QTSSReflectorModule/QTSSReflectorModule.cpp:840:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] editedSDP->Put("o="); ^ APIModules/QTSSReflectorModule/QTSSReflectorModule.cpp:847:64: warning: array subscript has type 'char' [-Wchar-subscripts] if (StringParser::sEOLWhitespaceMask[nameStr[c]]) ^ APIModules/QTSSReflectorModule/QTSSReflectorModule.cpp:855:53: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] editedSDP->Put("announced_broadcast"); ^ APIModules/QTSSReflectorModule/QTSSReflectorModule.cpp:859:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] editedSDP->Put(" "); ^ APIModules/QTSSReflectorModule/QTSSReflectorModule.cpp:865:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] editedSDP->Put(" "); ^ APIModules/QTSSReflectorModule/QTSSReflectorModule.cpp:869:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] editedSDP->Put(" IN IP4 "); ^ APIModules/QTSSReflectorModule/QTSSReflectorModule.cpp: In function 'void DoDescribeAddRequiredSDPLines(QTSS_StandardRTSP_Params*, ReflectorSession*, QTSS_TimeVal, ResizeableStringFormatter*, StrPtrLen*)': APIModules/QTSSReflectorModule/QTSSReflectorModule.cpp:1094:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] editedSDP->Put("v=0\r\n"); ^ APIModules/QTSSReflectorModule/QTSSReflectorModule.cpp:1102:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] editedSDP->Put("s="); ^ APIModules/QTSSReflectorModule/QTSSReflectorModule.cpp:1109:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] editedSDP->Put("t=0 0\r\n"); ^ APIModules/QTSSReflectorModule/QTSSReflectorModule.cpp:1114:46: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] editedSDP->Put("o=broadcast_sdp "); ^ APIModules/QTSSReflectorModule/QTSSReflectorModule.cpp:1120:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] editedSDP->Put(" "); ^ APIModules/QTSSReflectorModule/QTSSReflectorModule.cpp:1125:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] editedSDP->Put(" IN IP4 "); ^ APIModules/QTSSReflectorModule/QTSSReflectorModule.cpp: In function 'QTSS_Error DoPlay(QTSS_StandardRTSP_Params*, ReflectorSession*)': APIModules/QTSSReflectorModule/QTSSReflectorModule.cpp:1896:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] char *trackStr = thePathPtr.FindString("/trackID="); ^ In file included from CommonUtilitiesLib/OSRef.h:46:0, from APIModules/QTSSReflectorModule/ReflectorSession.h:40, from APIModules/QTSSReflectorModule/QTSSReflectorModule.cpp:36: CommonUtilitiesLib/OSHashTable.h: In instantiation of 'OSHashTable::OSHashTable(UInt32) [with T = OSRef; K = OSRefKey; UInt32 = unsigned int]': CommonUtilitiesLib/OSRef.h:177:86: required from here CommonUtilitiesLib/OSHashTable.h:46:22: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] fHashTable = new ( T*[size] ); ^~~~~~~~~~~~~~~~ CommonUtilitiesLib/OSHashTable.h: In instantiation of 'OSHashTable::OSHashTable(UInt32) [with T = UDPDemuxerTask; K = UDPDemuxerKey; UInt32 = unsigned int]': CommonUtilitiesLib/UDPDemuxer.h:142:62: required from here CommonUtilitiesLib/OSHashTable.h:46:22: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] In file included from APIModules/QTSSReflectorModule/ReflectorSession.h:40:0, from APIModules/QTSSReflectorModule/QTSSReflectorModule.cpp:36: CommonUtilitiesLib/OSRef.h: In function 'void KillCommandPathInList()': CommonUtilitiesLib/OSRef.h:96:43: warning: 'theIter.OSHashTableIter::fCurrent' may be used uninitialized in this function [-Wmaybe-uninitialized] StrPtrLen *GetString() { return &fString; } ^~~~~~~ APIModules/QTSSReflectorModule/QTSSReflectorModule.cpp:2029:29: note: 'theIter.OSHashTableIter::fCurrent' was declared here for (OSRefHashTableIter theIter(sSessionMap->GetHashTable()); !theIter.IsDone(); theIter.Next()) ^~~~~~~ c++ -fPIC -c -o APIModules/QTSSReflectorModule/QTSSRelayModule.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -DDSS_USE_API_CALLBACKS -g -Wall -Wno-format-y2k -include PlatformHeader.h -I. -IQTFileLib -IOSMemoryLib -IRTSPClientLib -IAPIModules -IAPICommonCode -IAPIModules/OSMemory_Modules -IAPIModules/QTSSAccessLogModule -IAPIModules/QTSSFileModule -IAPIModules/QTSSFlowControlModule -IAPIModules/QTSSReflectorModule -IAPIModules/QTSSSvrControlModule -IAPIModules/QTSSWebDebugModule -IAPIModules/QTSSWebStatsModule -IAPIModules/QTSSAuthorizeModule -IAPIModules/QTSSPOSIXFileSysModule -IAPIModules/QTSSAdminModule -IAPIModules/QTSSMP3StreamingModule -IAPIModules/QTSSRTPFileModule -IAPIModules/QTSSAccessModule -IAPIModules/QTSSHttpFileModule -IQTFileTools/RTPFileGen.tproj -IAPIStubLib -ICommonUtilitiesLib -IRTCPUtilitiesLib -IHTTPUtilitiesLib -IRTPMetaInfoLib -IPrefsSourceLib -IServer.tproj APIModules/QTSSReflectorModule/QTSSRelayModule.cpp APIModules/QTSSReflectorModule/QTSSRelayModule.cpp:505:43: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] qtss_sprintf(theStatsBuf, "Current stats for this relay: %lu packets per second. %lu bits per second. %"_64BITARG_"d packets since it started. %"_64BITARG_"d bits since it started

", theOutput->GetCurPacketsPerSecond(), theOutput->GetCurBitsPerSecond(), theOutput->GetTotalPacketsSent(), theOutput->GetTotalBytesSent()); ^ APIModules/QTSSReflectorModule/QTSSRelayModule.cpp:505:131: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] qtss_sprintf(theStatsBuf, "Current stats for this relay: %lu packets per second. %lu bits per second. %"_64BITARG_"d packets since it started. %"_64BITARG_"d bits since it started

", theOutput->GetCurPacketsPerSecond(), theOutput->GetCurBitsPerSecond(), theOutput->GetTotalPacketsSent(), theOutput->GetTotalBytesSent()); ^ In file included from CommonUtilitiesLib/ResizeableStringFormatter.h:39:0, from APIModules/QTSSReflectorModule/ReflectorSession.h:42, from APIModules/QTSSReflectorModule/RelaySession.h:35, from APIModules/QTSSReflectorModule/QTSSRelayModule.cpp:37: CommonUtilitiesLib/StringFormatter.h: In member function 'void StringFormatter::PutFilePath(StrPtrLen*, StrPtrLen*)': CommonUtilitiesLib/StringFormatter.h:138:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Put(kPathDelimiterString); ^ In file included from APIModules/QTSSReflectorModule/ReflectorStream.h:42:0, from APIModules/QTSSReflectorModule/ReflectorSession.h:45, from APIModules/QTSSReflectorModule/RelaySession.h:35, from APIModules/QTSSReflectorModule/QTSSRelayModule.cpp:37: CommonUtilitiesLib/IdleTask.h: In constructor 'IdleTask::IdleTask()': CommonUtilitiesLib/IdleTask.h:78:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] IdleTask() : Task(), fIdleElem() { this->SetTaskName("IdleTask"); fIdleElem.SetEnclosingObject(this); } ^ In file included from APIModules/QTSSReflectorModule/RelaySession.h:38:0, from APIModules/QTSSReflectorModule/QTSSRelayModule.cpp:37: APIModules/QTSSReflectorModule/RTSPSourceInfo.h: In constructor 'RTSPSourceInfo::RelaySessionCreator::RelaySessionCreator(RTSPSourceInfo*)': APIModules/QTSSReflectorModule/RTSPSourceInfo.h:186:133: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] RelaySessionCreator(RTSPSourceInfo* inInfo) : fInfo(inInfo) {this->SetTaskName("RTSPSourceInfo::RelaySessionCreator");} ^ In file included from APIModules/QTSSReflectorModule/QTSSRelayModule.cpp:55:0: APIModules/QTSSReflectorModule/RelayOutput.h: In constructor 'RelayOutput::RelayAnnouncer::RelayAnnouncer(RelayOutput*)': APIModules/QTSSReflectorModule/RelayOutput.h:96:106: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] RelayAnnouncer(RelayOutput* output) : fOutput(output) {this->SetTaskName("RelayAnnouncer");} ^ APIModules/QTSSReflectorModule/QTSSRelayModule.cpp: At global scope: APIModules/QTSSReflectorModule/QTSSRelayModule.cpp:88:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sIsRelaySessionAttrName = "QTSSRelayModuleIsRelaySession"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ APIModules/QTSSReflectorModule/QTSSRelayModule.cpp:97:56: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sDefaultRelayPrefs = DEFAULTPATHS_ETC_DIR "relayconfig.xml"; ^~~~~~~~~~~~~~~~~ APIModules/QTSSReflectorModule/QTSSRelayModule.cpp: In constructor 'DNSResolverThread::RereadPrefsTask::RereadPrefsTask()': APIModules/QTSSReflectorModule/QTSSRelayModule.cpp:191:96: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] RereadPrefsTask() : Task () {this->SetTaskName("DNSResolverThread::RereadPrefsTask");} ^ APIModules/QTSSReflectorModule/QTSSRelayModule.cpp: In function 'QTSS_Error Register(QTSS_Register_Params*)': APIModules/QTSSReflectorModule/QTSSRelayModule.cpp:290:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sRelayModulePrefParseErrName = "QTSSRelayModulePrefParseError"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ APIModules/QTSSReflectorModule/QTSSRelayModule.cpp:307:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sModuleName = "QTSSRelayModule"; ^~~~~~~~~~~~~~~~~ APIModules/QTSSReflectorModule/QTSSRelayModule.cpp: In function 'QTSS_Error Initialize(QTSS_Initialize_Params*)': APIModules/QTSSReflectorModule/QTSSRelayModule.cpp:356:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen theReflectorModule("QTSSReflectorModule"); ^ APIModules/QTSSReflectorModule/QTSSRelayModule.cpp: In function 'QTSS_Error RereadPrefs()': APIModules/QTSSReflectorModule/QTSSRelayModule.cpp:380:101: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] sRelayPrefs = QTSSModuleUtils::GetStringAttribute(sPrefs, "relay_prefs_file", sDefaultRelayPrefs); ^ APIModules/QTSSReflectorModule/QTSSRelayModule.cpp:381:87: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] sRelayStatsURL = QTSSModuleUtils::GetStringAttribute(sPrefs, "relay_stats_url", ""); ^ APIModules/QTSSReflectorModule/QTSSRelayModule.cpp:381:87: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] APIModules/QTSSReflectorModule/QTSSRelayModule.cpp: In function 'QTSS_Error Filter(QTSS_StandardRTSP_Params*)': APIModules/QTSSReflectorModule/QTSSRelayModule.cpp:485:82: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sNoRelays("

There are no currently active relays

"); ^ APIModules/QTSSReflectorModule/QTSSRelayModule.cpp:510:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sResponseEnd(""); ^ In file included from CommonUtilitiesLib/OSRef.h:46:0, from APIModules/QTSSReflectorModule/ReflectorSession.h:40, from APIModules/QTSSReflectorModule/RelaySession.h:35, from APIModules/QTSSReflectorModule/QTSSRelayModule.cpp:37: CommonUtilitiesLib/OSHashTable.h: In instantiation of 'OSHashTable::OSHashTable(UInt32) [with T = OSRef; K = OSRefKey; UInt32 = unsigned int]': CommonUtilitiesLib/OSRef.h:177:86: required from here CommonUtilitiesLib/OSHashTable.h:46:22: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] fHashTable = new ( T*[size] ); ^~~~~~~~~~~~~~~~ CommonUtilitiesLib/OSHashTable.h: In instantiation of 'OSHashTable::OSHashTable(UInt32) [with T = UDPDemuxerTask; K = UDPDemuxerKey; UInt32 = unsigned int]': CommonUtilitiesLib/UDPDemuxer.h:142:62: required from here CommonUtilitiesLib/OSHashTable.h:46:22: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] c++ -fPIC -c -o APIModules/QTSSReflectorModule/ReflectorSession.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -DDSS_USE_API_CALLBACKS -g -Wall -Wno-format-y2k -include PlatformHeader.h -I. -IQTFileLib -IOSMemoryLib -IRTSPClientLib -IAPIModules -IAPICommonCode -IAPIModules/OSMemory_Modules -IAPIModules/QTSSAccessLogModule -IAPIModules/QTSSFileModule -IAPIModules/QTSSFlowControlModule -IAPIModules/QTSSReflectorModule -IAPIModules/QTSSSvrControlModule -IAPIModules/QTSSWebDebugModule -IAPIModules/QTSSWebStatsModule -IAPIModules/QTSSAuthorizeModule -IAPIModules/QTSSPOSIXFileSysModule -IAPIModules/QTSSAdminModule -IAPIModules/QTSSMP3StreamingModule -IAPIModules/QTSSRTPFileModule -IAPIModules/QTSSAccessModule -IAPIModules/QTSSHttpFileModule -IQTFileTools/RTPFileGen.tproj -IAPIStubLib -ICommonUtilitiesLib -IRTCPUtilitiesLib -IHTTPUtilitiesLib -IRTPMetaInfoLib -IPrefsSourceLib -IServer.tproj APIModules/QTSSReflectorModule/ReflectorSession.cpp In file included from CommonUtilitiesLib/ResizeableStringFormatter.h:39:0, from APIModules/QTSSReflectorModule/ReflectorSession.h:42, from APIModules/QTSSReflectorModule/ReflectorSession.cpp:35: CommonUtilitiesLib/StringFormatter.h: In member function 'void StringFormatter::PutFilePath(StrPtrLen*, StrPtrLen*)': CommonUtilitiesLib/StringFormatter.h:138:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Put(kPathDelimiterString); ^ In file included from APIModules/QTSSReflectorModule/ReflectorStream.h:42:0, from APIModules/QTSSReflectorModule/ReflectorSession.h:45, from APIModules/QTSSReflectorModule/ReflectorSession.cpp:35: CommonUtilitiesLib/IdleTask.h: In constructor 'IdleTask::IdleTask()': CommonUtilitiesLib/IdleTask.h:78:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] IdleTask() : Task(), fIdleElem() { this->SetTaskName("IdleTask"); fIdleElem.SetEnclosingObject(this); } ^ APIModules/QTSSReflectorModule/ReflectorSession.cpp: In member function 'void ReflectorSession::FormatHTML(StrPtrLen*)': APIModules/QTSSReflectorModule/ReflectorSession.cpp:272:53: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sHTMLStart("

Relay Source: "); ^ APIModules/QTSSReflectorModule/ReflectorSession.cpp:273:40: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sPorts(", Ports: "); ^ APIModules/QTSSReflectorModule/ReflectorSession.cpp:274:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sHTMLEnd("


"); ^ In file included from CommonUtilitiesLib/OSRef.h:46:0, from APIModules/QTSSReflectorModule/ReflectorSession.h:40, from APIModules/QTSSReflectorModule/ReflectorSession.cpp:35: CommonUtilitiesLib/OSHashTable.h: In instantiation of 'OSHashTable::OSHashTable(UInt32) [with T = OSRef; K = OSRefKey; UInt32 = unsigned int]': CommonUtilitiesLib/OSRef.h:177:86: required from here CommonUtilitiesLib/OSHashTable.h:46:22: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] fHashTable = new ( T*[size] ); ^~~~~~~~~~~~~~~~ CommonUtilitiesLib/OSHashTable.h: In instantiation of 'OSHashTable::OSHashTable(UInt32) [with T = UDPDemuxerTask; K = UDPDemuxerKey; UInt32 = unsigned int]': CommonUtilitiesLib/UDPDemuxer.h:142:62: required from here CommonUtilitiesLib/OSHashTable.h:46:22: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] c++ -fPIC -c -o APIModules/QTSSReflectorModule/RelaySession.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -DDSS_USE_API_CALLBACKS -g -Wall -Wno-format-y2k -include PlatformHeader.h -I. -IQTFileLib -IOSMemoryLib -IRTSPClientLib -IAPIModules -IAPICommonCode -IAPIModules/OSMemory_Modules -IAPIModules/QTSSAccessLogModule -IAPIModules/QTSSFileModule -IAPIModules/QTSSFlowControlModule -IAPIModules/QTSSReflectorModule -IAPIModules/QTSSSvrControlModule -IAPIModules/QTSSWebDebugModule -IAPIModules/QTSSWebStatsModule -IAPIModules/QTSSAuthorizeModule -IAPIModules/QTSSPOSIXFileSysModule -IAPIModules/QTSSAdminModule -IAPIModules/QTSSMP3StreamingModule -IAPIModules/QTSSRTPFileModule -IAPIModules/QTSSAccessModule -IAPIModules/QTSSHttpFileModule -IQTFileTools/RTPFileGen.tproj -IAPIStubLib -ICommonUtilitiesLib -IRTCPUtilitiesLib -IHTTPUtilitiesLib -IRTPMetaInfoLib -IPrefsSourceLib -IServer.tproj APIModules/QTSSReflectorModule/RelaySession.cpp In file included from CommonUtilitiesLib/ResizeableStringFormatter.h:39:0, from APIModules/QTSSReflectorModule/ReflectorSession.h:42, from APIModules/QTSSReflectorModule/RelaySession.h:35, from APIModules/QTSSReflectorModule/RelaySession.cpp:35: CommonUtilitiesLib/StringFormatter.h: In member function 'void StringFormatter::PutFilePath(StrPtrLen*, StrPtrLen*)': CommonUtilitiesLib/StringFormatter.h:138:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Put(kPathDelimiterString); ^ In file included from APIModules/QTSSReflectorModule/ReflectorStream.h:42:0, from APIModules/QTSSReflectorModule/ReflectorSession.h:45, from APIModules/QTSSReflectorModule/RelaySession.h:35, from APIModules/QTSSReflectorModule/RelaySession.cpp:35: CommonUtilitiesLib/IdleTask.h: In constructor 'IdleTask::IdleTask()': CommonUtilitiesLib/IdleTask.h:78:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] IdleTask() : Task(), fIdleElem() { this->SetTaskName("IdleTask"); fIdleElem.SetEnclosingObject(this); } ^ In file included from APIModules/QTSSReflectorModule/RelaySession.h:38:0, from APIModules/QTSSReflectorModule/RelaySession.cpp:35: APIModules/QTSSReflectorModule/RTSPSourceInfo.h: In constructor 'RTSPSourceInfo::RelaySessionCreator::RelaySessionCreator(RTSPSourceInfo*)': APIModules/QTSSReflectorModule/RTSPSourceInfo.h:186:133: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] RelaySessionCreator(RTSPSourceInfo* inInfo) : fInfo(inInfo) {this->SetTaskName("RTSPSourceInfo::RelaySessionCreator");} ^ APIModules/QTSSReflectorModule/RelaySession.cpp: At global scope: APIModules/QTSSReflectorModule/RelaySession.cpp:40:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sUDPSourceStr("udp_source"); ^ APIModules/QTSSReflectorModule/RelaySession.cpp:41:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sRTSPSourceStr("rtsp_source"); ^ APIModules/QTSSReflectorModule/RelaySession.cpp:42:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sAnnouncedSourceStr("announced_source"); ^ APIModules/QTSSReflectorModule/RelaySession.cpp:43:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sEmptyStr(""); ^ APIModules/QTSSReflectorModule/RelaySession.cpp:45:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sRelaySessionObjectName = "relay_session"; ^~~~~~~~~~~~~~~ APIModules/QTSSReflectorModule/RelaySession.cpp:46:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sRelayNameName = "relay_name"; ^~~~~~~~~~~~ APIModules/QTSSReflectorModule/RelaySession.cpp:47:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sSourceTypeName = "source_type"; ^~~~~~~~~~~~~ APIModules/QTSSReflectorModule/RelaySession.cpp:48:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sSourceIPAddrName = "source_ip_addr"; ^~~~~~~~~~~~~~~~ APIModules/QTSSReflectorModule/RelaySession.cpp:49:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sSourceInIPAddrName = "source_in_ip_addr"; ^~~~~~~~~~~~~~~~~~~ APIModules/QTSSReflectorModule/RelaySession.cpp:50:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sSourceUDPPortsName = "source_udp_ports"; ^~~~~~~~~~~~~~~~~~ APIModules/QTSSReflectorModule/RelaySession.cpp:51:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sSourceRTSPPortName = "source_rtsp_port"; ^~~~~~~~~~~~~~~~~~ APIModules/QTSSReflectorModule/RelaySession.cpp:52:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sSourceURLName = "source_url"; ^~~~~~~~~~~~ APIModules/QTSSReflectorModule/RelaySession.cpp:53:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sSourceUsernameName = "source_username"; ^~~~~~~~~~~~~~~~~ APIModules/QTSSReflectorModule/RelaySession.cpp:54:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sSourcePasswordName = "source_password"; ^~~~~~~~~~~~~~~~~ APIModules/QTSSReflectorModule/RelaySession.cpp:55:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sSourceTTLName = "source_ttl"; ^~~~~~~~~~~~ APIModules/QTSSReflectorModule/RelaySession.cpp:56:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sRelayOutputObjectName = "relay_output"; ^~~~~~~~~~~~~~ APIModules/QTSSReflectorModule/RelaySession.cpp: In static member function 'static void RelaySession::Register()': APIModules/QTSSReflectorModule/RelaySession.cpp:118:22: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] char* relayStr = "QTSS_Relay/"; ^~~~~~~~~~~~~ In file included from CommonUtilitiesLib/OSRef.h:46:0, from APIModules/QTSSReflectorModule/ReflectorSession.h:40, from APIModules/QTSSReflectorModule/RelaySession.h:35, from APIModules/QTSSReflectorModule/RelaySession.cpp:35: CommonUtilitiesLib/OSHashTable.h: In instantiation of 'OSHashTable::OSHashTable(UInt32) [with T = OSRef; K = OSRefKey; UInt32 = unsigned int]': CommonUtilitiesLib/OSRef.h:177:86: required from here CommonUtilitiesLib/OSHashTable.h:46:22: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] fHashTable = new ( T*[size] ); ^~~~~~~~~~~~~~~~ CommonUtilitiesLib/OSHashTable.h: In instantiation of 'OSHashTable::OSHashTable(UInt32) [with T = UDPDemuxerTask; K = UDPDemuxerKey; UInt32 = unsigned int]': CommonUtilitiesLib/UDPDemuxer.h:142:62: required from here CommonUtilitiesLib/OSHashTable.h:46:22: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] c++ -fPIC -c -o APIModules/QTSSReflectorModule/ReflectorStream.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -DDSS_USE_API_CALLBACKS -g -Wall -Wno-format-y2k -include PlatformHeader.h -I. -IQTFileLib -IOSMemoryLib -IRTSPClientLib -IAPIModules -IAPICommonCode -IAPIModules/OSMemory_Modules -IAPIModules/QTSSAccessLogModule -IAPIModules/QTSSFileModule -IAPIModules/QTSSFlowControlModule -IAPIModules/QTSSReflectorModule -IAPIModules/QTSSSvrControlModule -IAPIModules/QTSSWebDebugModule -IAPIModules/QTSSWebStatsModule -IAPIModules/QTSSAuthorizeModule -IAPIModules/QTSSPOSIXFileSysModule -IAPIModules/QTSSAdminModule -IAPIModules/QTSSMP3StreamingModule -IAPIModules/QTSSRTPFileModule -IAPIModules/QTSSAccessModule -IAPIModules/QTSSHttpFileModule -IQTFileTools/RTPFileGen.tproj -IAPIStubLib -ICommonUtilitiesLib -IRTCPUtilitiesLib -IHTTPUtilitiesLib -IRTPMetaInfoLib -IPrefsSourceLib -IServer.tproj APIModules/QTSSReflectorModule/ReflectorStream.cpp In file included from APIModules/QTSSReflectorModule/ReflectorStream.h:42:0, from APIModules/QTSSReflectorModule/ReflectorStream.cpp:34: CommonUtilitiesLib/IdleTask.h: In constructor 'IdleTask::IdleTask()': CommonUtilitiesLib/IdleTask.h:78:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] IdleTask() : Task(), fIdleElem() { this->SetTaskName("IdleTask"); fIdleElem.SetEnclosingObject(this); } ^ In file included from CommonUtilitiesLib/ResizeableStringFormatter.h:39:0, from APIModules/QTSSReflectorModule/ReflectorSession.h:42, from APIModules/QTSSReflectorModule/ReflectorStream.cpp:40: CommonUtilitiesLib/StringFormatter.h: In member function 'void StringFormatter::PutFilePath(StrPtrLen*, StrPtrLen*)': CommonUtilitiesLib/StringFormatter.h:138:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Put(kPathDelimiterString); ^ APIModules/QTSSReflectorModule/ReflectorStream.cpp: In static member function 'static void ReflectorStream::Register()': APIModules/QTSSReflectorModule/ReflectorStream.cpp:79:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sCantBindReflectorSocket= "QTSSReflectorModuleCantBindReflectorSocket"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ APIModules/QTSSReflectorModule/ReflectorStream.cpp:80:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sCantJoinMulticastGroup = "QTSSReflectorModuleCantJoinMulticastGroup"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ APIModules/QTSSReflectorModule/ReflectorStream.cpp: In static member function 'static void ReflectorStream::Initialize(QTSS_ModulePrefsObject)': APIModules/QTSSReflectorModule/ReflectorStream.cpp:93:123: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] &ReflectorStream::sBucketDelayInMsec, &sDefaultBucketDelayInMsec, sizeof(sBucketDelayInMsec)); ^ APIModules/QTSSReflectorModule/ReflectorStream.cpp:96:125: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] &ReflectorStream::sOverBufferInSec, &sDefaultOverBufferInSec, sizeof(sDefaultOverBufferInSec)); ^ APIModules/QTSSReflectorModule/ReflectorStream.cpp:99:139: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] &ReflectorStream::sUsePacketReceiveTime, &sDefaultUsePacketReceiveTime, sizeof(sDefaultUsePacketReceiveTime)); ^ APIModules/QTSSReflectorModule/ReflectorStream.cpp:102:141: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] &ReflectorStream::sMaxFuturePacketSec, &sDefaultMaxFuturePacketTimeSec, sizeof(sDefaultMaxFuturePacketTimeSec)); ^ APIModules/QTSSReflectorModule/ReflectorStream.cpp:105:142: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] &ReflectorStream::sFirstPacketOffsetMsec, &sDefaultFirstPacketOffsetMsec, sizeof(sDefaultFirstPacketOffsetMsec)); ^ APIModules/QTSSReflectorModule/ReflectorStream.cpp: In constructor 'ReflectorSocket::ReflectorSocket()': APIModules/QTSSReflectorModule/ReflectorStream.cpp:1225:40: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] this->SetTaskName("ReflectorSocket"); ^ APIModules/QTSSReflectorModule/ReflectorStream.cpp: In member function 'Bool16 ReflectorSocket::ProcessPacket(const SInt64&, ReflectorPacket*, UInt32, UInt16)': APIModules/QTSSReflectorModule/ReflectorStream.cpp:1523:140: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'UInt32 {aka unsigned int}' [-Wformat=] sprintf(outMessage,"Packet Queue for port=%d qsize = %ld hit max qSize=%lu", theRemotePort,theSender->fPacketQueue.GetLength(), maxQSize); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ APIModules/QTSSReflectorModule/ReflectorStream.cpp:1523:140: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'UInt32 {aka unsigned int}' [-Wformat=] In file included from CommonUtilitiesLib/OSRef.h:46:0, from CommonUtilitiesLib/EventContext.h:42, from CommonUtilitiesLib/Socket.h:43, from CommonUtilitiesLib/UDPSocket.h:44, from APIModules/QTSSReflectorModule/ReflectorStream.h:45, from APIModules/QTSSReflectorModule/ReflectorStream.cpp:34: CommonUtilitiesLib/OSHashTable.h: In instantiation of 'OSHashTable::OSHashTable(UInt32) [with T = OSRef; K = OSRefKey; UInt32 = unsigned int]': CommonUtilitiesLib/OSRef.h:177:86: required from here CommonUtilitiesLib/OSHashTable.h:46:22: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] fHashTable = new ( T*[size] ); ^~~~~~~~~~~~~~~~ CommonUtilitiesLib/OSHashTable.h: In instantiation of 'OSHashTable::OSHashTable(UInt32) [with T = UDPDemuxerTask; K = UDPDemuxerKey; UInt32 = unsigned int]': CommonUtilitiesLib/UDPDemuxer.h:142:62: required from here CommonUtilitiesLib/OSHashTable.h:46:22: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] c++ -fPIC -c -o APIModules/QTSSReflectorModule/RCFSourceInfo.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -DDSS_USE_API_CALLBACKS -g -Wall -Wno-format-y2k -include PlatformHeader.h -I. -IQTFileLib -IOSMemoryLib -IRTSPClientLib -IAPIModules -IAPICommonCode -IAPIModules/OSMemory_Modules -IAPIModules/QTSSAccessLogModule -IAPIModules/QTSSFileModule -IAPIModules/QTSSFlowControlModule -IAPIModules/QTSSReflectorModule -IAPIModules/QTSSSvrControlModule -IAPIModules/QTSSWebDebugModule -IAPIModules/QTSSWebStatsModule -IAPIModules/QTSSAuthorizeModule -IAPIModules/QTSSPOSIXFileSysModule -IAPIModules/QTSSAdminModule -IAPIModules/QTSSMP3StreamingModule -IAPIModules/QTSSRTPFileModule -IAPIModules/QTSSAccessModule -IAPIModules/QTSSHttpFileModule -IQTFileTools/RTPFileGen.tproj -IAPIStubLib -ICommonUtilitiesLib -IRTCPUtilitiesLib -IHTTPUtilitiesLib -IRTPMetaInfoLib -IPrefsSourceLib -IServer.tproj APIModules/QTSSReflectorModule/RCFSourceInfo.cpp In file included from CommonUtilitiesLib/ResizeableStringFormatter.h:39:0, from PrefsSourceLib/XMLParser.h:32, from APIModules/QTSSReflectorModule/RCFSourceInfo.h:40, from APIModules/QTSSReflectorModule/RCFSourceInfo.cpp:36: CommonUtilitiesLib/StringFormatter.h: In member function 'void StringFormatter::PutFilePath(StrPtrLen*, StrPtrLen*)': CommonUtilitiesLib/StringFormatter.h:138:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Put(kPathDelimiterString); ^ c++ -fPIC -c -o APIModules/QTSSReflectorModule/RTSPSourceInfo.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -DDSS_USE_API_CALLBACKS -g -Wall -Wno-format-y2k -include PlatformHeader.h -I. -IQTFileLib -IOSMemoryLib -IRTSPClientLib -IAPIModules -IAPICommonCode -IAPIModules/OSMemory_Modules -IAPIModules/QTSSAccessLogModule -IAPIModules/QTSSFileModule -IAPIModules/QTSSFlowControlModule -IAPIModules/QTSSReflectorModule -IAPIModules/QTSSSvrControlModule -IAPIModules/QTSSWebDebugModule -IAPIModules/QTSSWebStatsModule -IAPIModules/QTSSAuthorizeModule -IAPIModules/QTSSPOSIXFileSysModule -IAPIModules/QTSSAdminModule -IAPIModules/QTSSMP3StreamingModule -IAPIModules/QTSSRTPFileModule -IAPIModules/QTSSAccessModule -IAPIModules/QTSSHttpFileModule -IQTFileTools/RTPFileGen.tproj -IAPIStubLib -ICommonUtilitiesLib -IRTCPUtilitiesLib -IHTTPUtilitiesLib -IRTPMetaInfoLib -IPrefsSourceLib -IServer.tproj APIModules/QTSSReflectorModule/RTSPSourceInfo.cpp In file included from CommonUtilitiesLib/ResizeableStringFormatter.h:39:0, from PrefsSourceLib/XMLParser.h:32, from APIModules/QTSSReflectorModule/RCFSourceInfo.h:40, from APIModules/QTSSReflectorModule/RTSPSourceInfo.h:38, from APIModules/QTSSReflectorModule/RTSPSourceInfo.cpp:34: CommonUtilitiesLib/StringFormatter.h: In member function 'void StringFormatter::PutFilePath(StrPtrLen*, StrPtrLen*)': CommonUtilitiesLib/StringFormatter.h:138:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Put(kPathDelimiterString); ^ In file included from APIModules/QTSSReflectorModule/ReflectorStream.h:42:0, from APIModules/QTSSReflectorModule/ReflectorSession.h:45, from APIModules/QTSSReflectorModule/RelaySession.h:35, from APIModules/QTSSReflectorModule/RTSPSourceInfo.h:42, from APIModules/QTSSReflectorModule/RTSPSourceInfo.cpp:34: CommonUtilitiesLib/IdleTask.h: In constructor 'IdleTask::IdleTask()': CommonUtilitiesLib/IdleTask.h:78:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] IdleTask() : Task(), fIdleElem() { this->SetTaskName("IdleTask"); fIdleElem.SetEnclosingObject(this); } ^ In file included from APIModules/QTSSReflectorModule/RTSPSourceInfo.cpp:34:0: APIModules/QTSSReflectorModule/RTSPSourceInfo.h: In constructor 'RTSPSourceInfo::RelaySessionCreator::RelaySessionCreator(RTSPSourceInfo*)': APIModules/QTSSReflectorModule/RTSPSourceInfo.h:186:133: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] RelaySessionCreator(RTSPSourceInfo* inInfo) : fInfo(inInfo) {this->SetTaskName("RTSPSourceInfo::RelaySessionCreator");} ^ In file included from APIModules/QTSSReflectorModule/RTSPSourceInfo.cpp:40:0: APIModules/QTSSReflectorModule/RelayOutput.h: In constructor 'RelayOutput::RelayAnnouncer::RelayAnnouncer(RelayOutput*)': APIModules/QTSSReflectorModule/RelayOutput.h:96:106: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] RelayAnnouncer(RelayOutput* output) : fOutput(output) {this->SetTaskName("RelayAnnouncer");} ^ In file included from APIModules/QTSSReflectorModule/RTSPSourceInfo.cpp:42:0: CommonUtilitiesLib/SDPUtils.h: In member function 'Bool16 SDPContainer::HasLineType(char)': CommonUtilitiesLib/SDPUtils.h:92:95: warning: array subscript has type 'char' [-Wchar-subscripts] Bool16 HasLineType( char lineType ) { return (Bool16) (lineType == fFieldStr[lineType]) ; } ^ APIModules/QTSSReflectorModule/RTSPSourceInfo.cpp: At global scope: APIModules/QTSSReflectorModule/RTSPSourceInfo.cpp:45:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen RTSPSourceInfo::sKeyString("rtsp_source"); ^ APIModules/QTSSReflectorModule/RTSPSourceInfo.cpp:46:70: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen RTSPSourceInfo::sAnnouncedKeyString("announced_rtsp_source"); ^ APIModules/QTSSReflectorModule/RTSPSourceInfo.cpp:49:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sOutAddr("out_addr"); ^ APIModules/QTSSReflectorModule/RTSPSourceInfo.cpp:50:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sDestAddr("dest_addr"); ^ APIModules/QTSSReflectorModule/RTSPSourceInfo.cpp:51:41: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sDestPorts("dest_ports"); ^ APIModules/QTSSReflectorModule/RTSPSourceInfo.cpp:52:28: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sTtl("ttl"); ^ APIModules/QTSSReflectorModule/RTSPSourceInfo.cpp: In member function 'QTSS_Error RTSPSourceInfo::ParsePrefs(XMLTag*, Bool16)': APIModules/QTSSReflectorModule/RTSPSourceInfo.cpp:166:12: warning: variable 'localAddr' set but not used [-Wunused-but-set-variable] UInt32 localAddr = 0; ^~~~~~~~~ APIModules/QTSSReflectorModule/RTSPSourceInfo.cpp: In member function 'QTSS_Error RTSPSourceInfo::Describe()': APIModules/QTSSReflectorModule/RTSPSourceInfo.cpp:276:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sRangeStr("a=range:"); ^ APIModules/QTSSReflectorModule/RTSPSourceInfo.cpp: In member function 'SInt64 RTSPSourceInfo::RunCreateSession()': APIModules/QTSSReflectorModule/RTSPSourceInfo.cpp:588:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sRangeStr("a=range:"); ^ APIModules/QTSSReflectorModule/RTSPSourceInfo.cpp: In constructor 'RTSPSourceInfo::TeardownTask::TeardownTask(TCPClientSocket*, RTSPClient*)': APIModules/QTSSReflectorModule/RTSPSourceInfo.cpp:725:53: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] this->SetTaskName("RTSPSourceInfo::TeardownTask"); ^ In file included from CommonUtilitiesLib/OSRef.h:46:0, from CommonUtilitiesLib/EventContext.h:42, from CommonUtilitiesLib/Socket.h:43, from CommonUtilitiesLib/TCPSocket.h:46, from RTSPClientLib/RTSPClient.h:37, from APIModules/QTSSReflectorModule/RTSPSourceInfo.h:39, from APIModules/QTSSReflectorModule/RTSPSourceInfo.cpp:34: CommonUtilitiesLib/OSHashTable.h: In instantiation of 'OSHashTable::OSHashTable(UInt32) [with T = OSRef; K = OSRefKey; UInt32 = unsigned int]': CommonUtilitiesLib/OSRef.h:177:86: required from here CommonUtilitiesLib/OSHashTable.h:46:22: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] fHashTable = new ( T*[size] ); ^~~~~~~~~~~~~~~~ CommonUtilitiesLib/OSHashTable.h: In instantiation of 'OSHashTable::OSHashTable(UInt32) [with T = UDPDemuxerTask; K = UDPDemuxerKey; UInt32 = unsigned int]': CommonUtilitiesLib/UDPDemuxer.h:142:62: required from here CommonUtilitiesLib/OSHashTable.h:46:22: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] c++ -fPIC -c -o APIModules/QTSSReflectorModule/RelayOutput.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -DDSS_USE_API_CALLBACKS -g -Wall -Wno-format-y2k -include PlatformHeader.h -I. -IQTFileLib -IOSMemoryLib -IRTSPClientLib -IAPIModules -IAPICommonCode -IAPIModules/OSMemory_Modules -IAPIModules/QTSSAccessLogModule -IAPIModules/QTSSFileModule -IAPIModules/QTSSFlowControlModule -IAPIModules/QTSSReflectorModule -IAPIModules/QTSSSvrControlModule -IAPIModules/QTSSWebDebugModule -IAPIModules/QTSSWebStatsModule -IAPIModules/QTSSAuthorizeModule -IAPIModules/QTSSPOSIXFileSysModule -IAPIModules/QTSSAdminModule -IAPIModules/QTSSMP3StreamingModule -IAPIModules/QTSSRTPFileModule -IAPIModules/QTSSAccessModule -IAPIModules/QTSSHttpFileModule -IQTFileTools/RTPFileGen.tproj -IAPIStubLib -ICommonUtilitiesLib -IRTCPUtilitiesLib -IHTTPUtilitiesLib -IRTPMetaInfoLib -IPrefsSourceLib -IServer.tproj APIModules/QTSSReflectorModule/RelayOutput.cpp In file included from CommonUtilitiesLib/ResizeableStringFormatter.h:39:0, from APIModules/QTSSReflectorModule/ReflectorSession.h:42, from APIModules/QTSSReflectorModule/RelaySession.h:35, from APIModules/QTSSReflectorModule/RelayOutput.h:37, from APIModules/QTSSReflectorModule/RelayOutput.cpp:34: CommonUtilitiesLib/StringFormatter.h: In member function 'void StringFormatter::PutFilePath(StrPtrLen*, StrPtrLen*)': CommonUtilitiesLib/StringFormatter.h:138:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Put(kPathDelimiterString); ^ In file included from APIModules/QTSSReflectorModule/ReflectorStream.h:42:0, from APIModules/QTSSReflectorModule/ReflectorSession.h:45, from APIModules/QTSSReflectorModule/RelaySession.h:35, from APIModules/QTSSReflectorModule/RelayOutput.h:37, from APIModules/QTSSReflectorModule/RelayOutput.cpp:34: CommonUtilitiesLib/IdleTask.h: In constructor 'IdleTask::IdleTask()': CommonUtilitiesLib/IdleTask.h:78:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] IdleTask() : Task(), fIdleElem() { this->SetTaskName("IdleTask"); fIdleElem.SetEnclosingObject(this); } ^ In file included from APIModules/QTSSReflectorModule/RelaySession.h:38:0, from APIModules/QTSSReflectorModule/RelayOutput.h:37, from APIModules/QTSSReflectorModule/RelayOutput.cpp:34: APIModules/QTSSReflectorModule/RTSPSourceInfo.h: In constructor 'RTSPSourceInfo::RelaySessionCreator::RelaySessionCreator(RTSPSourceInfo*)': APIModules/QTSSReflectorModule/RTSPSourceInfo.h:186:133: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] RelaySessionCreator(RTSPSourceInfo* inInfo) : fInfo(inInfo) {this->SetTaskName("RTSPSourceInfo::RelaySessionCreator");} ^ In file included from APIModules/QTSSReflectorModule/RelayOutput.cpp:34:0: APIModules/QTSSReflectorModule/RelayOutput.h: In constructor 'RelayOutput::RelayAnnouncer::RelayAnnouncer(RelayOutput*)': APIModules/QTSSReflectorModule/RelayOutput.h:96:106: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] RelayAnnouncer(RelayOutput* output) : fOutput(output) {this->SetTaskName("RelayAnnouncer");} ^ APIModules/QTSSReflectorModule/RelayOutput.cpp: At global scope: APIModules/QTSSReflectorModule/RelayOutput.cpp:40:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sUDPDestStr("udp_destination"); ^ APIModules/QTSSReflectorModule/RelayOutput.cpp:41:62: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sAnnouncedDestStr("announced_destination"); ^ APIModules/QTSSReflectorModule/RelayOutput.cpp:61:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sOutputTypeName = "output_type"; ^~~~~~~~~~~~~ APIModules/QTSSReflectorModule/RelayOutput.cpp:62:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sOutputDestAddrName = "output_dest_addr"; ^~~~~~~~~~~~~~~~~~ APIModules/QTSSReflectorModule/RelayOutput.cpp:63:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sOutputLocalAddrName = "output_local_addr"; ^~~~~~~~~~~~~~~~~~~ APIModules/QTSSReflectorModule/RelayOutput.cpp:64:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sOutputUDPPortsName = "output_udp_ports"; ^~~~~~~~~~~~~~~~~~ APIModules/QTSSReflectorModule/RelayOutput.cpp:65:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sOutputRTSPPortName = "output_rtsp_port"; ^~~~~~~~~~~~~~~~~~ APIModules/QTSSReflectorModule/RelayOutput.cpp:66:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sOutputURLName = "output_url"; ^~~~~~~~~~~~ APIModules/QTSSReflectorModule/RelayOutput.cpp:67:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sOutputTTLName = "output_ttl"; ^~~~~~~~~~~~ APIModules/QTSSReflectorModule/RelayOutput.cpp:69:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sOutputCurPacketsPerSecName = "output_cur_packetspersec"; ^~~~~~~~~~~~~~~~~~~~~~~~~~ APIModules/QTSSReflectorModule/RelayOutput.cpp:70:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sOutputCurBitsPerSecName = "output_cur_bitspersec"; ^~~~~~~~~~~~~~~~~~~~~~~ APIModules/QTSSReflectorModule/RelayOutput.cpp:71:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sOutputTotalPacketsSentName = "output_total_packets_sent"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~ APIModules/QTSSReflectorModule/RelayOutput.cpp:72:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sOutputTotalBytesSentName = "output_total_bytes_sent"; ^~~~~~~~~~~~~~~~~~~~~~~~~ APIModules/QTSSReflectorModule/RelayOutput.cpp: In constructor 'RelayOutput::RelayOutput(SourceInfo*, UInt32, RelaySession*, Bool16)': APIModules/QTSSReflectorModule/RelayOutput.cpp:228:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sHTMLStart("Relaying to: "); ^ APIModules/QTSSReflectorModule/RelayOutput.cpp:229:40: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sPorts(", Ports: "); ^ APIModules/QTSSReflectorModule/RelayOutput.cpp:230:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sTimeToLive(" Time to live: "); ^ APIModules/QTSSReflectorModule/RelayOutput.cpp:231:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sHTMLEnd("
"); ^ APIModules/QTSSReflectorModule/RelayOutput.cpp: In destructor 'virtual RelayOutput::~RelayOutput()': APIModules/QTSSReflectorModule/RelayOutput.cpp:285:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (fAnnounceTask != NULL) ^~ APIModules/QTSSReflectorModule/RelayOutput.cpp:288:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (fRTSPOutputInfo != NULL) ^~ In file included from CommonUtilitiesLib/OSRef.h:46:0, from APIModules/QTSSReflectorModule/ReflectorSession.h:40, from APIModules/QTSSReflectorModule/RelaySession.h:35, from APIModules/QTSSReflectorModule/RelayOutput.h:37, from APIModules/QTSSReflectorModule/RelayOutput.cpp:34: CommonUtilitiesLib/OSHashTable.h: In instantiation of 'OSHashTable::OSHashTable(UInt32) [with T = OSRef; K = OSRefKey; UInt32 = unsigned int]': CommonUtilitiesLib/OSRef.h:177:86: required from here CommonUtilitiesLib/OSHashTable.h:46:22: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] fHashTable = new ( T*[size] ); ^~~~~~~~~~~~~~~~ CommonUtilitiesLib/OSHashTable.h: In instantiation of 'OSHashTable::OSHashTable(UInt32) [with T = UDPDemuxerTask; K = UDPDemuxerKey; UInt32 = unsigned int]': CommonUtilitiesLib/UDPDemuxer.h:142:62: required from here CommonUtilitiesLib/OSHashTable.h:46:22: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] c++ -fPIC -c -o APIModules/QTSSReflectorModule/RelaySDPSourceInfo.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -DDSS_USE_API_CALLBACKS -g -Wall -Wno-format-y2k -include PlatformHeader.h -I. -IQTFileLib -IOSMemoryLib -IRTSPClientLib -IAPIModules -IAPICommonCode -IAPIModules/OSMemory_Modules -IAPIModules/QTSSAccessLogModule -IAPIModules/QTSSFileModule -IAPIModules/QTSSFlowControlModule -IAPIModules/QTSSReflectorModule -IAPIModules/QTSSSvrControlModule -IAPIModules/QTSSWebDebugModule -IAPIModules/QTSSWebStatsModule -IAPIModules/QTSSAuthorizeModule -IAPIModules/QTSSPOSIXFileSysModule -IAPIModules/QTSSAdminModule -IAPIModules/QTSSMP3StreamingModule -IAPIModules/QTSSRTPFileModule -IAPIModules/QTSSAccessModule -IAPIModules/QTSSHttpFileModule -IQTFileTools/RTPFileGen.tproj -IAPIStubLib -ICommonUtilitiesLib -IRTCPUtilitiesLib -IHTTPUtilitiesLib -IRTPMetaInfoLib -IPrefsSourceLib -IServer.tproj APIModules/QTSSReflectorModule/RelaySDPSourceInfo.cpp APIModules/QTSSReflectorModule/RelaySDPSourceInfo.cpp: In member function 'void RelaySDPSourceInfo::Parse(StrPtrLen*)': APIModules/QTSSReflectorModule/RelaySDPSourceInfo.cpp:73:52: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sRelayAddr("a=x-qt-relay-addr"); ^ APIModules/QTSSReflectorModule/RelaySDPSourceInfo.cpp:74:52: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sRelayPort("a=x-qt-relay-port"); ^ c++ -fPIC -c -o APIModules/QTSSReflectorModule/RTPSessionOutput.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -DDSS_USE_API_CALLBACKS -g -Wall -Wno-format-y2k -include PlatformHeader.h -I. -IQTFileLib -IOSMemoryLib -IRTSPClientLib -IAPIModules -IAPICommonCode -IAPIModules/OSMemory_Modules -IAPIModules/QTSSAccessLogModule -IAPIModules/QTSSFileModule -IAPIModules/QTSSFlowControlModule -IAPIModules/QTSSReflectorModule -IAPIModules/QTSSSvrControlModule -IAPIModules/QTSSWebDebugModule -IAPIModules/QTSSWebStatsModule -IAPIModules/QTSSAuthorizeModule -IAPIModules/QTSSPOSIXFileSysModule -IAPIModules/QTSSAdminModule -IAPIModules/QTSSMP3StreamingModule -IAPIModules/QTSSRTPFileModule -IAPIModules/QTSSAccessModule -IAPIModules/QTSSHttpFileModule -IQTFileTools/RTPFileGen.tproj -IAPIStubLib -ICommonUtilitiesLib -IRTCPUtilitiesLib -IHTTPUtilitiesLib -IRTPMetaInfoLib -IPrefsSourceLib -IServer.tproj APIModules/QTSSReflectorModule/RTPSessionOutput.cpp In file included from CommonUtilitiesLib/ResizeableStringFormatter.h:39:0, from APIModules/QTSSReflectorModule/ReflectorSession.h:42, from APIModules/QTSSReflectorModule/RTPSessionOutput.h:40, from APIModules/QTSSReflectorModule/RTPSessionOutput.cpp:34: CommonUtilitiesLib/StringFormatter.h: In member function 'void StringFormatter::PutFilePath(StrPtrLen*, StrPtrLen*)': CommonUtilitiesLib/StringFormatter.h:138:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Put(kPathDelimiterString); ^ In file included from APIModules/QTSSReflectorModule/ReflectorStream.h:42:0, from APIModules/QTSSReflectorModule/ReflectorSession.h:45, from APIModules/QTSSReflectorModule/RTPSessionOutput.h:40, from APIModules/QTSSReflectorModule/RTPSessionOutput.cpp:34: CommonUtilitiesLib/IdleTask.h: In constructor 'IdleTask::IdleTask()': CommonUtilitiesLib/IdleTask.h:78:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] IdleTask() : Task(), fIdleElem() { this->SetTaskName("IdleTask"); fIdleElem.SetEnclosingObject(this); } ^ APIModules/QTSSReflectorModule/RTPSessionOutput.cpp: In static member function 'static void RTPSessionOutput::Register()': APIModules/QTSSReflectorModule/RTPSessionOutput.cpp:94:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sNextSeqNum = "qtssNextSeqNum"; ^~~~~~~~~~~~~~~~ APIModules/QTSSReflectorModule/RTPSessionOutput.cpp:95:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sSeqNumOffset = "qtssSeqNumOffset"; ^~~~~~~~~~~~~~~~~~ APIModules/QTSSReflectorModule/RTPSessionOutput.cpp:96:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sLastQualityChange = "qtssLastQualityChange"; ^~~~~~~~~~~~~~~~~~~~~~~ APIModules/QTSSReflectorModule/RTPSessionOutput.cpp:98:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sLastRTPPacketID = "qtssReflectorStreamLastRTPPacketID"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ APIModules/QTSSReflectorModule/RTPSessionOutput.cpp:99:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sLastRTCPPacketID = "qtssReflectorStreamLastRTCPPacketID"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ APIModules/QTSSReflectorModule/RTPSessionOutput.cpp:102:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sFirstRTCPArrivalTime = "qtssReflectorStreamStartRTCPArrivalTime"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ APIModules/QTSSReflectorModule/RTPSessionOutput.cpp:103:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sFirstRTCPTimeStamp = "qtssReflectorStreamStartRTCPTimeStamp"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ APIModules/QTSSReflectorModule/RTPSessionOutput.cpp:104:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sFirstRTCPCurrentTime = "qtssReflectorStreamStartRTCPCurrent"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ APIModules/QTSSReflectorModule/RTPSessionOutput.cpp:106:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sFirstRTPArrivalTime = "qtssReflectorStreamStartRTPArrivalTime"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ APIModules/QTSSReflectorModule/RTPSessionOutput.cpp:107:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sFirstRTPTimeStamp = "qtssReflectorStreamStartRTPTimeStamp"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ APIModules/QTSSReflectorModule/RTPSessionOutput.cpp:108:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sFirstRTPCurrentTime = "qtssReflectorStreamStartRTPCurrent"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ APIModules/QTSSReflectorModule/RTPSessionOutput.cpp:110:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sBaseRTPTimeStamp = "qtssReflectorStreamBaseRTPTimeStamp"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ APIModules/QTSSReflectorModule/RTPSessionOutput.cpp:111:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sBaseArrivalTimeStamp = "qtssReflectorStreamBaseArrivalTime"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ APIModules/QTSSReflectorModule/RTPSessionOutput.cpp:113:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sLastRTPTimeStamp = "qtssReflectorStreamLastRTPTimeStamp"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ APIModules/QTSSReflectorModule/RTPSessionOutput.cpp:114:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sLastRTCPTransmit = "qtssReflectorStreamLastRTCPTransmit"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ APIModules/QTSSReflectorModule/RTPSessionOutput.cpp:116:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sStreamSSRC = "qtssReflectorStreamSSRC"; ^~~~~~~~~~~~~~~~~~~~~~~~~ APIModules/QTSSReflectorModule/RTPSessionOutput.cpp:117:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sStreamPacketCount = "qtssReflectorStreamPacketCount"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ APIModules/QTSSReflectorModule/RTPSessionOutput.cpp:118:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sStreamByteCount = "qtssReflectorStreamByteCount"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ APIModules/QTSSReflectorModule/RTPSessionOutput.cpp: In member function 'virtual Bool16 RTPSessionOutput::IsPlaying()': APIModules/QTSSReflectorModule/RTPSessionOutput.cpp:187:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!fClientSession) ^~ APIModules/QTSSReflectorModule/RTPSessionOutput.cpp:190:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' (void)QTSS_GetValuePtr(fClientSession, qtssCliSesState, 0, (void**)&theState, &theLen); ^ APIModules/QTSSReflectorModule/RTPSessionOutput.cpp: In member function 'QTSS_Error RTPSessionOutput::TrackRTCPBaseTime(void**, StrPtrLen*, SInt64*, UInt32, SInt64*, SInt64*, UInt64*, SInt64*)': APIModules/QTSSReflectorModule/RTPSessionOutput.cpp:298:12: warning: variable 'haveBaseTime' set but not used [-Wunused-but-set-variable] Bool16 haveBaseTime = false; ^~~~~~~~~~~~ In file included from CommonUtilitiesLib/OSRef.h:46:0, from APIModules/QTSSReflectorModule/ReflectorSession.h:40, from APIModules/QTSSReflectorModule/RTPSessionOutput.h:40, from APIModules/QTSSReflectorModule/RTPSessionOutput.cpp:34: CommonUtilitiesLib/OSHashTable.h: In instantiation of 'OSHashTable::OSHashTable(UInt32) [with T = OSRef; K = OSRefKey; UInt32 = unsigned int]': CommonUtilitiesLib/OSRef.h:177:86: required from here CommonUtilitiesLib/OSHashTable.h:46:22: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] fHashTable = new ( T*[size] ); ^~~~~~~~~~~~~~~~ CommonUtilitiesLib/OSHashTable.h: In instantiation of 'OSHashTable::OSHashTable(UInt32) [with T = UDPDemuxerTask; K = UDPDemuxerKey; UInt32 = unsigned int]': CommonUtilitiesLib/UDPDemuxer.h:142:62: required from here CommonUtilitiesLib/OSHashTable.h:46:22: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] c++ -fPIC -c -o APIModules/QTSSReflectorModule/SequenceNumberMap.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -DDSS_USE_API_CALLBACKS -g -Wall -Wno-format-y2k -include PlatformHeader.h -I. -IQTFileLib -IOSMemoryLib -IRTSPClientLib -IAPIModules -IAPICommonCode -IAPIModules/OSMemory_Modules -IAPIModules/QTSSAccessLogModule -IAPIModules/QTSSFileModule -IAPIModules/QTSSFlowControlModule -IAPIModules/QTSSReflectorModule -IAPIModules/QTSSSvrControlModule -IAPIModules/QTSSWebDebugModule -IAPIModules/QTSSWebStatsModule -IAPIModules/QTSSAuthorizeModule -IAPIModules/QTSSPOSIXFileSysModule -IAPIModules/QTSSAdminModule -IAPIModules/QTSSMP3StreamingModule -IAPIModules/QTSSRTPFileModule -IAPIModules/QTSSAccessModule -IAPIModules/QTSSHttpFileModule -IQTFileTools/RTPFileGen.tproj -IAPIStubLib -ICommonUtilitiesLib -IRTCPUtilitiesLib -IHTTPUtilitiesLib -IRTPMetaInfoLib -IPrefsSourceLib -IServer.tproj APIModules/QTSSReflectorModule/SequenceNumberMap.cpp c++ -fPIC -c -o APIModules/QTSSWebDebugModule/QTSSWebDebugModule.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -DDSS_USE_API_CALLBACKS -g -Wall -Wno-format-y2k -include PlatformHeader.h -I. -IQTFileLib -IOSMemoryLib -IRTSPClientLib -IAPIModules -IAPICommonCode -IAPIModules/OSMemory_Modules -IAPIModules/QTSSAccessLogModule -IAPIModules/QTSSFileModule -IAPIModules/QTSSFlowControlModule -IAPIModules/QTSSReflectorModule -IAPIModules/QTSSSvrControlModule -IAPIModules/QTSSWebDebugModule -IAPIModules/QTSSWebStatsModule -IAPIModules/QTSSAuthorizeModule -IAPIModules/QTSSPOSIXFileSysModule -IAPIModules/QTSSAdminModule -IAPIModules/QTSSMP3StreamingModule -IAPIModules/QTSSRTPFileModule -IAPIModules/QTSSAccessModule -IAPIModules/QTSSHttpFileModule -IQTFileTools/RTPFileGen.tproj -IAPIStubLib -ICommonUtilitiesLib -IRTCPUtilitiesLib -IHTTPUtilitiesLib -IRTPMetaInfoLib -IPrefsSourceLib -IServer.tproj APIModules/QTSSWebDebugModule/QTSSWebDebugModule.cpp APIModules/QTSSWebDebugModule/QTSSWebDebugModule.cpp:43:53: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sRequestHeader("GET /debug HTTP"); ^ APIModules/QTSSWebDebugModule/QTSSWebDebugModule.cpp: In function 'QTSS_Error Register(QTSS_Register_Params*)': APIModules/QTSSWebDebugModule/QTSSWebDebugModule.cpp:79:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sStateName = "QTSSWebDebugModuleState"; ^~~~~~~~~~~~~~~~~~~~~~~~~ APIModules/QTSSWebDebugModule/QTSSWebDebugModule.cpp:84:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sModuleName = "QTSSWebDebugModule"; ^~~~~~~~~~~~~~~~~~~~ c++ -fPIC -c -o APIModules/QTSSWebStatsModule/QTSSWebStatsModule.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -DDSS_USE_API_CALLBACKS -g -Wall -Wno-format-y2k -include PlatformHeader.h -I. -IQTFileLib -IOSMemoryLib -IRTSPClientLib -IAPIModules -IAPICommonCode -IAPIModules/OSMemory_Modules -IAPIModules/QTSSAccessLogModule -IAPIModules/QTSSFileModule -IAPIModules/QTSSFlowControlModule -IAPIModules/QTSSReflectorModule -IAPIModules/QTSSSvrControlModule -IAPIModules/QTSSWebDebugModule -IAPIModules/QTSSWebStatsModule -IAPIModules/QTSSAuthorizeModule -IAPIModules/QTSSPOSIXFileSysModule -IAPIModules/QTSSAdminModule -IAPIModules/QTSSMP3StreamingModule -IAPIModules/QTSSRTPFileModule -IAPIModules/QTSSAccessModule -IAPIModules/QTSSHttpFileModule -IQTFileTools/RTPFileGen.tproj -IAPIStubLib -ICommonUtilitiesLib -IRTCPUtilitiesLib -IHTTPUtilitiesLib -IRTPMetaInfoLib -IPrefsSourceLib -IServer.tproj APIModules/QTSSWebStatsModule/QTSSWebStatsModule.cpp APIModules/QTSSWebStatsModule/QTSSWebStatsModule.cpp:49:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sResponseHeader = "HTTP/1.0 200 OK\r\nServer: QTSS/3.0\r\nConnection: Close\r\nContent-Type: text/html\r\n\r\n"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ APIModules/QTSSWebStatsModule/QTSSWebStatsModule.cpp: In function 'QTSS_Error Register(QTSS_Register_Params*)': APIModules/QTSSWebStatsModule/QTSSWebStatsModule.cpp:101:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sModuleName = "QTSSWebStatsModule"; ^~~~~~~~~~~~~~~~~~~~ APIModules/QTSSWebStatsModule/QTSSWebStatsModule.cpp: In function 'QTSS_Error Initialize(QTSS_Initialize_Params*)': APIModules/QTSSWebStatsModule/QTSSWebStatsModule.cpp:113:121: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] sAccessLogPrefs = QTSSModuleUtils::GetModulePrefsObject(QTSSModuleUtils::GetModuleObjectByName("QTSSAccessLogModule")); ^ APIModules/QTSSWebStatsModule/QTSSWebStatsModule.cpp:114:121: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] sReflectorPrefs = QTSSModuleUtils::GetModulePrefsObject(QTSSModuleUtils::GetModuleObjectByName("QTSSReflectorModule")); ^ APIModules/QTSSWebStatsModule/QTSSWebStatsModule.cpp:118:106: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] QTSS_ModuleObject theSvrControlModule = QTSSModuleUtils::GetModuleObjectByName("QTSSSvrControlModule"); ^ APIModules/QTSSWebStatsModule/QTSSWebStatsModule.cpp: In function 'QTSS_Error FilterRequest(QTSS_Filter_Params*)': APIModules/QTSSWebStatsModule/QTSSWebStatsModule.cpp:175:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if ( strPtr.Equal(StrPtrLen("GET")) ) //it's a "Get" request ^ APIModules/QTSSWebStatsModule/QTSSWebStatsModule.cpp:184:86: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] OSCharArrayDeleter theWebStatsURL(GetPrefAsString(sPrefs, "web_stats_url")); ^ APIModules/QTSSWebStatsModule/QTSSWebStatsModule.cpp:202:87: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if ( paramName.Equal(StrPtrLen("refresh",strlen("refresh"))) ) ^ APIModules/QTSSWebStatsModule/QTSSWebStatsModule.cpp:207:86: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] else if ( paramName.Equal(StrPtrLen("help",strlen("help"))) ) ^ APIModules/QTSSWebStatsModule/QTSSWebStatsModule.cpp:211:90: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] else if ( paramName.Equal(StrPtrLen("fields",strlen("fields"))) ) ^ APIModules/QTSSWebStatsModule/QTSSWebStatsModule.cpp: In function 'void SendStats(QTSS_StreamRef, UInt32, Bool16, StrPtrLen*)': APIModules/QTSSWebStatsModule/QTSSWebStatsModule.cpp:293:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] }; ^ APIModules/QTSSWebStatsModule/QTSSWebStatsModule.cpp:293:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] APIModules/QTSSWebStatsModule/QTSSWebStatsModule.cpp:293:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] APIModules/QTSSWebStatsModule/QTSSWebStatsModule.cpp:293:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] APIModules/QTSSWebStatsModule/QTSSWebStatsModule.cpp:293:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] APIModules/QTSSWebStatsModule/QTSSWebStatsModule.cpp:293:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] APIModules/QTSSWebStatsModule/QTSSWebStatsModule.cpp:293:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] APIModules/QTSSWebStatsModule/QTSSWebStatsModule.cpp:293:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] APIModules/QTSSWebStatsModule/QTSSWebStatsModule.cpp:293:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] APIModules/QTSSWebStatsModule/QTSSWebStatsModule.cpp:293:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] APIModules/QTSSWebStatsModule/QTSSWebStatsModule.cpp:293:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] APIModules/QTSSWebStatsModule/QTSSWebStatsModule.cpp:293:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] APIModules/QTSSWebStatsModule/QTSSWebStatsModule.cpp:293:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] APIModules/QTSSWebStatsModule/QTSSWebStatsModule.cpp:293:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] APIModules/QTSSWebStatsModule/QTSSWebStatsModule.cpp:293:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] APIModules/QTSSWebStatsModule/QTSSWebStatsModule.cpp:293:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] APIModules/QTSSWebStatsModule/QTSSWebStatsModule.cpp:293:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] APIModules/QTSSWebStatsModule/QTSSWebStatsModule.cpp:293:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] APIModules/QTSSWebStatsModule/QTSSWebStatsModule.cpp:293:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] APIModules/QTSSWebStatsModule/QTSSWebStatsModule.cpp:293:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] APIModules/QTSSWebStatsModule/QTSSWebStatsModule.cpp:293:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] APIModules/QTSSWebStatsModule/QTSSWebStatsModule.cpp:293:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] APIModules/QTSSWebStatsModule/QTSSWebStatsModule.cpp:293:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] APIModules/QTSSWebStatsModule/QTSSWebStatsModule.cpp:293:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] APIModules/QTSSWebStatsModule/QTSSWebStatsModule.cpp:293:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] APIModules/QTSSWebStatsModule/QTSSWebStatsModule.cpp:293:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] APIModules/QTSSWebStatsModule/QTSSWebStatsModule.cpp:293:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] APIModules/QTSSWebStatsModule/QTSSWebStatsModule.cpp:293:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] APIModules/QTSSWebStatsModule/QTSSWebStatsModule.cpp:293:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] APIModules/QTSSWebStatsModule/QTSSWebStatsModule.cpp:293:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] APIModules/QTSSWebStatsModule/QTSSWebStatsModule.cpp:293:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] APIModules/QTSSWebStatsModule/QTSSWebStatsModule.cpp:293:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] APIModules/QTSSWebStatsModule/QTSSWebStatsModule.cpp:293:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] APIModules/QTSSWebStatsModule/QTSSWebStatsModule.cpp:293:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] APIModules/QTSSWebStatsModule/QTSSWebStatsModule.cpp:293:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] APIModules/QTSSWebStatsModule/QTSSWebStatsModule.cpp:293:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] APIModules/QTSSWebStatsModule/QTSSWebStatsModule.cpp:293:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] APIModules/QTSSWebStatsModule/QTSSWebStatsModule.cpp:293:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] APIModules/QTSSWebStatsModule/QTSSWebStatsModule.cpp:293:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] APIModules/QTSSWebStatsModule/QTSSWebStatsModule.cpp:293:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] APIModules/QTSSWebStatsModule/QTSSWebStatsModule.cpp:293:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] APIModules/QTSSWebStatsModule/QTSSWebStatsModule.cpp:293:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] APIModules/QTSSWebStatsModule/QTSSWebStatsModule.cpp:293:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] APIModules/QTSSWebStatsModule/QTSSWebStatsModule.cpp:293:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] APIModules/QTSSWebStatsModule/QTSSWebStatsModule.cpp:293:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] APIModules/QTSSWebStatsModule/QTSSWebStatsModule.cpp:293:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] APIModules/QTSSWebStatsModule/QTSSWebStatsModule.cpp:293:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] APIModules/QTSSWebStatsModule/QTSSWebStatsModule.cpp:293:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] APIModules/QTSSWebStatsModule/QTSSWebStatsModule.cpp:293:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] APIModules/QTSSWebStatsModule/QTSSWebStatsModule.cpp:293:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] APIModules/QTSSWebStatsModule/QTSSWebStatsModule.cpp:293:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] APIModules/QTSSWebStatsModule/QTSSWebStatsModule.cpp:293:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] APIModules/QTSSWebStatsModule/QTSSWebStatsModule.cpp:293:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] APIModules/QTSSWebStatsModule/QTSSWebStatsModule.cpp:293:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] APIModules/QTSSWebStatsModule/QTSSWebStatsModule.cpp:295:30: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* kEmptyStr = "?"; ^~~ APIModules/QTSSWebStatsModule/QTSSWebStatsModule.cpp:311:22: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] char *theHTML = "\n"; ^~~~~~~~~~~~~~~~ APIModules/QTSSWebStatsModule/QTSSWebStatsModule.cpp:319:87: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sHelpLine1("

Streaming Server Statistics Help

\n"); ^ APIModules/QTSSWebStatsModule/QTSSWebStatsModule.cpp:324:56: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sHelpLine2("

Example:

\n"); ^ APIModules/QTSSWebStatsModule/QTSSWebStatsModule.cpp:325:130: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sHelpLine3("

http://server/statsURL?help&refresh=15&fields=curtime,cpuload

\n"); ^ APIModules/QTSSWebStatsModule/QTSSWebStatsModule.cpp:327:116: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sHelpLine4("\"?\" means that there are options being attached to the stats request.
\n"); ^ APIModules/QTSSWebStatsModule/QTSSWebStatsModule.cpp:328:93: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sHelpLine5("\"&\" separates multiple stats options
\n
\n"); ^ APIModules/QTSSWebStatsModule/QTSSWebStatsModule.cpp:330:91: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sHelpLine6("

The three possible parameters to stats are:

\n"); ^ APIModules/QTSSWebStatsModule/QTSSWebStatsModule.cpp:331:113: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sHelpLine7("

\"help\" -- shows the help information you're reading right now.

\n"); ^ APIModules/QTSSWebStatsModule/QTSSWebStatsModule.cpp:332:153: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sHelpLine8("

\"refresh=[n]\" -- tells the browser to automatically update the page every [n] seconds.

\n"); ^ APIModules/QTSSWebStatsModule/QTSSWebStatsModule.cpp:333:136: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sHelpLine9("

\"fields=[fieldList]\" -- show only the fields specified in [fieldList]

\n"); ^ APIModules/QTSSWebStatsModule/QTSSWebStatsModule.cpp:334:144: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sHelpLine10("
The following fields are available for use with the \"fields\" option:

\n"); ^ APIModules/QTSSWebStatsModule/QTSSWebStatsModule.cpp:355:95: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sHelpLine11("


"); ^ APIModules/QTSSWebStatsModule/QTSSWebStatsModule.cpp:398:95: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sStatsLine1("Streaming Server Stats
\n"); ^ APIModules/QTSSWebStatsModule/QTSSWebStatsModule.cpp:406:107: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sStatsLine2("

Streaming Server Statistics

\n"); ^ APIModules/QTSSWebStatsModule/QTSSWebStatsModule.cpp:638:72: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sRTSPPortsStart("RTSP Ports: "); ^ APIModules/QTSSWebStatsModule/QTSSWebStatsModule.cpp:654:56: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sRTSPPortsEnd("
\n"); ^ APIModules/QTSSWebStatsModule/QTSSWebStatsModule.cpp:691:84: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] thePrefStr = GetPrefAsString(sAccessLogPrefs, "request_logging"); ^ APIModules/QTSSWebStatsModule/QTSSWebStatsModule.cpp:702:88: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] thePrefStr = GetPrefAsString(sAccessLogPrefs, "request_logfile_dir"); ^ APIModules/QTSSWebStatsModule/QTSSWebStatsModule.cpp:713:89: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] thePrefStr = GetPrefAsString(sAccessLogPrefs, "request_logfile_name"); ^ APIModules/QTSSWebStatsModule/QTSSWebStatsModule.cpp:724:89: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] thePrefStr = GetPrefAsString(sAccessLogPrefs, "request_logfile_size"); ^ APIModules/QTSSWebStatsModule/QTSSWebStatsModule.cpp:735:93: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] thePrefStr = GetPrefAsString(sAccessLogPrefs, "request_logfile_interval"); ^ APIModules/QTSSWebStatsModule/QTSSWebStatsModule.cpp:830:84: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] thePrefStr = GetPrefAsString(sReflectorPrefs, "reflector_delay"); ^ APIModules/QTSSWebStatsModule/QTSSWebStatsModule.cpp:841:90: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] thePrefStr = GetPrefAsString(sReflectorPrefs, "reflector_bucket_size"); ^ APIModules/QTSSWebStatsModule/QTSSWebStatsModule.cpp:852:93: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] thePrefStr = GetPrefAsString(sSvrControlPrefs, "history_update_interval"); ^ APIModules/QTSSWebStatsModule/QTSSWebStatsModule.cpp:925:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] theHTML = "\n"; ^~~~~~~~~~~~~~~~~~ APIModules/QTSSWebStatsModule/QTSSWebStatsModule.cpp: In function 'char* GetPrefAsString(QTSS_ModulePrefsObject, char*)': APIModules/QTSSWebStatsModule/QTSSWebStatsModule.cpp:936:46: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sEmpty(""); ^ c++ -fPIC -c -o APIModules/QTSSPOSIXFileSysModule/QTSSPosixFileSysModule.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -DDSS_USE_API_CALLBACKS -g -Wall -Wno-format-y2k -include PlatformHeader.h -I. -IQTFileLib -IOSMemoryLib -IRTSPClientLib -IAPIModules -IAPICommonCode -IAPIModules/OSMemory_Modules -IAPIModules/QTSSAccessLogModule -IAPIModules/QTSSFileModule -IAPIModules/QTSSFlowControlModule -IAPIModules/QTSSReflectorModule -IAPIModules/QTSSSvrControlModule -IAPIModules/QTSSWebDebugModule -IAPIModules/QTSSWebStatsModule -IAPIModules/QTSSAuthorizeModule -IAPIModules/QTSSPOSIXFileSysModule -IAPIModules/QTSSAdminModule -IAPIModules/QTSSMP3StreamingModule -IAPIModules/QTSSRTPFileModule -IAPIModules/QTSSAccessModule -IAPIModules/QTSSHttpFileModule -IQTFileTools/RTPFileGen.tproj -IAPIStubLib -ICommonUtilitiesLib -IRTCPUtilitiesLib -IHTTPUtilitiesLib -IRTPMetaInfoLib -IPrefsSourceLib -IServer.tproj APIModules/QTSSPOSIXFileSysModule/QTSSPosixFileSysModule.cpp APIModules/QTSSPOSIXFileSysModule/QTSSPosixFileSysModule.cpp: In function 'QTSS_Error Register(QTSS_Register_Params*)': APIModules/QTSSPOSIXFileSysModule/QTSSPosixFileSysModule.cpp:98:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sOSFileSourceName = "QTSSPosixFileSysModuleOSFileSource"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ APIModules/QTSSPOSIXFileSysModule/QTSSPosixFileSysModule.cpp:102:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sEventContextName = "QTSSPosixFileSysModuleEventContext"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ APIModules/QTSSPOSIXFileSysModule/QTSSPosixFileSysModule.cpp:107:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sModuleName = "QTSSPosixFileSysModule"; ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from CommonUtilitiesLib/OSRef.h:46:0, from CommonUtilitiesLib/EventContext.h:42, from CommonUtilitiesLib/Socket.h:43, from APIModules/QTSSPOSIXFileSysModule/QTSSPosixFileSysModule.cpp:41: CommonUtilitiesLib/OSHashTable.h: In instantiation of 'OSHashTable::OSHashTable(UInt32) [with T = OSRef; K = OSRefKey; UInt32 = unsigned int]': CommonUtilitiesLib/OSRef.h:177:86: required from here CommonUtilitiesLib/OSHashTable.h:46:22: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] fHashTable = new ( T*[size] ); ^~~~~~~~~~~~~~~~ c++ -fPIC -c -o APIModules/QTSSAdminModule/AdminElementNode.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -DDSS_USE_API_CALLBACKS -g -Wall -Wno-format-y2k -include PlatformHeader.h -I. -IQTFileLib -IOSMemoryLib -IRTSPClientLib -IAPIModules -IAPICommonCode -IAPIModules/OSMemory_Modules -IAPIModules/QTSSAccessLogModule -IAPIModules/QTSSFileModule -IAPIModules/QTSSFlowControlModule -IAPIModules/QTSSReflectorModule -IAPIModules/QTSSSvrControlModule -IAPIModules/QTSSWebDebugModule -IAPIModules/QTSSWebStatsModule -IAPIModules/QTSSAuthorizeModule -IAPIModules/QTSSPOSIXFileSysModule -IAPIModules/QTSSAdminModule -IAPIModules/QTSSMP3StreamingModule -IAPIModules/QTSSRTPFileModule -IAPIModules/QTSSAccessModule -IAPIModules/QTSSHttpFileModule -IQTFileTools/RTPFileGen.tproj -IAPIStubLib -ICommonUtilitiesLib -IRTCPUtilitiesLib -IHTTPUtilitiesLib -IRTPMetaInfoLib -IPrefsSourceLib -IServer.tproj APIModules/QTSSAdminModule/AdminElementNode.cpp APIModules/QTSSAdminModule/AdminElementNode.cpp:55:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sParameterDelimeter = ";"; ^~~ APIModules/QTSSAdminModule/AdminElementNode.cpp:56:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sListDelimeter = ","; ^~~ APIModules/QTSSAdminModule/AdminElementNode.cpp:57:24: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sAccess = "a="; ^~~~ APIModules/QTSSAdminModule/AdminElementNode.cpp:58:22: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sType = "t="; ^~~~ APIModules/QTSSAdminModule/AdminElementNode.cpp:59:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sDoAllSPL("*"); ^ APIModules/QTSSAdminModule/AdminElementNode.cpp:60:44: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sDoAllIndexIteratorSPL(":"); ^ APIModules/QTSSAdminModule/AdminElementNode.cpp: In destructor 'virtual ElementNode::~ElementNode()': APIModules/QTSSAdminModule/AdminElementNode.cpp:278:108: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] delete (OSRef*) theRefPtr; ElementNode_RemovePtr(theRefPtr,"ElementNode::~ElementNode OSRef *"); ^ APIModules/QTSSAdminModule/AdminElementNode.cpp:288:99: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] delete fElementMap; ElementNode_RemovePtr(fElementMap,"ElementNode::~ElementNode fElementMap"); ^ APIModules/QTSSAdminModule/AdminElementNode.cpp:297:107: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] delete fFieldDataPtrs; ElementNode_RemovePtr(fFieldDataPtrs,"ElementNode::~ElementNode fFieldDataPtrs"); ^ APIModules/QTSSAdminModule/AdminElementNode.cpp:301:120: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] { delete fFieldOSRefPtrs[i]; ElementNode_RemovePtr(fFieldOSRefPtrs[i],"ElementNode::~ElementNode fFieldOSRefPtrs"); ^ APIModules/QTSSAdminModule/AdminElementNode.cpp:304:111: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] delete fFieldOSRefPtrs; ElementNode_RemovePtr(fFieldOSRefPtrs,"ElementNode::~ElementNode fFieldOSRefPtrs"); ^ APIModules/QTSSAdminModule/AdminElementNode.cpp:308:97: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] { delete fFieldIDs; ElementNode_RemovePtr(fFieldIDs,"ElementNode::~ElementNode fFieldIDs"); ^ APIModules/QTSSAdminModule/AdminElementNode.cpp: In member function 'QTSS_Error ElementNode::AllocateFields(UInt32)': APIModules/QTSSAdminModule/AdminElementNode.cpp:329:145: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] fFieldIDs = NEW ElementNode::ElementDataFields[numFields]; ElementNode_InsertPtr(fFieldIDs,"ElementNode::AllocateFields fFieldIDs array"); ^ APIModules/QTSSAdminModule/AdminElementNode.cpp:335:128: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] fElementMap = NEW OSRefTable(); ElementNode_InsertPtr(fElementMap,"ElementNode::AllocateFields fElementMap OSRefTable"); ^ APIModules/QTSSAdminModule/AdminElementNode.cpp:340:135: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] fFieldDataPtrs = NEW char*[numFields]; ElementNode_InsertPtr(fFieldDataPtrs,"ElementNode::AllocateFields fFieldDataPtrs array"); ^ APIModules/QTSSAdminModule/AdminElementNode.cpp:346:139: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] fFieldOSRefPtrs = NEW OSRef*[numFields]; ElementNode_InsertPtr(fFieldOSRefPtrs,"ElementNode::AllocateFields fFieldDataPtrs array"); ^ APIModules/QTSSAdminModule/AdminElementNode.cpp: In member function 'ElementNode* ElementNode::CreateArrayAttributeNode(UInt32, QTSS_Object, QTSS_Object, UInt32)': APIModules/QTSSAdminModule/AdminElementNode.cpp:438:129: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] ElementNode* nodePtr = NEW ElementNode(); ElementNode_InsertPtr(nodePtr,"ElementNode::CreateArrayAttributeNode ElementNode*"); ^ APIModules/QTSSAdminModule/AdminElementNode.cpp: In member function 'void ElementNode::SetNodeName(char*)': APIModules/QTSSAdminModule/AdminElementNode.cpp:592:106: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] { delete fNodeNameSPL.Ptr; ElementNode_RemovePtr(fNodeNameSPL.Ptr,"ElementNode::SetNodeName char* "); ^ APIModules/QTSSAdminModule/AdminElementNode.cpp:598:106: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] { delete fNodeNameSPL.Ptr; ElementNode_RemovePtr(fNodeNameSPL.Ptr,"ElementNode::SetNodeName char* "); ^ APIModules/QTSSAdminModule/AdminElementNode.cpp:603:127: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] fNodeNameSPL.Ptr = NEW char[len + 1]; ElementNode_InsertPtr(fNodeNameSPL.Ptr,"ElementNode::SetNodeName ElementNode* chars"); ^ APIModules/QTSSAdminModule/AdminElementNode.cpp: In member function 'void ElementNode::SetElementDataPtr(SInt32, char*, Bool16)': APIModules/QTSSAdminModule/AdminElementNode.cpp:639:165: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] { delete (ElementNode*) fFieldDataPtrs[index];ElementNode_RemovePtr(fFieldDataPtrs[index],"ElementNode::SetElementDataPtr ElementNode* fFieldDataPtrs"); ^ APIModules/QTSSAdminModule/AdminElementNode.cpp:642:144: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] { delete fFieldDataPtrs[index]; ElementNode_RemovePtr(fFieldDataPtrs[index],"ElementNode::SetElementDataPtr char* fFieldDataPtrs"); ^ APIModules/QTSSAdminModule/AdminElementNode.cpp: In member function 'virtual void ElementNode::SetUpSingleNode(QueryURI*, StrPtrLen*, StrPtrLen*, SInt32, QTSS_Initialize_Params*)': APIModules/QTSSAdminModule/AdminElementNode.cpp:718:134: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nodePtr = NEW ElementNode(); ElementNode_InsertPtr(nodePtr,"ElementNode::SetUpSingleNode ElementNode* NEW ElementNode() "); ^ APIModules/QTSSAdminModule/AdminElementNode.cpp: In member function 'char* ElementNode::NewIndexElement(QTSS_Object, QTSS_AttributeID, UInt32)': APIModules/QTSSAdminModule/AdminElementNode.cpp:869:161: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] { err = QTSS_GetValueAsString (inObject, inID, inIndex, &resultPtr); ElementNode_InsertPtr(resultPtr,"ElementNode::NewIndexElement QTSS_GetValueAsString "); ^ APIModules/QTSSAdminModule/AdminElementNode.cpp: In member function 'OSRef* ElementNode::GetOSRef(SInt32)': APIModules/QTSSAdminModule/AdminElementNode.cpp:930:184: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] fFieldOSRefPtrs[index] = NEW OSRef(); Assert(fFieldOSRefPtrs[index] != NULL); ElementNode_InsertPtr(fFieldOSRefPtrs[index],"ElementNode::GetOSRef NEW OSRef() fFieldOSRefPtrs "); ^ APIModules/QTSSAdminModule/AdminElementNode.cpp:933:54: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] fFieldOSRefPtrs[index]->Set(theName,(void *) index); ^~~~~ APIModules/QTSSAdminModule/AdminElementNode.cpp: In member function 'void ElementNode::RespondWithSelfAdd(QTSS_StreamRef, QueryURI*)': APIModules/QTSSAdminModule/AdminElementNode.cpp:989:28: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char *nullErr = "(null)"; ^~~~~~~~ APIModules/QTSSAdminModule/AdminElementNode.cpp:990:12: warning: variable 'nullData' set but not used [-Wunused-but-set-variable] Bool16 nullData = false; ^~~~~~~~ APIModules/QTSSAdminModule/AdminElementNode.cpp: In member function 'void ElementNode::RespondWithSelf(QTSS_StreamRef, QueryURI*)': APIModules/QTSSAdminModule/AdminElementNode.cpp:1144:28: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char *nullErr = "(null)"; ^~~~~~~~ APIModules/QTSSAdminModule/AdminElementNode.cpp: In member function 'void ElementNode::RespondToAdd(QTSS_StreamRef, SInt32, QueryURI*)': APIModules/QTSSAdminModule/AdminElementNode.cpp:1305:28: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char *nullErr = "(null)"; ^~~~~~~~ APIModules/QTSSAdminModule/AdminElementNode.cpp:1306:12: warning: variable 'nullData' set but not used [-Wunused-but-set-variable] Bool16 nullData = false; ^~~~~~~~ APIModules/QTSSAdminModule/AdminElementNode.cpp:1336:12: warning: variable 'accessFlags' set but not used [-Wunused-but-set-variable] UInt32 accessFlags = 0; ^~~~~~~~~~~ APIModules/QTSSAdminModule/AdminElementNode.cpp: In member function 'void ElementNode::RespondToSet(QTSS_StreamRef, SInt32, QueryURI*)': APIModules/QTSSAdminModule/AdminElementNode.cpp:1418:28: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char *nullErr = "(null)"; ^~~~~~~~ APIModules/QTSSAdminModule/AdminElementNode.cpp:1419:12: warning: variable 'nullData' set but not used [-Wunused-but-set-variable] Bool16 nullData = false; ^~~~~~~~ APIModules/QTSSAdminModule/AdminElementNode.cpp: In member function 'void ElementNode::RespondToDel(QTSS_StreamRef, SInt32, QueryURI*, Bool16)': APIModules/QTSSAdminModule/AdminElementNode.cpp:1517:28: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char *nullErr = "(null)"; ^~~~~~~~ APIModules/QTSSAdminModule/AdminElementNode.cpp:1518:12: warning: variable 'nullData' set but not used [-Wunused-but-set-variable] Bool16 nullData = false; ^~~~~~~~ APIModules/QTSSAdminModule/AdminElementNode.cpp: In member function 'void ElementNode::RespondToGet(QTSS_StreamRef, SInt32, QueryURI*)': APIModules/QTSSAdminModule/AdminElementNode.cpp:1619:28: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char *nullErr = "(null)"; ^~~~~~~~ APIModules/QTSSAdminModule/AdminElementNode.cpp: In member function 'void AdminClass::Initialize(QTSS_Initialize_Params*, QueryURI*)': APIModules/QTSSAdminModule/AdminElementNode.cpp:2235:126: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] fElementMap = NEW OSRefTable(); ElementNode_InsertPtr(fElementMap,"AdminClass::Initialize ElementNode* fElementMap "); ^ APIModules/QTSSAdminModule/AdminElementNode.cpp:2240:145: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] fFieldDataPtrs = NEW char*[numFields]; ElementNode_InsertPtr(fFieldDataPtrs,"AdminClass::Initialize ElementNode* fFieldDataPtrs array "); ^ APIModules/QTSSAdminModule/AdminElementNode.cpp:2246:149: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] fFieldOSRefPtrs = NEW OSRef *[numFields]; ElementNode_InsertPtr(fFieldOSRefPtrs,"AdminClass::Initialize ElementNode* fFieldOSRefPtrs array "); ^ APIModules/QTSSAdminModule/AdminElementNode.cpp: In member function 'virtual void AdminClass::SetUpSingleNode(QueryURI*, StrPtrLen*, StrPtrLen*, SInt32, QTSS_Initialize_Params*)': APIModules/QTSSAdminModule/AdminElementNode.cpp:2273:138: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] fNodePtr = NEW ElementNode(); ElementNode_InsertPtr(fNodePtr, "AdminClass::SetUpSingleNode ElementNode * NEW ElementNode()"); ^ APIModules/QTSSAdminModule/AdminElementNode.cpp: In destructor 'virtual AdminClass::~AdminClass()': APIModules/QTSSAdminModule/AdminElementNode.cpp:2290:114: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] delete (ElementNode*) fNodePtr;ElementNode_RemovePtr(fNodePtr,"AdminClass::~AdminClass ElementNode* fNodePtr"); ^ In file included from APIModules/QTSSAdminModule/AdminElementNode.cpp:48:0: CommonUtilitiesLib/OSHashTable.h: In instantiation of 'OSHashTable::OSHashTable(UInt32) [with T = OSRef; K = OSRefKey; UInt32 = unsigned int]': CommonUtilitiesLib/OSRef.h:177:86: required from here CommonUtilitiesLib/OSHashTable.h:46:22: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] fHashTable = new ( T*[size] ); ^~~~~~~~~~~~~~~~ In file included from CommonUtilitiesLib/OSArrayObjectDeleter.h:37:0, from APIModules/QTSSAdminModule/AdminElementNode.cpp:44: APIModules/QTSSAdminModule/AdminElementNode.h: In member function 'Bool16 ElementNode::IsNodeElement()': CommonUtilitiesLib/MyAssert.h:51:9: warning: nonnull argument 'this' compared to NULL [-Wnonnull-compare] if (!(condition)) \ ^ APIModules/QTSSAdminModule/AdminElementNode.h:146:51: note: in expansion of macro 'Assert' Bool16 IsNodeElement() { Assert(this); return (this->GetMyFieldType() == eNode || this->GetMyFieldType() == eArrayNode); } ^~~~~~ c++ -fPIC -c -o APIModules/QTSSAdminModule/AdminQuery.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -DDSS_USE_API_CALLBACKS -g -Wall -Wno-format-y2k -include PlatformHeader.h -I. -IQTFileLib -IOSMemoryLib -IRTSPClientLib -IAPIModules -IAPICommonCode -IAPIModules/OSMemory_Modules -IAPIModules/QTSSAccessLogModule -IAPIModules/QTSSFileModule -IAPIModules/QTSSFlowControlModule -IAPIModules/QTSSReflectorModule -IAPIModules/QTSSSvrControlModule -IAPIModules/QTSSWebDebugModule -IAPIModules/QTSSWebStatsModule -IAPIModules/QTSSAuthorizeModule -IAPIModules/QTSSPOSIXFileSysModule -IAPIModules/QTSSAdminModule -IAPIModules/QTSSMP3StreamingModule -IAPIModules/QTSSRTPFileModule -IAPIModules/QTSSAccessModule -IAPIModules/QTSSHttpFileModule -IQTFileTools/RTPFileGen.tproj -IAPIStubLib -ICommonUtilitiesLib -IRTCPUtilitiesLib -IHTTPUtilitiesLib -IRTPMetaInfoLib -IPrefsSourceLib -IServer.tproj APIModules/QTSSAdminModule/AdminQuery.cpp APIModules/QTSSAdminModule/AdminQuery.cpp:135:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] }; ^ APIModules/QTSSAdminModule/AdminQuery.cpp:135:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] APIModules/QTSSAdminModule/AdminQuery.cpp:135:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] APIModules/QTSSAdminModule/AdminQuery.cpp:135:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] APIModules/QTSSAdminModule/AdminQuery.cpp: In member function 'UInt32 QueryURI::CheckInvalidIterator(char*)': APIModules/QTSSAdminModule/AdminQuery.cpp:389:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char *message = "* iterator not valid"; ^~~~~~~~~~~~~~~~~~~~~~ APIModules/QTSSAdminModule/AdminQuery.cpp: In member function 'UInt32 QueryURI::CheckInvalidArrayIterator(char*)': APIModules/QTSSAdminModule/AdminQuery.cpp:405:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char *message = ": array iterator not valid"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ APIModules/QTSSAdminModule/AdminQuery.cpp: In member function 'UInt32 QueryURI::CheckInvalidRecurseParam(char*)': APIModules/QTSSAdminModule/AdminQuery.cpp:419:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char *message = "(r)ecurse parameter not valid"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ APIModules/QTSSAdminModule/AdminQuery.cpp: In member function 'UInt32 QueryURI::EvalQuery(UInt32*, char*)': APIModules/QTSSAdminModule/AdminQuery.cpp:470:44: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char *message = "reason=\"command parameter is missing\""; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ APIModules/QTSSAdminModule/AdminQuery.cpp:483:44: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char *message = "No value"; ^~~~~~~~~~ APIModules/QTSSAdminModule/AdminQuery.cpp:509:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char *message="No implementation"; ^~~~~~~~~~~~~~~~~~~ APIModules/QTSSAdminModule/AdminQuery.cpp:516:44: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char *message = "Attribute value not defined"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ APIModules/QTSSAdminModule/AdminQuery.cpp:557:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char *message="No implementation"; ^~~~~~~~~~~~~~~~~~~ APIModules/QTSSAdminModule/AdminQuery.cpp: In member function 'void QueryURI::URLParse(StrPtrLen*)': APIModules/QTSSAdminModule/AdminQuery.cpp:708:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sPost("POST"); ^ APIModules/QTSSAdminModule/AdminQuery.cpp:709:40: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sGet("GET"); ^ In file included from APIModules/QTSSAdminModule/AdminQuery.cpp:46:0: CommonUtilitiesLib/OSHashTable.h: In instantiation of 'OSHashTable::OSHashTable(UInt32) [with T = OSRef; K = OSRefKey; UInt32 = unsigned int]': CommonUtilitiesLib/OSRef.h:177:86: required from here CommonUtilitiesLib/OSHashTable.h:46:22: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] fHashTable = new ( T*[size] ); ^~~~~~~~~~~~~~~~ c++ -fPIC -c -o APIModules/QTSSAdminModule/QTSSAdminModule.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -DDSS_USE_API_CALLBACKS -g -Wall -Wno-format-y2k -include PlatformHeader.h -I. -IQTFileLib -IOSMemoryLib -IRTSPClientLib -IAPIModules -IAPICommonCode -IAPIModules/OSMemory_Modules -IAPIModules/QTSSAccessLogModule -IAPIModules/QTSSFileModule -IAPIModules/QTSSFlowControlModule -IAPIModules/QTSSReflectorModule -IAPIModules/QTSSSvrControlModule -IAPIModules/QTSSWebDebugModule -IAPIModules/QTSSWebStatsModule -IAPIModules/QTSSAuthorizeModule -IAPIModules/QTSSPOSIXFileSysModule -IAPIModules/QTSSAdminModule -IAPIModules/QTSSMP3StreamingModule -IAPIModules/QTSSRTPFileModule -IAPIModules/QTSSAccessModule -IAPIModules/QTSSHttpFileModule -IQTFileTools/RTPFileGen.tproj -IAPIStubLib -ICommonUtilitiesLib -IRTCPUtilitiesLib -IHTTPUtilitiesLib -IRTPMetaInfoLib -IPrefsSourceLib -IServer.tproj APIModules/QTSSAdminModule/QTSSAdminModule.cpp APIModules/QTSSAdminModule/QTSSAdminModule.cpp:80:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sResponseHeader = "HTTP/1.0 200 OK"; ^~~~~~~~~~~~~~~~~ APIModules/QTSSAdminModule/QTSSAdminModule.cpp:81:44: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sUnauthorizedResponseHeader = "HTTP/1.1 401 Unauthorized\r\nWWW-Authenticate: Basic realm=\"QTSS/modules/admin\"\r\nServer: QTSS\r\nConnection: Close\r\nContent-Type: text/plain\r\n\r\n"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ APIModules/QTSSAdminModule/QTSSAdminModule.cpp:82:40: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sPermissionDeniedHeader = "HTTP/1.1 403 Forbidden\r\nConnection: Close\r\nContent-Type: text/html\r\n\r\n"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ APIModules/QTSSAdminModule/QTSSAdminModule.cpp:83:27: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sHTMLBody = "\n

Your request was denied by the server.

\n\r\n\r\n"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ APIModules/QTSSAdminModule/QTSSAdminModule.cpp:87:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sConnectionHeader = "Connection: Close"; ^~~~~~~~~~~~~~~~~~~ APIModules/QTSSAdminModule/QTSSAdminModule.cpp:88:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* kDefaultHeader = "Server: QTSS"; ^~~~~~~~~~~~~~ APIModules/QTSSAdminModule/QTSSAdminModule.cpp:89:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sContentType = "Content-Type: text/plain"; ^~~~~~~~~~~~~~~~~~~~~~~~~~ APIModules/QTSSAdminModule/QTSSAdminModule.cpp:90:21: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sEOL = "\r\n"; ^~~~~~ APIModules/QTSSAdminModule/QTSSAdminModule.cpp:91:21: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sEOM = "\r\n\r\n"; ^~~~~~~~~~ APIModules/QTSSAdminModule/QTSSAdminModule.cpp:92:27: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sAuthRealm = "QTSS/modules/admin"; ^~~~~~~~~~~~~~~~~~~~ APIModules/QTSSAdminModule/QTSSAdminModule.cpp:93:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sAuthResourceLocalPath = "/modules/admin/"; ^~~~~~~~~~~~~~~~~ APIModules/QTSSAdminModule/QTSSAdminModule.cpp:103:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char *sDesc="Implements HTTP based Admin Protocol for accessing server attributes"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ APIModules/QTSSAdminModule/QTSSAdminModule.cpp:109:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sAuthRef("AuthRef"); ^ APIModules/QTSSAdminModule/QTSSAdminModule.cpp:136:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sLocalLoopBackAddress = "127.0.0.*"; ^~~~~~~~~~~ APIModules/QTSSAdminModule/QTSSAdminModule.cpp:139:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sDefaultAdministratorGroup = "admin"; ^~~~~~~ APIModules/QTSSAdminModule/QTSSAdminModule.cpp:143:41: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sFlushingName = "QTSSAdminModuleFlushingState"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ APIModules/QTSSAdminModule/QTSSAdminModule.cpp:147:46: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sAuthenticatedName = "QTSSAdminModuleAuthenticatedState"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ APIModules/QTSSAdminModule/QTSSAdminModule.cpp: In function 'QTSS_Error Register(QTSS_Register_Params*)': APIModules/QTSSAdminModule/QTSSAdminModule.cpp:384:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sModuleName = "QTSSAdminModule"; ^~~~~~~~~~~~~~~~~ APIModules/QTSSAdminModule/QTSSAdminModule.cpp: In function 'QTSS_Error RereadPrefs()': APIModules/QTSSAdminModule/QTSSAdminModule.cpp:394:108: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] sVersionHeader = QTSSModuleUtils::GetStringAttribute(sServer, "qtssSvrRTSPServerHeader", kDefaultHeader); ^ APIModules/QTSSAdminModule/QTSSAdminModule.cpp:397:108: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] sIPAccessList = QTSSModuleUtils::GetStringAttribute(sModulePrefs, "IPAccessList", sLocalLoopBackAddress); ^ APIModules/QTSSAdminModule/QTSSAdminModule.cpp:398:78: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] sIPAccessListID = QTSSModuleUtils::GetAttrID(sModulePrefs, "IPAccessList"); ^ APIModules/QTSSAdminModule/QTSSAdminModule.cpp:400:180: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] QTSSModuleUtils::GetAttribute(sModulePrefs, "Authenticate", qtssAttrDataTypeBool16, &sAuthenticationEnabled, &sDefaultAuthenticationEnabled, sizeof(sAuthenticationEnabled)); ^ APIModules/QTSSAdminModule/QTSSAdminModule.cpp:401:189: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] QTSSModuleUtils::GetAttribute(sModulePrefs, "LocalAccessOnly", qtssAttrDataTypeBool16, &sLocalLoopBackOnlyEnabled, &sDefaultLocalLoopBackOnlyEnabled, sizeof(sLocalLoopBackOnlyEnabled)); ^ APIModules/QTSSAdminModule/QTSSAdminModule.cpp:402:201: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] QTSSModuleUtils::GetAttribute(sModulePrefs, "RequestTimeIntervalMilli", qtssAttrDataTypeUInt32, &sRequestTimeIntervalMilli, &sDefaultRequestTimeIntervalMilli, sizeof(sRequestTimeIntervalMilli)); ^ APIModules/QTSSAdminModule/QTSSAdminModule.cpp:403:179: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] QTSSModuleUtils::GetAttribute(sModulePrefs, "enable_remote_admin", qtssAttrDataTypeBool16, &sEnableRemoteAdmin, &sDefaultEnableRemoteAdmin, sizeof(sDefaultEnableRemoteAdmin)); ^ APIModules/QTSSAdminModule/QTSSAdminModule.cpp:406:125: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] sAdministratorGroup = QTSSModuleUtils::GetStringAttribute(sModulePrefs, "AdministratorGroup", sDefaultAdministratorGroup); ^ APIModules/QTSSAdminModule/QTSSAdminModule.cpp: In function 'Bool16 IsAdminRequest(StringParser*)': APIModules/QTSSAdminModule/QTSSAdminModule.cpp:485:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if ( !strPtr.Equal(StrPtrLen("GET")) ) break; //it's a "Get" request ^ APIModules/QTSSAdminModule/QTSSAdminModule.cpp:491:66: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if ( strPtr.Len == 0 || !strPtr.Equal(StrPtrLen("modules") ) ) break; ^ APIModules/QTSSAdminModule/QTSSAdminModule.cpp:495:64: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if ( strPtr.Len == 0 || !strPtr.Equal(StrPtrLen("admin") ) ) break; ^ APIModules/QTSSAdminModule/QTSSAdminModule.cpp: In function 'Bool16 HasAuthentication(StringParser*, StrPtrLen*, StrPtrLen*, StrPtrLen*)': APIModules/QTSSAdminModule/QTSSAdminModule.cpp:592:73: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if ( strPtr.Len == 0 || !strPtr.Equal(StrPtrLen("Authorization:")) ) ^ APIModules/QTSSAdminModule/QTSSAdminModule.cpp:608:45: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (authType.Equal(StrPtrLen("Basic") ) ) ^ In file included from APIModules/QTSSAdminModule/QTSSAdminModule.cpp:45:0: CommonUtilitiesLib/OSHashTable.h: In instantiation of 'OSHashTable::OSHashTable(UInt32) [with T = OSRef; K = OSRefKey; UInt32 = unsigned int]': CommonUtilitiesLib/OSRef.h:177:86: required from here CommonUtilitiesLib/OSHashTable.h:46:22: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] fHashTable = new ( T*[size] ); ^~~~~~~~~~~~~~~~ c++ -fPIC -c -o APIModules/QTSSMP3StreamingModule/QTSSMP3StreamingModule.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -DDSS_USE_API_CALLBACKS -g -Wall -Wno-format-y2k -include PlatformHeader.h -I. -IQTFileLib -IOSMemoryLib -IRTSPClientLib -IAPIModules -IAPICommonCode -IAPIModules/OSMemory_Modules -IAPIModules/QTSSAccessLogModule -IAPIModules/QTSSFileModule -IAPIModules/QTSSFlowControlModule -IAPIModules/QTSSReflectorModule -IAPIModules/QTSSSvrControlModule -IAPIModules/QTSSWebDebugModule -IAPIModules/QTSSWebStatsModule -IAPIModules/QTSSAuthorizeModule -IAPIModules/QTSSPOSIXFileSysModule -IAPIModules/QTSSAdminModule -IAPIModules/QTSSMP3StreamingModule -IAPIModules/QTSSRTPFileModule -IAPIModules/QTSSAccessModule -IAPIModules/QTSSHttpFileModule -IQTFileTools/RTPFileGen.tproj -IAPIStubLib -ICommonUtilitiesLib -IRTCPUtilitiesLib -IHTTPUtilitiesLib -IRTPMetaInfoLib -IPrefsSourceLib -IServer.tproj APIModules/QTSSMP3StreamingModule/QTSSMP3StreamingModule.cpp APIModules/QTSSMP3StreamingModule/QTSSMP3StreamingModule.cpp:94:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sDefaultBroadcastPassword = " "; ^~~ APIModules/QTSSMP3StreamingModule/QTSSMP3StreamingModule.cpp:106:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sDefaultLogName = "mp3_access"; ^~~~~~~~~~~~ APIModules/QTSSMP3StreamingModule/QTSSMP3StreamingModule.cpp:121:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] "#Fields: c-ip c-user-agent [date time] cs-uri c-status c-bytes c-duration\n"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ APIModules/QTSSMP3StreamingModule/QTSSMP3StreamingModule.cpp: In member function 'virtual char* QTSSMP3AccessLog::GetLogName()': APIModules/QTSSMP3StreamingModule/QTSSMP3StreamingModule.cpp:182:132: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] virtual char* GetLogName() { return QTSSModuleUtils::GetStringAttribute(sPrefs, "mp3_request_logfile_name", sDefaultLogName); } ^ APIModules/QTSSMP3StreamingModule/QTSSMP3StreamingModule.cpp: In member function 'virtual char* QTSSMP3AccessLog::GetLogDir()': APIModules/QTSSMP3StreamingModule/QTSSMP3StreamingModule.cpp:183:130: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] virtual char* GetLogDir() { return QTSSModuleUtils::GetStringAttribute(sPrefs, "mp3_request_logfile_dir", sDefaultLogDir); } ^ APIModules/QTSSMP3StreamingModule/QTSSMP3StreamingModule.cpp: In constructor 'QTSSMP3AccessLog::QTSSMP3AccessLog()': APIModules/QTSSMP3StreamingModule/QTSSMP3StreamingModule.cpp:198:41: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] this->SetTaskName("QTSSMP3AccessLog"); ^ APIModules/QTSSMP3StreamingModule/QTSSMP3StreamingModule.cpp: In member function 'void MP3BroadcasterSession::InitBroadcastSessionState()': APIModules/QTSSMP3StreamingModule/QTSSMP3StreamingModule.cpp:330:22: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] SetMountpoint("/"); ^ APIModules/QTSSMP3StreamingModule/QTSSMP3StreamingModule.cpp: In member function 'QTSS_Error MP3BroadcasterQueue::RemoveBroadcaster(QTSS_RTSPSessionObject)': APIModules/QTSSMP3StreamingModule/QTSSMP3StreamingModule.cpp:1376:12: warning: variable 'uSessID' set but not used [-Wunused-but-set-variable] UInt32 uSessID = 0L; ^~~~~~~ APIModules/QTSSMP3StreamingModule/QTSSMP3StreamingModule.cpp: In member function 'QTSS_Error MP3ClientQueue::RemoveClient(QTSS_RTSPSessionObject)': APIModules/QTSSMP3StreamingModule/QTSSMP3StreamingModule.cpp:1622:12: warning: variable 'uSessID' set but not used [-Wunused-but-set-variable] UInt32 uSessID = 0L; ^~~~~~~ APIModules/QTSSMP3StreamingModule/QTSSMP3StreamingModule.cpp: In member function 'void MP3ClientQueue::PreflightClients(char*)': APIModules/QTSSMP3StreamingModule/QTSSMP3StreamingModule.cpp:1699:16: warning: variable 'theErr' set but not used [-Wunused-but-set-variable] QTSS_Error theErr = QTSS_NoErr; ^~~~~~ APIModules/QTSSMP3StreamingModule/QTSSMP3StreamingModule.cpp: In function 'QTSS_Error Register(QTSS_Register_Params*)': APIModules/QTSSMP3StreamingModule/QTSSMP3StreamingModule.cpp:1803:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sModuleName = "QTSSMP3StreamingModule"; ^~~~~~~~~~~~~~~~~~~~~~~~ APIModules/QTSSMP3StreamingModule/QTSSMP3StreamingModule.cpp: In function 'QTSS_Error RereadPrefs()': APIModules/QTSSMP3StreamingModule/QTSSMP3StreamingModule.cpp:1843:103: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] sLogName = QTSSModuleUtils::GetStringAttribute(sPrefs, "mp3_request_logfile_name", sDefaultLogName); ^ APIModules/QTSSMP3StreamingModule/QTSSMP3StreamingModule.cpp:1846:102: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] sLogDir = QTSSModuleUtils::GetStringAttribute(sPrefs, "mp3_request_logfile_dir", sDefaultLogDir); ^ APIModules/QTSSMP3StreamingModule/QTSSMP3StreamingModule.cpp:1849:94: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] &sMP3StreamingEnabled, &sDefaultMP3StreamingEnabled, sizeof(sMP3StreamingEnabled)); ^ APIModules/QTSSMP3StreamingModule/QTSSMP3StreamingModule.cpp:1852:121: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] sBroadcastPassword = QTSSModuleUtils::GetStringAttribute(sPrefs, "mp3_broadcast_password", sDefaultBroadcastPassword); ^ APIModules/QTSSMP3StreamingModule/QTSSMP3StreamingModule.cpp:1861:94: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] &sBroadcastBufferSize, &sDefaultBroadcastBufferSize, sizeof(sBroadcastBufferSize)); ^ APIModules/QTSSMP3StreamingModule/QTSSMP3StreamingModule.cpp:1864:110: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] &sMaxFlowControlTimeInMSec, &sDefaultFlowControlTimeInMSec, sizeof(sMaxFlowControlTimeInMSec)); ^ APIModules/QTSSMP3StreamingModule/QTSSMP3StreamingModule.cpp:1867:87: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] &sLogEnabled, &sDefaultLogEnabled, sizeof(sLogEnabled)); ^ APIModules/QTSSMP3StreamingModule/QTSSMP3StreamingModule.cpp:1870:90: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] &sMaxLogBytes, &sDefaultMaxLogBytes, sizeof(sMaxLogBytes)); ^ APIModules/QTSSMP3StreamingModule/QTSSMP3StreamingModule.cpp:1873:93: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] &sRollInterval, &sDefaultRollInterval, sizeof(sRollInterval)); ^ APIModules/QTSSMP3StreamingModule/QTSSMP3StreamingModule.cpp:1876:93: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] &sLogTimeInGMT, &sDefaultLogTimeInGMT, sizeof(sLogTimeInGMT)); ^ APIModules/QTSSMP3StreamingModule/QTSSMP3StreamingModule.cpp: In function 'Bool16 IsBroadcastPassword(StrPtrLen&)': APIModules/QTSSMP3StreamingModule/QTSSMP3StreamingModule.cpp:2110:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] return token.Equal(StrPtrLen("SOURCE")); ^ APIModules/QTSSMP3StreamingModule/QTSSMP3StreamingModule.cpp: In function 'Bool16 IsHTTP(StrPtrLen&)': APIModules/QTSSMP3StreamingModule/QTSSMP3StreamingModule.cpp:2179:40: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] return IsProtocol(theRequest, "HTTP"); ^ APIModules/QTSSMP3StreamingModule/QTSSMP3StreamingModule.cpp: In function 'Bool16 IsRTSP(StrPtrLen&)': APIModules/QTSSMP3StreamingModule/QTSSMP3StreamingModule.cpp:2184:40: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] return IsProtocol(theRequest, "RTSP"); ^ APIModules/QTSSMP3StreamingModule/QTSSMP3StreamingModule.cpp: In function 'Bool16 IsHTTPGet(StrPtrLen&)': APIModules/QTSSMP3StreamingModule/QTSSMP3StreamingModule.cpp:2195:46: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (token.EqualIgnoreCase(StrPtrLen("GET")) && IsHTTP(theRequest) ) ^ APIModules/QTSSMP3StreamingModule/QTSSMP3StreamingModule.cpp:2195:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (token.EqualIgnoreCase(StrPtrLen("GET")) && IsHTTP(theRequest) ) ^~ APIModules/QTSSMP3StreamingModule/QTSSMP3StreamingModule.cpp:2197:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return found; ^~~~~~ APIModules/QTSSMP3StreamingModule/QTSSMP3StreamingModule.cpp: In function 'void ParseMetaDataURL(char*)': APIModules/QTSSMP3StreamingModule/QTSSMP3StreamingModule.cpp:2238:58: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if ( !token.Equal(StrPtrLen("/admin.cgi?mode=updinfo")) ) ^ APIModules/QTSSMP3StreamingModule/QTSSMP3StreamingModule.cpp:2251:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if ( !token.Equal(StrPtrLen("pass")) ) ^ APIModules/QTSSMP3StreamingModule/QTSSMP3StreamingModule.cpp:2280:40: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if ( !token.Equal(StrPtrLen("mount")) ) ^ APIModules/QTSSMP3StreamingModule/QTSSMP3StreamingModule.cpp:2322:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if ( !token.Equal(StrPtrLen("song")) ) ^ APIModules/QTSSMP3StreamingModule/QTSSMP3StreamingModule.cpp: In function 'Bool16 CheckPassword(QTSS_Filter_Params*, StrPtrLen&, StrPtrLen&)': APIModules/QTSSMP3StreamingModule/QTSSMP3StreamingModule.cpp:2368:41: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if ( strPtr.Equal(StrPtrLen("SOURCE")) ) ^ APIModules/QTSSMP3StreamingModule/QTSSMP3StreamingModule.cpp:2380:70: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] SendBroadcastAuthErr(inParams, "ERROR - Bad Password\r\n"); //ice cast style error ^ APIModules/QTSSMP3StreamingModule/QTSSMP3StreamingModule.cpp:2404:66: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] SendBroadcastAuthErr(inParams, "invalid password\r\n"); // shoutcast style error ^ APIModules/QTSSMP3StreamingModule/QTSSMP3StreamingModule.cpp:2409:26: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] mountpoint.Ptr = "/"; ^~~ APIModules/QTSSMP3StreamingModule/QTSSMP3StreamingModule.cpp: In function 'Bool16 NeedsMetaData(StrPtrLen&)': APIModules/QTSSMP3StreamingModule/QTSSMP3StreamingModule.cpp:2447:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (header.EqualIgnoreCase("icy-metadata") && (StringParser(&value).ConsumeInteger() > 0) ) ^ APIModules/QTSSMP3StreamingModule/QTSSMP3StreamingModule.cpp: In function 'Bool16 ParseURL(StrPtrLen&, char*, UInt16)': APIModules/QTSSMP3StreamingModule/QTSSMP3StreamingModule.cpp:2508:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if ( !strPtr.Equal(StrPtrLen("GET")) ) ^ APIModules/QTSSMP3StreamingModule/QTSSMP3StreamingModule.cpp: In function 'QTSS_Error FilterRequest(QTSS_Filter_Params*)': APIModules/QTSSMP3StreamingModule/QTSSMP3StreamingModule.cpp:2740:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (IsRTSP(theFullRequest)) // don't process rtsp requests ^~ APIModules/QTSSMP3StreamingModule/QTSSMP3StreamingModule.cpp:2743:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!sMP3StreamingEnabled || sServerIdle) ^~ In file included from APIModules/QTSSMP3StreamingModule/QTSSMP3StreamingModule.h:41:0, from APIModules/QTSSMP3StreamingModule/QTSSMP3StreamingModule.cpp:40: CommonUtilitiesLib/OSHashTable.h: In instantiation of 'OSHashTable::OSHashTable(UInt32) [with T = MP3SessionRef; K = MP3SessionRefKey; UInt32 = unsigned int]': APIModules/QTSSMP3StreamingModule/QTSSMP3StreamingModule.cpp:1200:12: required from here CommonUtilitiesLib/OSHashTable.h:46:22: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] fHashTable = new ( T*[size] ); ^~~~~~~~~~~~~~~~ c++ -fPIC -c -o APIModules/QTSSRTPFileModule/QTSSRTPFileModule.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -DDSS_USE_API_CALLBACKS -g -Wall -Wno-format-y2k -include PlatformHeader.h -I. -IQTFileLib -IOSMemoryLib -IRTSPClientLib -IAPIModules -IAPICommonCode -IAPIModules/OSMemory_Modules -IAPIModules/QTSSAccessLogModule -IAPIModules/QTSSFileModule -IAPIModules/QTSSFlowControlModule -IAPIModules/QTSSReflectorModule -IAPIModules/QTSSSvrControlModule -IAPIModules/QTSSWebDebugModule -IAPIModules/QTSSWebStatsModule -IAPIModules/QTSSAuthorizeModule -IAPIModules/QTSSPOSIXFileSysModule -IAPIModules/QTSSAdminModule -IAPIModules/QTSSMP3StreamingModule -IAPIModules/QTSSRTPFileModule -IAPIModules/QTSSAccessModule -IAPIModules/QTSSHttpFileModule -IQTFileTools/RTPFileGen.tproj -IAPIStubLib -ICommonUtilitiesLib -IRTCPUtilitiesLib -IHTTPUtilitiesLib -IRTPMetaInfoLib -IPrefsSourceLib -IServer.tproj APIModules/QTSSRTPFileModule/QTSSRTPFileModule.cpp In file included from APIModules/QTSSRTPFileModule/QTSSRTPFileModule.cpp:41:0: CommonUtilitiesLib/StringFormatter.h: In member function 'void StringFormatter::PutFilePath(StrPtrLen*, StrPtrLen*)': CommonUtilitiesLib/StringFormatter.h:138:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Put(kPathDelimiterString); ^ APIModules/QTSSRTPFileModule/QTSSRTPFileModule.cpp: At global scope: APIModules/QTSSRTPFileModule/QTSSRTPFileModule.cpp:71:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sRTPSuffix(".rtp"); ^ APIModules/QTSSRTPFileModule/QTSSRTPFileModule.cpp:72:41: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sSDPHeader1("v=0\r\ns="); ^ APIModules/QTSSRTPFileModule/QTSSRTPFileModule.cpp:74:41: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sSDPHeader3("c=IN IP4 "); ^ APIModules/QTSSRTPFileModule/QTSSRTPFileModule.cpp:75:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sSDPHeader4("\r\na=control:/\r\n"); ^ APIModules/QTSSRTPFileModule/QTSSRTPFileModule.cpp:76:74: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static const StrPtrLen kCacheControlHeader("must-revalidate"); ^ APIModules/QTSSRTPFileModule/QTSSRTPFileModule.cpp: In function 'QTSS_Error Register(QTSS_Register_Params*)': APIModules/QTSSRTPFileModule/QTSSRTPFileModule.cpp:144:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sSeekToNonexistentTimeName = "QTSSFileModuleSeekToNonExistentTime"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ APIModules/QTSSRTPFileModule/QTSSRTPFileModule.cpp:145:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sBadQTFileName = "QTSSFileModuleBadQTFile"; ^~~~~~~~~~~~~~~~~~~~~~~~~ APIModules/QTSSRTPFileModule/QTSSRTPFileModule.cpp:146:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sExpectedDigitFilenameName = "QTSSFileModuleExpectedDigitFilename"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ APIModules/QTSSRTPFileModule/QTSSRTPFileModule.cpp:147:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sTrackDoesntExistName = "QTSSFileModuleTrackDoesntExist"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ APIModules/QTSSRTPFileModule/QTSSRTPFileModule.cpp:162:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sFileSessionName = "QTSSRTPFileModuleSession"; ^~~~~~~~~~~~~~~~~~~~~~~~~~ APIModules/QTSSRTPFileModule/QTSSRTPFileModule.cpp:168:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sModuleName = "QTSSRTPFileModule"; ^~~~~~~~~~~~~~~~~~~ APIModules/QTSSRTPFileModule/QTSSRTPFileModule.cpp: In function 'QTSS_Error Initialize(QTSS_Initialize_Params*)': APIModules/QTSSRTPFileModule/QTSSRTPFileModule.cpp:181:45: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen theFileModule("QTSSFileModule"); ^ APIModules/QTSSRTPFileModule/QTSSRTPFileModule.cpp:184:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sEHeader("\r\ne="); ^ APIModules/QTSSRTPFileModule/QTSSRTPFileModule.cpp:185:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sUHeader("\r\nu="); ^ APIModules/QTSSRTPFileModule/QTSSRTPFileModule.cpp:186:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sHTTP("http://"); ^ APIModules/QTSSRTPFileModule/QTSSRTPFileModule.cpp:187:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sAdmin("admin@"); ^ APIModules/QTSSRTPFileModule/QTSSRTPFileModule.cpp:201:85: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] sdpURL.Ptr = QTSSModuleUtils::GetStringAttribute(sFileModulePrefs, "sdp_url", ""); ^ APIModules/QTSSRTPFileModule/QTSSRTPFileModule.cpp:201:85: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] APIModules/QTSSRTPFileModule/QTSSRTPFileModule.cpp:204:93: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] adminEmail.Ptr = QTSSModuleUtils::GetStringAttribute(sFileModulePrefs, "admin_email", ""); ^ APIModules/QTSSRTPFileModule/QTSSRTPFileModule.cpp:204:93: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] APIModules/QTSSRTPFileModule/QTSSRTPFileModule.cpp: In function 'QTSS_Error RereadPrefs()': APIModules/QTSSRTPFileModule/QTSSRTPFileModule.cpp:261:129: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] &sFlowControlProbeInterval, &sDefaultFlowControlProbeInterval, sizeof(sFlowControlProbeInterval)); ^ APIModules/QTSSRTPFileModule/QTSSRTPFileModule.cpp:264:102: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] &sMaxAllowedSpeed, &sDefaultMaxAllowedSpeed, sizeof(sMaxAllowedSpeed)); ^ In file included from CommonUtilitiesLib/OSRef.h:46:0, from APIModules/QTSSRTPFileModule/RTPFileSession.h:39, from APIModules/QTSSRTPFileModule/QTSSRTPFileModule.cpp:37: CommonUtilitiesLib/OSHashTable.h: In instantiation of 'OSHashTable::OSHashTable(UInt32) [with T = OSRef; K = OSRefKey; UInt32 = unsigned int]': CommonUtilitiesLib/OSRef.h:177:86: required from here CommonUtilitiesLib/OSHashTable.h:46:22: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] fHashTable = new ( T*[size] ); ^~~~~~~~~~~~~~~~ c++ -fPIC -c -o APIModules/QTSSRTPFileModule/RTPFileSession.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -DDSS_USE_API_CALLBACKS -g -Wall -Wno-format-y2k -include PlatformHeader.h -I. -IQTFileLib -IOSMemoryLib -IRTSPClientLib -IAPIModules -IAPICommonCode -IAPIModules/OSMemory_Modules -IAPIModules/QTSSAccessLogModule -IAPIModules/QTSSFileModule -IAPIModules/QTSSFlowControlModule -IAPIModules/QTSSReflectorModule -IAPIModules/QTSSSvrControlModule -IAPIModules/QTSSWebDebugModule -IAPIModules/QTSSWebStatsModule -IAPIModules/QTSSAuthorizeModule -IAPIModules/QTSSPOSIXFileSysModule -IAPIModules/QTSSAdminModule -IAPIModules/QTSSMP3StreamingModule -IAPIModules/QTSSRTPFileModule -IAPIModules/QTSSAccessModule -IAPIModules/QTSSHttpFileModule -IQTFileTools/RTPFileGen.tproj -IAPIStubLib -ICommonUtilitiesLib -IRTCPUtilitiesLib -IHTTPUtilitiesLib -IRTPMetaInfoLib -IPrefsSourceLib -IServer.tproj APIModules/QTSSRTPFileModule/RTPFileSession.cpp In file included from CommonUtilitiesLib/OSRef.h:46:0, from APIModules/QTSSRTPFileModule/RTPFileSession.h:39, from APIModules/QTSSRTPFileModule/RTPFileSession.cpp:34: CommonUtilitiesLib/OSHashTable.h: In instantiation of 'OSHashTable::OSHashTable(UInt32) [with T = OSRef; K = OSRefKey; UInt32 = unsigned int]': CommonUtilitiesLib/OSRef.h:177:86: required from here CommonUtilitiesLib/OSHashTable.h:46:22: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] fHashTable = new ( T*[size] ); ^~~~~~~~~~~~~~~~ c++ -fPIC -c -o APIModules/QTSSAccessModule/QTSSAccessModule.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -DDSS_USE_API_CALLBACKS -g -Wall -Wno-format-y2k -include PlatformHeader.h -I. -IQTFileLib -IOSMemoryLib -IRTSPClientLib -IAPIModules -IAPICommonCode -IAPIModules/OSMemory_Modules -IAPIModules/QTSSAccessLogModule -IAPIModules/QTSSFileModule -IAPIModules/QTSSFlowControlModule -IAPIModules/QTSSReflectorModule -IAPIModules/QTSSSvrControlModule -IAPIModules/QTSSWebDebugModule -IAPIModules/QTSSWebStatsModule -IAPIModules/QTSSAuthorizeModule -IAPIModules/QTSSPOSIXFileSysModule -IAPIModules/QTSSAdminModule -IAPIModules/QTSSMP3StreamingModule -IAPIModules/QTSSRTPFileModule -IAPIModules/QTSSAccessModule -IAPIModules/QTSSHttpFileModule -IQTFileTools/RTPFileGen.tproj -IAPIStubLib -ICommonUtilitiesLib -IRTCPUtilitiesLib -IHTTPUtilitiesLib -IRTPMetaInfoLib -IPrefsSourceLib -IServer.tproj APIModules/QTSSAccessModule/QTSSAccessModule.cpp In file included from APIModules/QTSSAccessModule/QTSSAccessModule.cpp:44:0: CommonUtilitiesLib/StringFormatter.h: In member function 'void StringFormatter::PutFilePath(StrPtrLen*, StrPtrLen*)': CommonUtilitiesLib/StringFormatter.h:138:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Put(kPathDelimiterString); ^ APIModules/QTSSAccessModule/QTSSAccessModule.cpp: At global scope: APIModules/QTSSAccessModule/QTSSAccessModule.cpp:69:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sSDPSuffix(".sdp"); ^ APIModules/QTSSAccessModule/QTSSAccessModule.cpp:75:60: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sDefaultUsersFilePath = DEFAULTPATHS_ETC_DIR "qtusers"; ^~~~~~~~~ APIModules/QTSSAccessModule/QTSSAccessModule.cpp:78:60: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sDefaultGroupsFilePath = DEFAULTPATHS_ETC_DIR "qtgroups"; ^~~~~~~~~~ APIModules/QTSSAccessModule/QTSSAccessModule.cpp:81:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sDefaultAccessFileName = "qtaccess"; ^~~~~~~~~~ APIModules/QTSSAccessModule/QTSSAccessModule.cpp: In function 'QTSS_Error Register()': APIModules/QTSSAccessModule/QTSSAccessModule.cpp:162:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sBadAccessFileName = "QTSSAccessModuleBadAccessFileName"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ APIModules/QTSSAccessModule/QTSSAccessModule.cpp:163:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sUsersFileNotFound = "QTSSAccessModuleUsersFileNotFound"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ APIModules/QTSSAccessModule/QTSSAccessModule.cpp:164:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sGroupsFileNotFound = "QTSSAccessModuleGroupsFileNotFound"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ APIModules/QTSSAccessModule/QTSSAccessModule.cpp:165:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sBadUsersFile = "QTSSAccessModuleBadUsersFile"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ APIModules/QTSSAccessModule/QTSSAccessModule.cpp:166:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sBadGroupsFile = "QTSSAccessModuleBadGroupsFile"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ APIModules/QTSSAccessModule/QTSSAccessModule.cpp: In function 'char* GetCheckedFileName()': APIModules/QTSSAccessModule/QTSSAccessModule.cpp:239:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char *badChars = "/'\""; ^~~~~~ APIModules/QTSSAccessModule/QTSSAccessModule.cpp:242:110: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] result = QTSSModuleUtils::GetStringAttribute(sPrefs, MODPREFIX_"qtaccessfilename", sDefaultAccessFileName); ^ APIModules/QTSSAccessModule/QTSSAccessModule.cpp: In function 'QTSS_Error RereadPrefs()': APIModules/QTSSAccessModule/QTSSAccessModule.cpp:281:114: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] sUsersFilePath = QTSSModuleUtils::GetStringAttribute(sPrefs, MODPREFIX_"usersfilepath", sDefaultUsersFilePath); ^ APIModules/QTSSAccessModule/QTSSAccessModule.cpp:282:117: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] sGroupsFilePath = QTSSModuleUtils::GetStringAttribute(sPrefs, MODPREFIX_"groupsfilepath", sDefaultGroupsFilePath); ^ c++ -fPIC -c -o APIModules/QTSSHttpFileModule/QTSSHttpFileModule.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -DDSS_USE_API_CALLBACKS -g -Wall -Wno-format-y2k -include PlatformHeader.h -I. -IQTFileLib -IOSMemoryLib -IRTSPClientLib -IAPIModules -IAPICommonCode -IAPIModules/OSMemory_Modules -IAPIModules/QTSSAccessLogModule -IAPIModules/QTSSFileModule -IAPIModules/QTSSFlowControlModule -IAPIModules/QTSSReflectorModule -IAPIModules/QTSSSvrControlModule -IAPIModules/QTSSWebDebugModule -IAPIModules/QTSSWebStatsModule -IAPIModules/QTSSAuthorizeModule -IAPIModules/QTSSPOSIXFileSysModule -IAPIModules/QTSSAdminModule -IAPIModules/QTSSMP3StreamingModule -IAPIModules/QTSSRTPFileModule -IAPIModules/QTSSAccessModule -IAPIModules/QTSSHttpFileModule -IQTFileTools/RTPFileGen.tproj -IAPIStubLib -ICommonUtilitiesLib -IRTCPUtilitiesLib -IHTTPUtilitiesLib -IRTPMetaInfoLib -IPrefsSourceLib -IServer.tproj APIModules/QTSSHttpFileModule/QTSSHttpFileModule.cpp APIModules/QTSSHttpFileModule/QTSSHttpFileModule.cpp:516:73: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] qtss_sprintf(contentLength, "%"_64BITARG_"d", theFileLength); ^ In file included from CommonUtilitiesLib/ResizeableStringFormatter.h:39:0, from HTTPUtilitiesLib/HTTPRequest.h:31, from APIModules/QTSSHttpFileModule/QTSSHttpFileModule.cpp:58: CommonUtilitiesLib/StringFormatter.h: In member function 'void StringFormatter::PutFilePath(StrPtrLen*, StrPtrLen*)': CommonUtilitiesLib/StringFormatter.h:138:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Put(kPathDelimiterString); ^ APIModules/QTSSHttpFileModule/QTSSHttpFileModule.cpp: At global scope: APIModules/QTSSHttpFileModule/QTSSHttpFileModule.cpp:72:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sPathSeparator("/"); ^ APIModules/QTSSHttpFileModule/QTSSHttpFileModule.cpp:73:45: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sRTSPUrlPrefix("rtsp://"); ^ APIModules/QTSSHttpFileModule/QTSSHttpFileModule.cpp:74:52: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sRefMovieBufPrefix("rtsptext\r"); ^ APIModules/QTSSHttpFileModule/QTSSHttpFileModule.cpp:75:97: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sRespHeaderPrefix("HTTP/1.0 200 OK\r\nServer: QTSS/2.0\r\nConnection: Close"); ^ APIModules/QTSSHttpFileModule/QTSSHttpFileModule.cpp:76:67: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sContentLengthHeaderTag("\r\nContent-Length: "); ^ APIModules/QTSSHttpFileModule/QTSSHttpFileModule.cpp:77:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sContentTypeHeaderTag("\r\nContent-Type: "); ^ APIModules/QTSSHttpFileModule/QTSSHttpFileModule.cpp:78:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sConnectionKeepAliveTag("Keep-Alive"); ^ APIModules/QTSSHttpFileModule/QTSSHttpFileModule.cpp:79:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sQuickTimeMimeType("video/quicktime"); ^ APIModules/QTSSHttpFileModule/QTSSHttpFileModule.cpp:80:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sUnknownMimeType("application/unknown"); ^ APIModules/QTSSHttpFileModule/QTSSHttpFileModule.cpp:81:45: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sGifMimeType("image/gif"); ^ APIModules/QTSSHttpFileModule/QTSSHttpFileModule.cpp:82:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sSdpMimeType("application/sdp"); ^ APIModules/QTSSHttpFileModule/QTSSHttpFileModule.cpp:83:53: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sSmilMimeType("application/smil"); ^ APIModules/QTSSHttpFileModule/QTSSHttpFileModule.cpp:84:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sQTSuffix("qt"); ^ APIModules/QTSSHttpFileModule/QTSSHttpFileModule.cpp:85:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sMovSuffix("mov"); ^ APIModules/QTSSHttpFileModule/QTSSHttpFileModule.cpp:86:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sGifSuffix("gif"); ^ APIModules/QTSSHttpFileModule/QTSSHttpFileModule.cpp:87:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sSdpSuffix("sdp"); ^ APIModules/QTSSHttpFileModule/QTSSHttpFileModule.cpp:88:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sSmiSuffix("smi"); ^ APIModules/QTSSHttpFileModule/QTSSHttpFileModule.cpp:89:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sSmilSuffix("smil"); ^ APIModules/QTSSHttpFileModule/QTSSHttpFileModule.cpp:98:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sDefaultLogName = "StreamingServerHttp"; ^~~~~~~~~~~~~~~~~~~~~ APIModules/QTSSHttpFileModule/QTSSHttpFileModule.cpp:103:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sVoidField = "-"; ^~~ APIModules/QTSSHttpFileModule/QTSSHttpFileModule.cpp: In constructor 'QTSSHttpAccessLog::QTSSHttpAccessLog()': APIModules/QTSSHttpFileModule/QTSSHttpFileModule.cpp:132:87: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] QTSSHttpAccessLog() : QTSSRollingLog() { this->SetTaskName("QTSSHttpAccessLog"); } ^ APIModules/QTSSHttpFileModule/QTSSHttpFileModule.cpp: In member function 'virtual char* QTSSHttpAccessLog::GetLogName()': APIModules/QTSSHttpFileModule/QTSSHttpFileModule.cpp:135:125: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] virtual char* GetLogName() { return QTSSModuleUtils::GetStringAttribute(sPrefs, "http_logfile_name", sDefaultLogName);} ^ APIModules/QTSSHttpFileModule/QTSSHttpFileModule.cpp: In member function 'virtual char* QTSSHttpAccessLog::GetLogDir()': APIModules/QTSSHttpFileModule/QTSSHttpFileModule.cpp:136:123: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] virtual char* GetLogDir() { return QTSSModuleUtils::GetStringAttribute(sPrefs, "http_logfile_dir", sDefaultLogDir); } ^ APIModules/QTSSHttpFileModule/QTSSHttpFileModule.cpp: In function 'QTSS_Error Register(QTSS_Register_Params*)': APIModules/QTSSHttpFileModule/QTSSHttpFileModule.cpp:187:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sTransferTypeName = "QTSSHttpFileModuleTransferType"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ APIModules/QTSSHttpFileModule/QTSSHttpFileModule.cpp:188:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sEventContextName = "QTSSHttpFileModuleContext"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~ APIModules/QTSSHttpFileModule/QTSSHttpFileModule.cpp:189:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sFileName = "QTSSHttpFileModuleFile"; ^~~~~~~~~~~~~~~~~~~~~~~~ APIModules/QTSSHttpFileModule/QTSSHttpFileModule.cpp:190:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sStateName = "QTSSHttpFileModuleState"; ^~~~~~~~~~~~~~~~~~~~~~~~~ APIModules/QTSSHttpFileModule/QTSSHttpFileModule.cpp:191:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sFileBufferName = "QTSSHttpFileModuleFileBuffer"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ APIModules/QTSSHttpFileModule/QTSSHttpFileModule.cpp:192:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sFileBufferLenName = "QTSSHttpFileModuleFileBufferLen"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ APIModules/QTSSHttpFileModule/QTSSHttpFileModule.cpp:193:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sReadOffsetName = "QTSSHttpFileModuleReadOffset"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ APIModules/QTSSHttpFileModule/QTSSHttpFileModule.cpp:194:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sWriteOffsetName = "QTSSHttpFileModuleWriteOffset"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ APIModules/QTSSHttpFileModule/QTSSHttpFileModule.cpp:197:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sRequestName = "QTSSHttpFileModuleRequestName"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ APIModules/QTSSHttpFileModule/QTSSHttpFileModule.cpp:198:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sContentLengthName = "QTSSHttpFileModuleContentLengthName"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ APIModules/QTSSHttpFileModule/QTSSHttpFileModule.cpp:239:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sModuleName = "QTSSHttpFileModule"; ^~~~~~~~~~~~~~~~~~~~ APIModules/QTSSHttpFileModule/QTSSHttpFileModule.cpp: In function 'QTSS_Error RereadPrefs()': APIModules/QTSSHttpFileModule/QTSSHttpFileModule.cpp:271:114: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] &sHTTPFileXferEnabled, &sDefaultHTTPFileXferEnabled, sizeof(sHTTPFileXferEnabled)); ^ APIModules/QTSSHttpFileModule/QTSSHttpFileModule.cpp:273:87: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] &sLogEnabled, &sDefaultLogEnabled, sizeof(sLogEnabled)); ^ APIModules/QTSSHttpFileModule/QTSSHttpFileModule.cpp:275:90: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] &sMaxLogBytes, &sDefaultMaxLogBytes, sizeof(sMaxLogBytes)); ^ APIModules/QTSSHttpFileModule/QTSSHttpFileModule.cpp:277:93: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] &sRollInterval, &sDefaultRollInterval, sizeof(sRollInterval)); ^ APIModules/QTSSHttpFileModule/QTSSHttpFileModule.cpp: In function 'QTSS_Error FilterRequest(QTSS_Filter_Params*)': APIModules/QTSSHttpFileModule/QTSSHttpFileModule.cpp:357:103: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] OSCharArrayDeleter httpFolderDtr(QTSSModuleUtils::GetStringAttribute(sPrefs, "http_folder", "")); ^ APIModules/QTSSHttpFileModule/QTSSHttpFileModule.cpp:357:103: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] APIModules/QTSSHttpFileModule/QTSSHttpFileModule.cpp: In function 'void LogRequest(QTSS_RTSPSessionObject)': APIModules/QTSSHttpFileModule/QTSSHttpFileModule.cpp:1190:28: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sStatus = "200"; ^~~~~ c++ -fPIC -c -o APIModules/QTSSAccessModule/AccessChecker.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -DDSS_USE_API_CALLBACKS -g -Wall -Wno-format-y2k -include PlatformHeader.h -I. -IQTFileLib -IOSMemoryLib -IRTSPClientLib -IAPIModules -IAPICommonCode -IAPIModules/OSMemory_Modules -IAPIModules/QTSSAccessLogModule -IAPIModules/QTSSFileModule -IAPIModules/QTSSFlowControlModule -IAPIModules/QTSSReflectorModule -IAPIModules/QTSSSvrControlModule -IAPIModules/QTSSWebDebugModule -IAPIModules/QTSSWebStatsModule -IAPIModules/QTSSAuthorizeModule -IAPIModules/QTSSPOSIXFileSysModule -IAPIModules/QTSSAdminModule -IAPIModules/QTSSMP3StreamingModule -IAPIModules/QTSSRTPFileModule -IAPIModules/QTSSAccessModule -IAPIModules/QTSSHttpFileModule -IQTFileTools/RTPFileGen.tproj -IAPIStubLib -ICommonUtilitiesLib -IRTCPUtilitiesLib -IHTTPUtilitiesLib -IRTPMetaInfoLib -IPrefsSourceLib -IServer.tproj APIModules/QTSSAccessModule/AccessChecker.cpp APIModules/QTSSAccessModule/AccessChecker.cpp:54:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sAuthWord("realm", 5); ^ APIModules/QTSSAccessModule/AccessChecker.cpp: In member function 'UInt32 AccessChecker::UpdateUserProfiles()': APIModules/QTSSAccessModule/AccessChecker.cpp:220:10: warning: this 'if' clause does not guard... [-Wmisleading-indentation] else if(groupData.Len != 0) ^~ APIModules/QTSSAccessModule/AccessChecker.cpp:223:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(userFileErrors) ^~ c++ -o DarwinStreamingServer CommonUtilitiesLib/daemon.o Server.tproj/QTSSExpirationDate.o Server.tproj/QTSSCallbacks.o Server.tproj/QTSSDictionary.o Server.tproj/QTSSDataConverter.o Server.tproj/QTSSErrorLogModule.o Server.tproj/QTSSMessages.o Server.tproj/QTSSModule.o Server.tproj/QTSServerPrefs.o Server.tproj/QTSSSocket.o Server.tproj/QTSSFile.o Server.tproj/QTSSPrefs.o Server.tproj/QTSServer.o Server.tproj/QTSServerInterface.o Server.tproj/RTCPTask.o Server.tproj/RTPSession.o Server.tproj/RTPPacketResender.o Server.tproj/RTPBandwidthTracker.o Server.tproj/RTPOverbufferWindow.o Server.tproj/RTPSessionInterface.o Server.tproj/RTPStream.o Server.tproj/RTSPProtocol.o Server.tproj/RTSPRequest.o Server.tproj/RTSPRequestInterface.o Server.tproj/RTSPRequestStream.o Server.tproj/RTSPResponseStream.o Server.tproj/RTSPSession.o Server.tproj/RTSPSessionInterface.o Server.tproj/main.o Server.tproj/RunServer.o Server.tproj/GenerateXMLPrefs.o Server.tproj/QTSSUserProfile.o PrefsSourceLib/FilePrefsSource.o PrefsSourceLib/XMLPrefsParser.o PrefsSourceLib/XMLParser.o OSMemoryLib/OSMemory.o RTSPClientLib/RTSPClient.o RTSPClientLib/ClientSocket.o HTTPUtilitiesLib/HTTPProtocol.o HTTPUtilitiesLib/HTTPRequest.o RTCPUtilitiesLib/RTCPAPPPacket.o RTCPUtilitiesLib/RTCPPacket.o RTCPUtilitiesLib/RTCPSRPacket.o RTCPUtilitiesLib/RTCPAckPacket.o RTPMetaInfoLib/RTPMetaInfoPacket.o APIStubLib/QTSS_Private.o APICommonCode/QTSSModuleUtils.o APICommonCode/QTSSRollingLog.o APICommonCode/SDPSourceInfo.o APICommonCode/SourceInfo.o APICommonCode/QTAccessFile.o SafeStdLib/InternalStdLib.o APIModules/QTSSAccessLogModule/QTSSAccessLogModule.o APIModules/QTSSFileModule/QTSSFileModule.o APIModules/QTSSFlowControlModule/QTSSFlowControlModule.o APIModules/QTSSReflectorModule/QTSSReflectorModule.o APIModules/QTSSReflectorModule/QTSSRelayModule.o APIModules/QTSSReflectorModule/ReflectorSession.o APIModules/QTSSReflectorModule/RelaySession.o APIModules/QTSSReflectorModule/ReflectorStream.o APIModules/QTSSReflectorModule/RCFSourceInfo.o APIModules/QTSSReflectorModule/RTSPSourceInfo.o APIModules/QTSSReflectorModule/RelayOutput.o APIModules/QTSSReflectorModule/RelaySDPSourceInfo.o APIModules/QTSSReflectorModule/RTPSessionOutput.o APIModules/QTSSReflectorModule/SequenceNumberMap.o APIModules/QTSSWebDebugModule/QTSSWebDebugModule.o APIModules/QTSSWebStatsModule/QTSSWebStatsModule.o APIModules/QTSSPOSIXFileSysModule/QTSSPosixFileSysModule.o APIModules/QTSSAdminModule/AdminElementNode.o APIModules/QTSSAdminModule/AdminQuery.o APIModules/QTSSAdminModule/QTSSAdminModule.o APIModules/QTSSMP3StreamingModule/QTSSMP3StreamingModule.o APIModules/QTSSRTPFileModule/QTSSRTPFileModule.o APIModules/QTSSRTPFileModule/RTPFileSession.o APIModules/QTSSAccessModule/QTSSAccessModule.o APIModules/QTSSHttpFileModule/QTSSHttpFileModule.o APIModules/QTSSAccessModule/AccessChecker.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -LCommonUtilitiesLib -LQTFileLib -pthread -lm -lcrypt -lCommonUtilitiesLib -lQTFileLib c++ -fPIC -c -o ../OSMemory_Modules/OSMemory_Modules.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../../PlatformHeader.h -g -Wall -I. -I../../APICommonCode -I../OSMemory_Modules -I../../APIStubLib -I../../CommonUtilitiesLib -I../../QTFileLib -I../../RTPMetaInfoLib ../OSMemory_Modules/OSMemory_Modules.cpp c++ -fPIC -c -o QTSSRefMovieModule.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../../PlatformHeader.h -g -Wall -I. -I../../APICommonCode -I../OSMemory_Modules -I../../APIStubLib -I../../CommonUtilitiesLib -I../../QTFileLib -I../../RTPMetaInfoLib QTSSRefMovieModule.cpp QTSSRefMovieModule.cpp:60:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] "Connection: Close\r\nContent-Type: video/quicktime\r\n"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ QTSSRefMovieModule.cpp: In function 'QTSS_Error Register(QTSS_Register_Params*)': QTSSRefMovieModule.cpp:122:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sModuleName = "QTSSRefMovieModule"; ^~~~~~~~~~~~~~~~~~~~ QTSSRefMovieModule.cpp: In function 'QTSS_Error RereadPrefs()': QTSSRefMovieModule.cpp:154:114: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] &sRefMovieXferEnabled, &sDefaultRefMovieXferEnabled, sizeof(sRefMovieXferEnabled)); ^ QTSSRefMovieModule.cpp:156:96: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] &sRTSPReplyPort, &sDefaultRTSPReplyPort, sizeof(sRTSPReplyPort)); ^ QTSSRefMovieModule.cpp: In function 'Bool16 IsHTTPGet(StrPtrLen&)': QTSSRefMovieModule.cpp:293:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] return token.EqualIgnoreCase(StrPtrLen("GET")); ^ QTSSRefMovieModule.cpp: In function 'Bool16 IsAdminURL(StrPtrLen&)': QTSSRefMovieModule.cpp:311:61: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] return token.EqualIgnoreCase(StrPtrLen("/modules/admin/")); ^ QTSSRefMovieModule.cpp: In function 'Bool16 IsHomeDirURL(StrPtrLen&)': QTSSRefMovieModule.cpp:319:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] return token.EqualIgnoreCase(StrPtrLen("/~")); ^ QTSSRefMovieModule.cpp: In function 'Bool16 ParseURL(StrPtrLen&, char*, UInt16)': QTSSRefMovieModule.cpp:331:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if ( !strPtr.Equal(StrPtrLen("GET")) ) ^ c++ -o QTSSRefMovieModule ../OSMemory_Modules/OSMemory_Modules.o ../../APIStubLib/QTSS_Private.o ../../APICommonCode/QTSSModuleUtils.o ../../APICommonCode/SDPSourceInfo.o ../../APICommonCode/SourceInfo.o ../../RTPMetaInfoLib/RTPMetaInfoPacket.o QTSSRefMovieModule.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -L../../CommonUtilitiesLib -pthread -lm -lcrypt -shared ../../CommonUtilitiesLib/libCommonUtilitiesLib.a ../../QTFileLib/libQTFileLib.a c++ -fPIC -c -o AccessCheck.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../../PlatformHeader.h -g -Wall -I. -I../../ -I../../APICommonCode -I../OSMemory_Modules -I../../APIStubLib -I../../CommonUtilitiesLib -I../../RTPMetaInfoLib AccessCheck.cpp c++ -fPIC -c -o QTSSDemoModule.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../../PlatformHeader.h -g -Wall -I. -I../../ -I../../APICommonCode -I../OSMemory_Modules -I../../APIStubLib -I../../CommonUtilitiesLib -I../../RTPMetaInfoLib QTSSDemoModule.cpp QTSSDemoModule.cpp:49:100: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sRedirect("RTSP/1.0 302 Found\r\nServer: QTSS/2.0\r\nCSeq: 2\r\nLocation: rtsp://"); ^ QTSSDemoModule.cpp:50:62: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sRedirectEnd("/error/errormovie.mov\r\n\r\n"); ^ c++ -o QTSSDemoAuthorizationModule ../OSMemory_Modules/OSMemory_Modules.o ../../APIStubLib/QTSS_Private.o ../../APICommonCode/QTSSModuleUtils.o ../../APICommonCode/QTSSRollingLog.o ../../APICommonCode/SDPSourceInfo.o ../../APICommonCode/SourceInfo.o ../../RTPMetaInfoLib/RTPMetaInfoPacket.o AccessCheck.o QTSSDemoModule.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -L../../CommonUtilitiesLib -L../../QTFileLib/ -pthread -lm -lcrypt -shared ../../CommonUtilitiesLib/libCommonUtilitiesLib.a c++ -fPIC -c -o QTSSRawFileModule.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../../PlatformHeader.h -g -Wall -I. -I../../APICommonCode -I../OSMemory_Modules -I../../APIStubLib -I../../CommonUtilitiesLib -I../../RTPMetaInfoLib QTSSRawFileModule.cpp QTSSRawFileModule.cpp:57:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sRawSuffix(".raw"); ^ QTSSRawFileModule.cpp: In function 'QTSS_Error Register(QTSS_Register_Params*)': QTSSRawFileModule.cpp:92:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sStateName = "QTSSRawFileModuleState"; ^~~~~~~~~~~~~~~~~~~~~~~~ QTSSRawFileModule.cpp:93:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sFileName = "QTSSRawFileModuleFile"; ^~~~~~~~~~~~~~~~~~~~~~~ QTSSRawFileModule.cpp:94:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sFileBufferName = "QTSSRawFileModuleFileBuffer"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ QTSSRawFileModule.cpp:95:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sReadOffsetName = "QTSSRawFileModuleReadOffset"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ QTSSRawFileModule.cpp:96:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sWriteOffsetName = "QTSSRawFileModuleWriteOffset"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ QTSSRawFileModule.cpp:114:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sModuleName = "QTSSRawFileModule"; ^~~~~~~~~~~~~~~~~~~ c++ -o QTSSRawFileModule ../OSMemory_Modules/OSMemory_Modules.o ../../APIStubLib/QTSS_Private.o ../../APICommonCode/QTSSModuleUtils.o ../../APICommonCode/QTSSRollingLog.o ../../APICommonCode/SDPSourceInfo.o ../../APICommonCode/SourceInfo.o ../../RTPMetaInfoLib/RTPMetaInfoPacket.o ../../SafeStdLib/InternalStdLib.o QTSSRawFileModule.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -L../../CommonUtilitiesLib -pthread -lm -lcrypt -shared ../../CommonUtilitiesLib/libCommonUtilitiesLib.a ../../QTFileLib/libQTFileLib.a c++ -fPIC -c -o QTSSSpamDefenseModule.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../../PlatformHeader.h -g -Wall -I. -I../../APICommonCode -I../OSMemory_Modules -I../../APIStubLib -I../../CommonUtilitiesLib -I../../RTPMetaInfoLib QTSSSpamDefenseModule.cpp QTSSSpamDefenseModule.cpp: In function 'QTSS_Error Register(QTSS_Register_Params*)': QTSSSpamDefenseModule.cpp:148:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sIsFirstRequestName = "QTSSSpamDefenseModuleIsFirstRequest"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ QTSSSpamDefenseModule.cpp:151:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sTooManyConnectionsName = "QTSSSpamDefenseModuleTooManyConnections"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ QTSSSpamDefenseModule.cpp:167:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sModuleName = "QTSSSpamDefenseModule"; ^~~~~~~~~~~~~~~~~~~~~~~ QTSSSpamDefenseModule.cpp: In function 'QTSS_Error RereadPrefs()': QTSSSpamDefenseModule.cpp:187:96: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] &sNumConnsPerIP, &sDefaultNumConnsPerIP, sizeof(sNumConnsPerIP)); ^ In file included from QTSSSpamDefenseModule.cpp:35:0: ../../CommonUtilitiesLib/OSHashTable.h: In instantiation of 'OSHashTable::OSHashTable(UInt32) [with T = IPAddrTableElem; K = IPAddrTableKey; UInt32 = unsigned int]': QTSSSpamDefenseModule.cpp:179:41: required from here ../../CommonUtilitiesLib/OSHashTable.h:46:22: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] fHashTable = new ( T*[size] ); ^~~~~~~~~~~~~~~~ c++ -o QTSSSpamDefenseModule ../OSMemory_Modules/OSMemory_Modules.o ../../APIStubLib/QTSS_Private.o ../../APICommonCode/QTSSModuleUtils.o ../../APICommonCode/QTSSRollingLog.o ../../APICommonCode/SDPSourceInfo.o ../../APICommonCode/SourceInfo.o ../../RTPMetaInfoLib/RTPMetaInfoPacket.o QTSSSpamDefenseModule.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -L../../CommonUtilitiesLib -pthread -lm -lcrypt -shared ../../CommonUtilitiesLib/libCommonUtilitiesLib.a c++ -fPIC -c -o DirectoryInfo.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../../PlatformHeader.h -g -Wall -I. -I../../APICommonCode -I../OSMemory_Modules -I../../APIStubLib -I../../CommonUtilitiesLib -I../../RTPMetaInfoLib -I../../SafeStdLib DirectoryInfo.cpp In file included from ../../CommonUtilitiesLib/OSRef.h:46:0, from DirectoryInfo.h:37, from DirectoryInfo.cpp:33: ../../CommonUtilitiesLib/OSHashTable.h: In instantiation of 'OSHashTable::OSHashTable(UInt32) [with T = OSRef; K = OSRefKey; UInt32 = unsigned int]': ../../CommonUtilitiesLib/OSRef.h:177:86: required from here ../../CommonUtilitiesLib/OSHashTable.h:46:22: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] fHashTable = new ( T*[size] ); ^~~~~~~~~~~~~~~~ c++ -fPIC -c -o QTSSHomeDirectoryModule.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../../PlatformHeader.h -g -Wall -I. -I../../APICommonCode -I../OSMemory_Modules -I../../APIStubLib -I../../CommonUtilitiesLib -I../../RTPMetaInfoLib -I../../SafeStdLib QTSSHomeDirectoryModule.cpp In file included from ../../CommonUtilitiesLib/ResizeableStringFormatter.h:39:0, from QTSSHomeDirectoryModule.cpp:41: ../../CommonUtilitiesLib/StringFormatter.h: In member function 'void StringFormatter::PutFilePath(StrPtrLen*, StrPtrLen*)': ../../CommonUtilitiesLib/StringFormatter.h:138:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Put(kPathDelimiterString); ^ QTSSHomeDirectoryModule.cpp: At global scope: QTSSHomeDirectoryModule.cpp:57:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sIsFirstRequestName = "QTSSHomeDirectoryModuleIsFirstRequest"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ QTSSHomeDirectoryModule.cpp:59:46: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sRequestHomeDirAttrName = "QTSSHomeDirectoryModuleHomeDir"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ QTSSHomeDirectoryModule.cpp:61:46: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sSessionHomeDirAttrName = "QTSSHomeDirectoryModuleHomeDir"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ QTSSHomeDirectoryModule.cpp:65:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sDescription = "Provides support for streaming from users' home directories"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ QTSSHomeDirectoryModule.cpp:72:45: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* kDefaultMoviesDirectory = "/Sites/Streaming/"; ^~~~~~~~~~~~~~~~~~~ QTSSHomeDirectoryModule.cpp: In function 'QTSS_Error Register(QTSS_Register_Params*)': QTSSHomeDirectoryModule.cpp:160:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sModuleName = "QTSSHomeDirectoryModule"; ^~~~~~~~~~~~~~~~~~~~~~~~~ QTSSHomeDirectoryModule.cpp: In function 'QTSS_Error RereadPrefs()': QTSSHomeDirectoryModule.cpp:194:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] &sEnabled, &kDefaultEnabled, sizeof(sEnabled)); ^ QTSSHomeDirectoryModule.cpp:196:111: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] sMoviesDirectory = QTSSModuleUtils::GetStringAttribute(sPrefs, "movies_directory", kDefaultMoviesDirectory); ^ QTSSHomeDirectoryModule.cpp:198:96: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] &sMaxNumConnsPerHomeDir, &kDefaultMaxNumConnsPerHomeDir, sizeof(sMaxNumConnsPerHomeDir)); ^ QTSSHomeDirectoryModule.cpp:200:96: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] &sMaxBWInKbpsPerHomeDir, &kDefaultMaxBWInKbpsPerHomeDir, sizeof(sMaxBWInKbpsPerHomeDir)); ^ QTSSHomeDirectoryModule.cpp: In function 'QTSS_Error AuthorizeRequest(QTSS_StandardRTSP_Params*)': QTSSHomeDirectoryModule.cpp:313:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (isFirstRequest != NULL) ^~ QTSSHomeDirectoryModule.cpp:316:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' OSRef *theDirectoryInfoRef = NULL; ^~~~~ In file included from ../../CommonUtilitiesLib/OSRef.h:46:0, from DirectoryInfo.h:37, from QTSSHomeDirectoryModule.cpp:44: ../../CommonUtilitiesLib/OSHashTable.h: In instantiation of 'OSHashTable::OSHashTable(UInt32) [with T = OSRef; K = OSRefKey; UInt32 = unsigned int]': ../../CommonUtilitiesLib/OSRef.h:177:86: required from here ../../CommonUtilitiesLib/OSHashTable.h:46:22: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] fHashTable = new ( T*[size] ); ^~~~~~~~~~~~~~~~ c++ -o QTSSHomeDirectoryModule ../OSMemory_Modules/OSMemory_Modules.o ../../APIStubLib/QTSS_Private.o ../../APICommonCode/QTSSModuleUtils.o ../../APICommonCode/QTSSRollingLog.o ../../APICommonCode/SDPSourceInfo.o ../../APICommonCode/SourceInfo.o ../../RTPMetaInfoLib/RTPMetaInfoPacket.o ../../SafeStdLib/InternalStdLib.o DirectoryInfo.o QTSSHomeDirectoryModule.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -L../../CommonUtilitiesLib -pthread -lm -lcrypt -shared ../../CommonUtilitiesLib/libCommonUtilitiesLib.a gcc -c -o get_opt.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../PlatformHeader.h -g -Wall -I. -I.. get_opt.c gcc -c -o proxy.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../PlatformHeader.h -g -Wall -I. -I.. proxy.c proxy.c: In function 'has_two_crlfs': proxy.c:809:14: warning: variable 'p' set but not used [-Wunused-but-set-variable] char *p; ^ proxy.c: In function 'is_command': proxy.c:865:62: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=] printf("%x\ncommand str=%s\ncommand count with term=%d\n",*cmd, firstCmdChar, (cmd - firstCmdChar) + 1); ~^ ~~~~~~~~~~~~~~~~~~~~~~~~ %ld proxy.c:880:60: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=] printf("%x\nserver str=%s\nserver count with term=%d\n",*server, firstServerChar, (server - firstServerChar) + 1); ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %ld proxy.c: In function 'service_session': proxy.c:1067:18: warning: variable 'startBuff' set but not used [-Wunused-but-set-variable] char *startBuff; ^~~~~~~~~ gcc -c -o util.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../PlatformHeader.h -g -Wall -I. -I.. util.c gcc -c -o shared_udp.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../PlatformHeader.h -g -Wall -I. -I.. shared_udp.c shared_udp.c: In function 'transfer_data': shared_udp.c:426:21: warning: variable 'isRTCP' set but not used [-Wunused-but-set-variable] int isRTCP = 0; ^~~~~~ gcc -c -o proxy_unix.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../PlatformHeader.h -g -Wall -I. -I.. proxy_unix.c proxy_unix.c: In function 'gethostthread': proxy_unix.c:96:17: warning: variable 'tid' set but not used [-Wunused-but-set-variable] pthread_t tid; ^~~ proxy_unix.c: In function 'set_socket_max_buf': proxy_unix.c:375:55: warning: pointer targets in passing argument 5 of 'getsockopt' differ in signedness [-Wpointer-sign] getsockopt(skt, SOL_SOCKET, SO_SNDBUF, (char*)&i, &len); ^ In file included from /usr/include/netinet6/in6.h:73:0, from /usr/include/netinet/in.h:372, from proxy_unix.c:43: /usr/include/sys/socket.h:626:5: note: expected '__socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' int getsockopt(int, int, int, void *__restrict, socklen_t * __restrict); ^~~~~~~~~~ proxy_unix.c:379:55: warning: pointer targets in passing argument 5 of 'getsockopt' differ in signedness [-Wpointer-sign] getsockopt(skt, SOL_SOCKET, SO_SNDBUF, (char*)&i, &len); ^ In file included from /usr/include/netinet6/in6.h:73:0, from /usr/include/netinet/in.h:372, from proxy_unix.c:43: /usr/include/sys/socket.h:626:5: note: expected '__socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' int getsockopt(int, int, int, void *__restrict, socklen_t * __restrict); ^~~~~~~~~~ proxy_unix.c:381:55: warning: pointer targets in passing argument 5 of 'getsockopt' differ in signedness [-Wpointer-sign] getsockopt(skt, SOL_SOCKET, SO_RCVBUF, (char*)&i, &len); ^ In file included from /usr/include/netinet6/in6.h:73:0, from /usr/include/netinet/in.h:372, from proxy_unix.c:43: /usr/include/sys/socket.h:626:5: note: expected '__socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' int getsockopt(int, int, int, void *__restrict, socklen_t * __restrict); ^~~~~~~~~~ proxy_unix.c:385:55: warning: pointer targets in passing argument 5 of 'getsockopt' differ in signedness [-Wpointer-sign] getsockopt(skt, SOL_SOCKET, SO_RCVBUF, (char*)&i, &len); ^ In file included from /usr/include/netinet6/in6.h:73:0, from /usr/include/netinet/in.h:372, from proxy_unix.c:43: /usr/include/sys/socket.h:626:5: note: expected '__socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' int getsockopt(int, int, int, void *__restrict, socklen_t * __restrict); ^~~~~~~~~~ proxy_unix.c: In function 'get_interface_addr': proxy_unix.c:468:58: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness [-Wpointer-sign] err = getsockname(skt, (struct sockaddr*)&localAddr, &len); ^ In file included from /usr/include/netinet6/in6.h:73:0, from /usr/include/netinet/in.h:372, from proxy_unix.c:43: /usr/include/sys/socket.h:625:5: note: expected '__socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' int getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict); ^~~~~~~~~~~ proxy_unix.c:463:9: warning: variable 'err' set but not used [-Wunused-but-set-variable] int err = 0; ^~~ proxy_unix.c: In function 'recv_udp': proxy_unix.c:480:65: warning: pointer targets in passing argument 6 of 'recvfrom' differ in signedness [-Wpointer-sign] ret = recvfrom(socket, buf, amt, 0, (struct sockaddr*)&sin, &len); ^ In file included from /usr/include/netinet6/in6.h:73:0, from /usr/include/netinet/in.h:372, from proxy_unix.c:43: /usr/include/sys/socket.h:632:9: note: expected '__socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' ssize_t recvfrom(int, void *__restrict, size_t, int, ^~~~~~~~ c++ -o StreamingProxy get_opt.o proxy.o util.o shared_udp.o proxy_unix.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -pthread -lm -lcrypt c++ -fPIC -c -o QTSSPasswd.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../PlatformHeader.h -g -Wall -I. -I.. -I../CommonUtilitiesLib -I../OSMemoryLib QTSSPasswd.cpp QTSSPasswd.cpp:391:83: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] qtss_fprintf(stderr, " qtpasswd %s built on: %s\n", kVersionString, __DATE__ ", "__TIME__); ^ QTSSPasswd.cpp: In function 'int main(int, char**)': QTSSPasswd.cpp:956:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] char* kDefaultRealmString = "Streaming Server"; ^~~~~~~~~~~~~~~~~~ QTSSPasswd.cpp:1011:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] char* tmpFile = "tmp.XXXXXX"; ^~~~~~~~~~~~ QTSSPasswd.cpp:1012:28: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] char* alternateTempPath = "./tmp.XXXXXX"; ^~~~~~~~~~~~~~ QTSSPasswd.cpp: At global scope: QTSSPasswd.cpp:421:14: warning: 'char* SetTempPath(char*, int, char*, int, char)' defined but not used [-Wunused-function] static char* SetTempPath(char* bufferToSet, int bufferLen, char* base, int baseLen, char id) ^~~~~~~~~~~ c++ -o qtpasswd QTSSPasswd.o ../SafeStdLib/InternalStdLib.o ../OSMemoryLib/OSMemory.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -L../CommonUtilitiesLib -pthread -lm -lcrypt ../CommonUtilitiesLib/libCommonUtilitiesLib.a gcc -c -o ../CommonUtilitiesLib/getopt.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../PlatformHeader.h -include ../revision.h -g -Wall -D__USE_MAX_PRINTF__ -I. -I.. -I../QTFileLib -I../OSMemoryLib -I../RTSPClientLib -I../APIStubLib -I../APICommonCode -I../CommonUtilitiesLib -I../RTPMetaInfoLib ../CommonUtilitiesLib/getopt.c c++ -fPIC -c -o BCasterTracker.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../PlatformHeader.h -include ../revision.h -g -Wall -D__USE_MAX_PRINTF__ -I. -I.. -I../QTFileLib -I../OSMemoryLib -I../RTSPClientLib -I../APIStubLib -I../APICommonCode -I../CommonUtilitiesLib -I../RTPMetaInfoLib BCasterTracker.cpp BCasterTracker.cpp: In function 'void ShowElement(PLDoubleLinkedListNode*, void*)': BCasterTracker.cpp:96:16: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] info = ""; ^~ BCasterTracker.cpp:98:16: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] info = ", (not running)"; ^~~~~~~~~~~~~~~~~ c++ -fPIC -c -o BroadcastLog.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../PlatformHeader.h -include ../revision.h -g -Wall -D__USE_MAX_PRINTF__ -I. -I.. -I../QTFileLib -I../OSMemoryLib -I../RTSPClientLib -I../APIStubLib -I../APICommonCode -I../CommonUtilitiesLib -I../RTPMetaInfoLib BroadcastLog.cpp In file included from ../CommonUtilitiesLib/TimeoutTask.h:44:0, from BroadcasterSession.h:37, from PLBroadcastDef.h:52, from BroadcastLog.h:33, from BroadcastLog.cpp:32: ../CommonUtilitiesLib/IdleTask.h: In constructor 'IdleTask::IdleTask()': ../CommonUtilitiesLib/IdleTask.h:78:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] IdleTask() : Task(), fIdleElem() { this->SetTaskName("IdleTask"); fIdleElem.SetEnclosingObject(this); } ^ In file included from BroadcasterSession.h:37:0, from PLBroadcastDef.h:52, from BroadcastLog.h:33, from BroadcastLog.cpp:32: ../CommonUtilitiesLib/TimeoutTask.h: In constructor 'TimeoutTaskThread::TimeoutTaskThread()': ../CommonUtilitiesLib/TimeoutTask.h:58:96: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] TimeoutTaskThread() : IdleTask(), fMutex() {this->SetTaskName("TimeoutTask");} ^ BroadcastLog.cpp: At global scope: BroadcastLog.cpp:40:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] "#Fields: date time filepath title copyright comment author artist album duration result\n"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../CommonUtilitiesLib/OSRef.h:46:0, from ../CommonUtilitiesLib/EventContext.h:42, from ../CommonUtilitiesLib/Socket.h:43, from ../CommonUtilitiesLib/TCPSocket.h:46, from ../RTSPClientLib/RTSPClient.h:37, from BroadcasterSession.h:40, from PLBroadcastDef.h:52, from BroadcastLog.h:33, from BroadcastLog.cpp:32: ../CommonUtilitiesLib/OSHashTable.h: In instantiation of 'OSHashTable::OSHashTable(UInt32) [with T = OSRef; K = OSRefKey; UInt32 = unsigned int]': ../CommonUtilitiesLib/OSRef.h:177:86: required from here ../CommonUtilitiesLib/OSHashTable.h:46:22: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] fHashTable = new ( T*[size] ); ^~~~~~~~~~~~~~~~ ../CommonUtilitiesLib/OSHashTable.h: In instantiation of 'OSHashTable::OSHashTable(UInt32) [with T = UDPDemuxerTask; K = UDPDemuxerKey; UInt32 = unsigned int]': ../CommonUtilitiesLib/UDPDemuxer.h:142:62: required from here ../CommonUtilitiesLib/OSHashTable.h:46:22: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] c++ -fPIC -c -o NoRepeat.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../PlatformHeader.h -include ../revision.h -g -Wall -D__USE_MAX_PRINTF__ -I. -I.. -I../QTFileLib -I../OSMemoryLib -I../RTSPClientLib -I../APIStubLib -I../APICommonCode -I../CommonUtilitiesLib -I../RTPMetaInfoLib NoRepeat.cpp c++ -fPIC -c -o PickerFromFile.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../PlatformHeader.h -include ../revision.h -g -Wall -D__USE_MAX_PRINTF__ -I. -I.. -I../QTFileLib -I../OSMemoryLib -I../RTSPClientLib -I../APIStubLib -I../APICommonCode -I../CommonUtilitiesLib -I../RTPMetaInfoLib PickerFromFile.cpp PickerFromFile.cpp: In function 'void DisplayPickerErr(int, const char*, const char*, int, const char*)': PickerFromFile.cpp:92:26: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] errMessage = "Include would create a loop.\n"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ PickerFromFile.cpp:96:26: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] errMessage = "Playlist file is missing *PLAY-LIST* identifier.\n"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ PickerFromFile.cpp:100:26: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] errMessage = "Playlist file could not be opened.\n"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ PickerFromFile.cpp:105:26: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] errMessage = "Internal error occurred.\n"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ c++ -fPIC -c -o PlaylistBroadcaster.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../PlatformHeader.h -include ../revision.h -g -Wall -D__USE_MAX_PRINTF__ -I. -I.. -I../QTFileLib -I../OSMemoryLib -I../RTSPClientLib -I../APIStubLib -I../APICommonCode -I../CommonUtilitiesLib -I../RTPMetaInfoLib PlaylistBroadcaster.cpp PlaylistBroadcaster.cpp:62:29: warning: extra tokens at end of #ifndef directive #ifndef __FreeBSD__ || __NetBSD__ || defined(__DragonFly__) ^~ In file included from ../CommonUtilitiesLib/TimeoutTask.h:44:0, from PlaylistBroadcaster.cpp:81: ../CommonUtilitiesLib/IdleTask.h: In constructor 'IdleTask::IdleTask()': ../CommonUtilitiesLib/IdleTask.h:78:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] IdleTask() : Task(), fIdleElem() { this->SetTaskName("IdleTask"); fIdleElem.SetEnclosingObject(this); } ^ In file included from PlaylistBroadcaster.cpp:81:0: ../CommonUtilitiesLib/TimeoutTask.h: In constructor 'TimeoutTaskThread::TimeoutTaskThread()': ../CommonUtilitiesLib/TimeoutTask.h:58:96: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] TimeoutTaskThread() : IdleTask(), fMutex() {this->SetTaskName("TimeoutTask");} ^ PlaylistBroadcaster.cpp: At global scope: PlaylistBroadcaster.cpp:158:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sgTrackerDirPath = "/var/run"; ^~~~~~~~~~ PlaylistBroadcaster.cpp:159:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sgTrackerFilePath = "/var/run/broadcastlist"; ^~~~~~~~~~~~~~~~~~~~~~~~ PlaylistBroadcaster.cpp: In function 'int main(int, char**)': PlaylistBroadcaster.cpp:197:13: warning: variable 'needsTracker' set but not used [-Wunused-but-set-variable] bool needsTracker = false; // set to true when PLB needs tracker access ^~~~~~~~~~~~ PlaylistBroadcaster.cpp:198:13: warning: variable 'needsLogfile' set but not used [-Wunused-but-set-variable] bool needsLogfile = false; // set to true when PLB needs tracker access ^~~~~~~~~~~~ PlaylistBroadcaster.cpp: In function 'void PreFlightOrBroadcast(const char*, bool, bool, bool, bool, char*, bool, const char*)': PlaylistBroadcaster.cpp:692:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] char* thePLBStr = "PlaylistBroadcaster"; ^~~~~~~~~~~~~~~~~~~~~ PlaylistBroadcaster.cpp:687:13: warning: variable 'sdpFileCreated' set but not used [-Wunused-but-set-variable] bool sdpFileCreated = false; ^~~~~~~~~~~~~~ In file included from ../CommonUtilitiesLib/OSRef.h:46:0, from ../CommonUtilitiesLib/EventContext.h:42, from ../CommonUtilitiesLib/Socket.h:43, from PlaylistBroadcaster.cpp:79: ../CommonUtilitiesLib/OSHashTable.h: In instantiation of 'OSHashTable::OSHashTable(UInt32) [with T = OSRef; K = OSRefKey; UInt32 = unsigned int]': ../CommonUtilitiesLib/OSRef.h:177:86: required from here ../CommonUtilitiesLib/OSHashTable.h:46:22: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] fHashTable = new ( T*[size] ); ^~~~~~~~~~~~~~~~ ../CommonUtilitiesLib/OSHashTable.h: In instantiation of 'OSHashTable::OSHashTable(UInt32) [with T = UDPDemuxerTask; K = UDPDemuxerKey; UInt32 = unsigned int]': ../CommonUtilitiesLib/UDPDemuxer.h:142:62: required from here ../CommonUtilitiesLib/OSHashTable.h:46:22: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] c++ -fPIC -c -o PlaylistPicker.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../PlatformHeader.h -include ../revision.h -g -Wall -D__USE_MAX_PRINTF__ -I. -I.. -I../QTFileLib -I../OSMemoryLib -I../RTSPClientLib -I../APIStubLib -I../APICommonCode -I../CommonUtilitiesLib -I../RTPMetaInfoLib PlaylistPicker.cpp c++ -fPIC -c -o playlist_broadcaster.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../PlatformHeader.h -include ../revision.h -g -Wall -D__USE_MAX_PRINTF__ -I. -I.. -I../QTFileLib -I../OSMemoryLib -I../RTSPClientLib -I../APIStubLib -I../APICommonCode -I../CommonUtilitiesLib -I../RTPMetaInfoLib playlist_broadcaster.cpp In file included from ../CommonUtilitiesLib/TimeoutTask.h:44:0, from BroadcasterSession.h:37, from playlist_elements.h:47, from playlist_broadcaster.h:39, from playlist_broadcaster.cpp:27: ../CommonUtilitiesLib/IdleTask.h: In constructor 'IdleTask::IdleTask()': ../CommonUtilitiesLib/IdleTask.h:78:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] IdleTask() : Task(), fIdleElem() { this->SetTaskName("IdleTask"); fIdleElem.SetEnclosingObject(this); } ^ In file included from BroadcasterSession.h:37:0, from playlist_elements.h:47, from playlist_broadcaster.h:39, from playlist_broadcaster.cpp:27: ../CommonUtilitiesLib/TimeoutTask.h: In constructor 'TimeoutTaskThread::TimeoutTaskThread()': ../CommonUtilitiesLib/TimeoutTask.h:58:96: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] TimeoutTaskThread() : IdleTask(), fMutex() {this->SetTaskName("TimeoutTask");} ^ playlist_broadcaster.cpp: In member function 'int QTFileBroadcaster::Play(char*)': playlist_broadcaster.cpp:554:18: warning: variable 'sleptTime' set but not used [-Wunused-but-set-variable] unsigned int sleptTime; ^~~~~~~~~ In file included from ../CommonUtilitiesLib/OSRef.h:46:0, from ../CommonUtilitiesLib/EventContext.h:42, from ../CommonUtilitiesLib/Socket.h:43, from ../CommonUtilitiesLib/TCPSocket.h:46, from ../RTSPClientLib/RTSPClient.h:37, from BroadcasterSession.h:40, from playlist_elements.h:47, from playlist_broadcaster.h:39, from playlist_broadcaster.cpp:27: ../CommonUtilitiesLib/OSHashTable.h: In instantiation of 'OSHashTable::OSHashTable(UInt32) [with T = OSRef; K = OSRefKey; UInt32 = unsigned int]': ../CommonUtilitiesLib/OSRef.h:177:86: required from here ../CommonUtilitiesLib/OSHashTable.h:46:22: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] fHashTable = new ( T*[size] ); ^~~~~~~~~~~~~~~~ ../CommonUtilitiesLib/OSHashTable.h: In instantiation of 'OSHashTable::OSHashTable(UInt32) [with T = UDPDemuxerTask; K = UDPDemuxerKey; UInt32 = unsigned int]': ../CommonUtilitiesLib/UDPDemuxer.h:142:62: required from here ../CommonUtilitiesLib/OSHashTable.h:46:22: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] c++ -fPIC -c -o playlist_elements.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../PlatformHeader.h -include ../revision.h -g -Wall -D__USE_MAX_PRINTF__ -I. -I.. -I../QTFileLib -I../OSMemoryLib -I../RTSPClientLib -I../APIStubLib -I../APICommonCode -I../CommonUtilitiesLib -I../RTPMetaInfoLib playlist_elements.cpp playlist_elements.cpp:63:37: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] qtss_sprintf(&ioCNameBuffer[2], " %s%"_64BITARG_"d", "QTSS", OS::Milliseconds() / 1000); ^ In file included from ../CommonUtilitiesLib/TimeoutTask.h:44:0, from BroadcasterSession.h:37, from playlist_elements.h:47, from playlist_elements.cpp:26: ../CommonUtilitiesLib/IdleTask.h: In constructor 'IdleTask::IdleTask()': ../CommonUtilitiesLib/IdleTask.h:78:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] IdleTask() : Task(), fIdleElem() { this->SetTaskName("IdleTask"); fIdleElem.SetEnclosingObject(this); } ^ In file included from BroadcasterSession.h:37:0, from playlist_elements.h:47, from playlist_elements.cpp:26: ../CommonUtilitiesLib/TimeoutTask.h: In constructor 'TimeoutTaskThread::TimeoutTaskThread()': ../CommonUtilitiesLib/TimeoutTask.h:58:96: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] TimeoutTaskThread() : IdleTask(), fMutex() {this->SetTaskName("TimeoutTask");} ^ playlist_elements.cpp: In member function 'void MediaStream::InitIfAudio()': playlist_elements.cpp:183:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] SimpleString audioStr("audio"); ^ playlist_elements.cpp:192:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] SimpleString videoStr("video"); ^ In file included from ../CommonUtilitiesLib/OSRef.h:46:0, from ../CommonUtilitiesLib/EventContext.h:42, from ../CommonUtilitiesLib/Socket.h:43, from ../CommonUtilitiesLib/TCPSocket.h:46, from ../RTSPClientLib/RTSPClient.h:37, from BroadcasterSession.h:40, from playlist_elements.h:47, from playlist_elements.cpp:26: ../CommonUtilitiesLib/OSHashTable.h: In instantiation of 'OSHashTable::OSHashTable(UInt32) [with T = OSRef; K = OSRefKey; UInt32 = unsigned int]': ../CommonUtilitiesLib/OSRef.h:177:86: required from here ../CommonUtilitiesLib/OSHashTable.h:46:22: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] fHashTable = new ( T*[size] ); ^~~~~~~~~~~~~~~~ ../CommonUtilitiesLib/OSHashTable.h: In instantiation of 'OSHashTable::OSHashTable(UInt32) [with T = UDPDemuxerTask; K = UDPDemuxerKey; UInt32 = unsigned int]': ../CommonUtilitiesLib/UDPDemuxer.h:142:62: required from here ../CommonUtilitiesLib/OSHashTable.h:46:22: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] c++ -fPIC -c -o playlist_lists.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../PlatformHeader.h -include ../revision.h -g -Wall -D__USE_MAX_PRINTF__ -I. -I.. -I../QTFileLib -I../OSMemoryLib -I../RTSPClientLib -I../APIStubLib -I../APICommonCode -I../CommonUtilitiesLib -I../RTPMetaInfoLib playlist_lists.cpp In file included from ../CommonUtilitiesLib/TimeoutTask.h:44:0, from BroadcasterSession.h:37, from playlist_elements.h:47, from playlist_lists.h:44, from playlist_lists.cpp:26: ../CommonUtilitiesLib/IdleTask.h: In constructor 'IdleTask::IdleTask()': ../CommonUtilitiesLib/IdleTask.h:78:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] IdleTask() : Task(), fIdleElem() { this->SetTaskName("IdleTask"); fIdleElem.SetEnclosingObject(this); } ^ In file included from BroadcasterSession.h:37:0, from playlist_elements.h:47, from playlist_lists.h:44, from playlist_lists.cpp:26: ../CommonUtilitiesLib/TimeoutTask.h: In constructor 'TimeoutTaskThread::TimeoutTaskThread()': ../CommonUtilitiesLib/TimeoutTask.h:58:96: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] TimeoutTaskThread() : IdleTask(), fMutex() {this->SetTaskName("TimeoutTask");} ^ In file included from ../CommonUtilitiesLib/OSRef.h:46:0, from ../CommonUtilitiesLib/EventContext.h:42, from ../CommonUtilitiesLib/Socket.h:43, from ../CommonUtilitiesLib/TCPSocket.h:46, from ../RTSPClientLib/RTSPClient.h:37, from BroadcasterSession.h:40, from playlist_elements.h:47, from playlist_lists.h:44, from playlist_lists.cpp:26: ../CommonUtilitiesLib/OSHashTable.h: In instantiation of 'OSHashTable::OSHashTable(UInt32) [with T = OSRef; K = OSRefKey; UInt32 = unsigned int]': ../CommonUtilitiesLib/OSRef.h:177:86: required from here ../CommonUtilitiesLib/OSHashTable.h:46:22: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] fHashTable = new ( T*[size] ); ^~~~~~~~~~~~~~~~ ../CommonUtilitiesLib/OSHashTable.h: In instantiation of 'OSHashTable::OSHashTable(UInt32) [with T = UDPDemuxerTask; K = UDPDemuxerKey; UInt32 = unsigned int]': ../CommonUtilitiesLib/UDPDemuxer.h:142:62: required from here ../CommonUtilitiesLib/OSHashTable.h:46:22: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] c++ -fPIC -c -o playlist_parsers.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../PlatformHeader.h -include ../revision.h -g -Wall -D__USE_MAX_PRINTF__ -I. -I.. -I../QTFileLib -I../OSMemoryLib -I../RTSPClientLib -I../APIStubLib -I../APICommonCode -I../CommonUtilitiesLib -I../RTPMetaInfoLib playlist_parsers.cpp In file included from ../CommonUtilitiesLib/TimeoutTask.h:44:0, from BroadcasterSession.h:37, from playlist_elements.h:47, from playlist_parsers.h:36, from playlist_parsers.cpp:26: ../CommonUtilitiesLib/IdleTask.h: In constructor 'IdleTask::IdleTask()': ../CommonUtilitiesLib/IdleTask.h:78:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] IdleTask() : Task(), fIdleElem() { this->SetTaskName("IdleTask"); fIdleElem.SetEnclosingObject(this); } ^ In file included from BroadcasterSession.h:37:0, from playlist_elements.h:47, from playlist_parsers.h:36, from playlist_parsers.cpp:26: ../CommonUtilitiesLib/TimeoutTask.h: In constructor 'TimeoutTaskThread::TimeoutTaskThread()': ../CommonUtilitiesLib/TimeoutTask.h:58:96: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] TimeoutTaskThread() : IdleTask(), fMutex() {this->SetTaskName("TimeoutTask");} ^ playlist_parsers.cpp: At global scope: playlist_parsers.cpp:28:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] char* SDPFileParser::sMediaTag = "m"; ^~~ playlist_parsers.cpp:29:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] char* SDPFileParser::sAttributeTag = "a"; ^~~ playlist_parsers.cpp:30:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] char* SDPFileParser::sConnectionTag = "c"; ^~~ playlist_parsers.cpp: In member function 'short int SDPFileParser::CountRTPMapEntries()': playlist_parsers.cpp:162:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] SimpleString mapString("rtpmap"); ^ playlist_parsers.cpp: In member function 'bool SDPFileParser::GetQTTextFromLine(TextLine*)': playlist_parsers.cpp:224:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] char *xString ="a=x-qt-text"; ^~~~~~~~~~~~~ playlist_parsers.cpp: In member function 'bool SDPFileParser::GetRTPMap(TextLine*, PayLoad*)': playlist_parsers.cpp:282:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] SimpleString mapString("rtpmap"); ^ playlist_parsers.cpp: In member function 'TextLine* SDPFileParser::GetTrackID(TextLine*, TypeMap*)': playlist_parsers.cpp:356:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] SimpleString controlString("control"); ^ playlist_parsers.cpp: In member function 'bool SDPFileParser::ParseIPString(TextLine*)': playlist_parsers.cpp:392:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] SimpleString ipIDString("IP4"); ^ In file included from ../CommonUtilitiesLib/OSRef.h:46:0, from ../CommonUtilitiesLib/EventContext.h:42, from ../CommonUtilitiesLib/Socket.h:43, from ../CommonUtilitiesLib/TCPSocket.h:46, from ../RTSPClientLib/RTSPClient.h:37, from BroadcasterSession.h:40, from playlist_elements.h:47, from playlist_parsers.h:36, from playlist_parsers.cpp:26: ../CommonUtilitiesLib/OSHashTable.h: In instantiation of 'OSHashTable::OSHashTable(UInt32) [with T = OSRef; K = OSRefKey; UInt32 = unsigned int]': ../CommonUtilitiesLib/OSRef.h:177:86: required from here ../CommonUtilitiesLib/OSHashTable.h:46:22: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] fHashTable = new ( T*[size] ); ^~~~~~~~~~~~~~~~ ../CommonUtilitiesLib/OSHashTable.h: In instantiation of 'OSHashTable::OSHashTable(UInt32) [with T = UDPDemuxerTask; K = UDPDemuxerKey; UInt32 = unsigned int]': ../CommonUtilitiesLib/UDPDemuxer.h:142:62: required from here ../CommonUtilitiesLib/OSHashTable.h:46:22: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] c++ -fPIC -c -o playlist_SDPGen.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../PlatformHeader.h -include ../revision.h -g -Wall -D__USE_MAX_PRINTF__ -I. -I.. -I../QTFileLib -I../OSMemoryLib -I../RTSPClientLib -I../APIStubLib -I../APICommonCode -I../CommonUtilitiesLib -I../RTPMetaInfoLib playlist_SDPGen.cpp In file included from ../CommonUtilitiesLib/TimeoutTask.h:44:0, from BroadcasterSession.h:37, from playlist_elements.h:47, from playlist_broadcaster.h:39, from playlist_SDPGen.cpp:27: ../CommonUtilitiesLib/IdleTask.h: In constructor 'IdleTask::IdleTask()': ../CommonUtilitiesLib/IdleTask.h:78:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] IdleTask() : Task(), fIdleElem() { this->SetTaskName("IdleTask"); fIdleElem.SetEnclosingObject(this); } ^ In file included from BroadcasterSession.h:37:0, from playlist_elements.h:47, from playlist_broadcaster.h:39, from playlist_SDPGen.cpp:27: ../CommonUtilitiesLib/TimeoutTask.h: In constructor 'TimeoutTaskThread::TimeoutTaskThread()': ../CommonUtilitiesLib/TimeoutTask.h:58:96: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] TimeoutTaskThread() : IdleTask(), fMutex() {this->SetTaskName("TimeoutTask");} ^ In file included from ../CommonUtilitiesLib/ResizeableStringFormatter.h:39:0, from ../CommonUtilitiesLib/SDPUtils.h:38, from playlist_SDPGen.cpp:31: ../CommonUtilitiesLib/StringFormatter.h: In member function 'void StringFormatter::PutFilePath(StrPtrLen*, StrPtrLen*)': ../CommonUtilitiesLib/StringFormatter.h:138:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Put(kPathDelimiterString); ^ In file included from playlist_SDPGen.cpp:31:0: ../CommonUtilitiesLib/SDPUtils.h: In member function 'Bool16 SDPContainer::HasLineType(char)': ../CommonUtilitiesLib/SDPUtils.h:92:95: warning: array subscript has type 'char' [-Wchar-subscripts] Bool16 HasLineType( char lineType ) { return (Bool16) (lineType == fFieldStr[lineType]) ; } ^ playlist_SDPGen.cpp: In member function 'char* SDPGen::Process(char*, char*, char*, char*, char*, char*, char*, char*, int*)': playlist_SDPGen.cpp:136:30: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] { char *userName = "QTSS_Play_List"; ^~~~~~~~~~~~~~~~ In file included from ../CommonUtilitiesLib/OSRef.h:46:0, from ../CommonUtilitiesLib/EventContext.h:42, from ../CommonUtilitiesLib/Socket.h:43, from ../CommonUtilitiesLib/TCPSocket.h:46, from ../RTSPClientLib/RTSPClient.h:37, from BroadcasterSession.h:40, from playlist_elements.h:47, from playlist_broadcaster.h:39, from playlist_SDPGen.cpp:27: ../CommonUtilitiesLib/OSHashTable.h: In instantiation of 'OSHashTable::OSHashTable(UInt32) [with T = OSRef; K = OSRefKey; UInt32 = unsigned int]': ../CommonUtilitiesLib/OSRef.h:177:86: required from here ../CommonUtilitiesLib/OSHashTable.h:46:22: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] fHashTable = new ( T*[size] ); ^~~~~~~~~~~~~~~~ ../CommonUtilitiesLib/OSHashTable.h: In instantiation of 'OSHashTable::OSHashTable(UInt32) [with T = UDPDemuxerTask; K = UDPDemuxerKey; UInt32 = unsigned int]': ../CommonUtilitiesLib/UDPDemuxer.h:142:62: required from here ../CommonUtilitiesLib/OSHashTable.h:46:22: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] c++ -fPIC -c -o playlist_SimpleParse.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../PlatformHeader.h -include ../revision.h -g -Wall -D__USE_MAX_PRINTF__ -I. -I.. -I../QTFileLib -I../OSMemoryLib -I../RTSPClientLib -I../APIStubLib -I../APICommonCode -I../CommonUtilitiesLib -I../RTPMetaInfoLib playlist_SimpleParse.cpp playlist_SimpleParse.cpp: In member function 'void SimpleString::Print()': playlist_SimpleParse.cpp:90:58: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'SInt32 {aka int}' [-Wformat=] printf("SimpleString( len=%ld str=>%s< )\n",fLen,buff); ~~~~ ^ c++ -fPIC -c -o playlist_utils.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../PlatformHeader.h -include ../revision.h -g -Wall -D__USE_MAX_PRINTF__ -I. -I.. -I../QTFileLib -I../OSMemoryLib -I../RTSPClientLib -I../APIStubLib -I../APICommonCode -I../CommonUtilitiesLib -I../RTPMetaInfoLib playlist_utils.cpp c++ -fPIC -c -o PLBroadcastDef.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../PlatformHeader.h -include ../revision.h -g -Wall -D__USE_MAX_PRINTF__ -I. -I.. -I../QTFileLib -I../OSMemoryLib -I../RTSPClientLib -I../APIStubLib -I../APICommonCode -I../CommonUtilitiesLib -I../RTPMetaInfoLib PLBroadcastDef.cpp In file included from ../CommonUtilitiesLib/TimeoutTask.h:44:0, from BroadcasterSession.h:37, from PLBroadcastDef.h:52, from PLBroadcastDef.cpp:31: ../CommonUtilitiesLib/IdleTask.h: In constructor 'IdleTask::IdleTask()': ../CommonUtilitiesLib/IdleTask.h:78:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] IdleTask() : Task(), fIdleElem() { this->SetTaskName("IdleTask"); fIdleElem.SetEnclosingObject(this); } ^ In file included from BroadcasterSession.h:37:0, from PLBroadcastDef.h:52, from PLBroadcastDef.cpp:31: ../CommonUtilitiesLib/TimeoutTask.h: In constructor 'TimeoutTaskThread::TimeoutTaskThread()': ../CommonUtilitiesLib/TimeoutTask.h:58:96: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] TimeoutTaskThread() : IdleTask(), fMutex() {this->SetTaskName("TimeoutTask");} ^ In file included from ../CommonUtilitiesLib/OSRef.h:46:0, from ../CommonUtilitiesLib/EventContext.h:42, from ../CommonUtilitiesLib/Socket.h:43, from ../CommonUtilitiesLib/TCPSocket.h:46, from ../RTSPClientLib/RTSPClient.h:37, from BroadcasterSession.h:40, from PLBroadcastDef.h:52, from PLBroadcastDef.cpp:31: ../CommonUtilitiesLib/OSHashTable.h: In instantiation of 'OSHashTable::OSHashTable(UInt32) [with T = OSRef; K = OSRefKey; UInt32 = unsigned int]': ../CommonUtilitiesLib/OSRef.h:177:86: required from here ../CommonUtilitiesLib/OSHashTable.h:46:22: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] fHashTable = new ( T*[size] ); ^~~~~~~~~~~~~~~~ ../CommonUtilitiesLib/OSHashTable.h: In instantiation of 'OSHashTable::OSHashTable(UInt32) [with T = UDPDemuxerTask; K = UDPDemuxerKey; UInt32 = unsigned int]': ../CommonUtilitiesLib/UDPDemuxer.h:142:62: required from here ../CommonUtilitiesLib/OSHashTable.h:46:22: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] c++ -fPIC -c -o BroadcasterSession.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../PlatformHeader.h -include ../revision.h -g -Wall -D__USE_MAX_PRINTF__ -I. -I.. -I../QTFileLib -I../OSMemoryLib -I../RTSPClientLib -I../APIStubLib -I../APICommonCode -I../CommonUtilitiesLib -I../RTPMetaInfoLib BroadcasterSession.cpp In file included from ../CommonUtilitiesLib/TimeoutTask.h:44:0, from BroadcasterSession.h:37, from BroadcasterSession.cpp:34: ../CommonUtilitiesLib/IdleTask.h: In constructor 'IdleTask::IdleTask()': ../CommonUtilitiesLib/IdleTask.h:78:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] IdleTask() : Task(), fIdleElem() { this->SetTaskName("IdleTask"); fIdleElem.SetEnclosingObject(this); } ^ In file included from BroadcasterSession.h:37:0, from BroadcasterSession.cpp:34: ../CommonUtilitiesLib/TimeoutTask.h: In constructor 'TimeoutTaskThread::TimeoutTaskThread()': ../CommonUtilitiesLib/TimeoutTask.h:58:96: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] TimeoutTaskThread() : IdleTask(), fMutex() {this->SetTaskName("TimeoutTask");} ^ In file included from ../CommonUtilitiesLib/ResizeableStringFormatter.h:39:0, from ../CommonUtilitiesLib/SDPUtils.h:38, from BroadcasterSession.cpp:38: ../CommonUtilitiesLib/StringFormatter.h: In member function 'void StringFormatter::PutFilePath(StrPtrLen*, StrPtrLen*)': ../CommonUtilitiesLib/StringFormatter.h:138:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Put(kPathDelimiterString); ^ In file included from BroadcasterSession.cpp:38:0: ../CommonUtilitiesLib/SDPUtils.h: In member function 'Bool16 SDPContainer::HasLineType(char)': ../CommonUtilitiesLib/SDPUtils.h:92:95: warning: array subscript has type 'char' [-Wchar-subscripts] Bool16 HasLineType( char lineType ) { return (Bool16) (lineType == fFieldStr[lineType]) ; } ^ BroadcasterSession.cpp: In constructor 'BroadcasterSession::BroadcasterSession(UInt32, UInt16, char*, BroadcasterSession::BroadcasterType, UInt32, UInt32, UInt32, UInt32, UInt32, Bool16, UInt32, UInt32, StrPtrLen*, char*, char*, Bool16, Bool16)': BroadcasterSession.cpp:99:109: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'UInt32 {aka unsigned int}' [-Wformat=] printf("Burst Mode enabled: broadcast will be delayed for %lu seconds before starting\n", fBurstTime); ~~~~~~~~~~^ BroadcasterSession.cpp: In member function 'OS_Error BroadcasterSession::SendPacket(char*, UInt32, UInt8)': BroadcasterSession.cpp:247:26: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* tag="aktt"; ^~~~~~ In file included from ../CommonUtilitiesLib/OSRef.h:46:0, from ../CommonUtilitiesLib/EventContext.h:42, from ../CommonUtilitiesLib/Socket.h:43, from ../CommonUtilitiesLib/TCPSocket.h:46, from ../RTSPClientLib/RTSPClient.h:37, from BroadcasterSession.h:40, from BroadcasterSession.cpp:34: ../CommonUtilitiesLib/OSHashTable.h: In instantiation of 'OSHashTable::OSHashTable(UInt32) [with T = OSRef; K = OSRefKey; UInt32 = unsigned int]': ../CommonUtilitiesLib/OSRef.h:177:86: required from here ../CommonUtilitiesLib/OSHashTable.h:46:22: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] fHashTable = new ( T*[size] ); ^~~~~~~~~~~~~~~~ ../CommonUtilitiesLib/OSHashTable.h: In instantiation of 'OSHashTable::OSHashTable(UInt32) [with T = UDPDemuxerTask; K = UDPDemuxerKey; UInt32 = unsigned int]': ../CommonUtilitiesLib/UDPDemuxer.h:142:62: required from here ../CommonUtilitiesLib/OSHashTable.h:46:22: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] c++ -o PlaylistBroadcaster ../CommonUtilitiesLib/daemon.o ../CommonUtilitiesLib/getopt.o BCasterTracker.o BroadcastLog.o NoRepeat.o PickerFromFile.o PlaylistBroadcaster.o PlaylistPicker.o playlist_broadcaster.o playlist_elements.o playlist_lists.o playlist_parsers.o playlist_SDPGen.o playlist_SimpleParse.o playlist_utils.o PLBroadcastDef.o ../APICommonCode/QTSSRollingLog.o ../RTSPClientLib/ClientSocket.o ../RTSPClientLib/RTSPClient.o BroadcasterSession.o ../APICommonCode/SDPSourceInfo.o ../APICommonCode/SourceInfo.o ../OSMemoryLib/OSMemory.o ../SafeStdLib/InternalStdLib.o ../RTPMetaInfoLib/RTPMetaInfoPacket.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -L../CommonUtilitiesLib -L../QTFileLib -pthread -lm -lcrypt -lCommonUtilitiesLib -lQTFileExternalLib ../CommonUtilitiesLib/libCommonUtilitiesLib.a ../QTFileLib/libQTFileExternalLib.a c++ -fPIC -c -o BroadcasterMain.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../PlatformHeader.h -include ../revision.h -g -Wall -D__USE_MAX_PRINTF__ -I. -I.. -I../QTFileLib -I../OSMemoryLib -I../APIStubLib -I../APICommonCode -I../CommonUtilitiesLib -I../PlaylistBroadcaster.tproj BroadcasterMain.cpp In file included from ../CommonUtilitiesLib/OSRef.h:46:0, from ../CommonUtilitiesLib/EventContext.h:42, from ../CommonUtilitiesLib/Socket.h:43, from ../CommonUtilitiesLib/TCPSocket.h:46, from MP3Broadcaster.h:30, from BroadcasterMain.cpp:29: ../CommonUtilitiesLib/OSHashTable.h: In instantiation of 'OSHashTable::OSHashTable(UInt32) [with T = OSRef; K = OSRefKey; UInt32 = unsigned int]': ../CommonUtilitiesLib/OSRef.h:177:86: required from here ../CommonUtilitiesLib/OSHashTable.h:46:22: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] fHashTable = new ( T*[size] ); ^~~~~~~~~~~~~~~~ c++ -fPIC -c -o MP3Broadcaster.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../PlatformHeader.h -include ../revision.h -g -Wall -D__USE_MAX_PRINTF__ -I. -I.. -I../QTFileLib -I../OSMemoryLib -I../APIStubLib -I../APICommonCode -I../CommonUtilitiesLib -I../PlaylistBroadcaster.tproj MP3Broadcaster.cpp In file included from ../CommonUtilitiesLib/TimeoutTask.h:44:0, from MP3Broadcaster.cpp:63: ../CommonUtilitiesLib/IdleTask.h: In constructor 'IdleTask::IdleTask()': ../CommonUtilitiesLib/IdleTask.h:78:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] IdleTask() : Task(), fIdleElem() { this->SetTaskName("IdleTask"); fIdleElem.SetEnclosingObject(this); } ^ In file included from MP3Broadcaster.cpp:63:0: ../CommonUtilitiesLib/TimeoutTask.h: In constructor 'TimeoutTaskThread::TimeoutTaskThread()': ../CommonUtilitiesLib/TimeoutTask.h:58:96: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] TimeoutTaskThread() : IdleTask(), fMutex() {this->SetTaskName("TimeoutTask");} ^ MP3Broadcaster.cpp: In constructor 'MP3Broadcaster::MP3Broadcaster(char*, int, char*, char*, char*, Bool16)': MP3Broadcaster.cpp:149:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] CreateWorkingFilePath(".current", mCurrentFile); ^ MP3Broadcaster.cpp:150:53: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] CreateWorkingFilePath(".upcoming", mUpcomingFile); ^ MP3Broadcaster.cpp:151:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] CreateWorkingFilePath(".replacelist", mReplaceFile); ^ MP3Broadcaster.cpp:152:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] CreateWorkingFilePath(".stoplist", mStopFile); ^ MP3Broadcaster.cpp:153:53: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] CreateWorkingFilePath(".insertlist", mInsertFile); ^ MP3Broadcaster.cpp:154:56: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] CreateWorkingFilePath("mp3_broadcast.log", mLogFile); ^ MP3Broadcaster.cpp: In member function 'void MP3Broadcaster::PreFlightOrBroadcast(bool, bool, bool, bool, bool, const char*)': MP3Broadcaster.cpp:794:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (metaInfoUpdater) ^~ MP3Broadcaster.cpp:797:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' Cleanup(); ^~~~~~~ MP3Broadcaster.cpp: In member function 'char* MP3Broadcaster::MapErrorToString(int)': MP3Broadcaster.cpp:1002:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] result = "Bad file format."; ^~~~~~~~~~~~~~~~~~ MP3Broadcaster.cpp:1004:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] result = "Encoded at wrong frequency."; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MP3Broadcaster.cpp:1006:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] result = "Doesn't use desired bit rate."; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MP3Broadcaster.cpp:1008:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] result = "Couldn't open file."; ^~~~~~~~~~~~~~~~~~~~~ In file included from ../CommonUtilitiesLib/OSRef.h:46:0, from ../CommonUtilitiesLib/EventContext.h:42, from ../CommonUtilitiesLib/Socket.h:43, from ../CommonUtilitiesLib/TCPSocket.h:46, from MP3Broadcaster.h:30, from MP3Broadcaster.cpp:26: ../CommonUtilitiesLib/OSHashTable.h: In instantiation of 'OSHashTable::OSHashTable(UInt32) [with T = OSRef; K = OSRefKey; UInt32 = unsigned int]': ../CommonUtilitiesLib/OSRef.h:177:86: required from here ../CommonUtilitiesLib/OSHashTable.h:46:22: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] fHashTable = new ( T*[size] ); ^~~~~~~~~~~~~~~~ c++ -fPIC -c -o MP3BroadcasterLog.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../PlatformHeader.h -include ../revision.h -g -Wall -D__USE_MAX_PRINTF__ -I. -I.. -I../QTFileLib -I../OSMemoryLib -I../APIStubLib -I../APICommonCode -I../CommonUtilitiesLib -I../PlaylistBroadcaster.tproj MP3BroadcasterLog.cpp MP3BroadcasterLog.cpp:41:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] "#Fields: date time filepath title artist album duration result\n"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MP3BroadcasterLog.cpp: In constructor 'MP3BroadcasterLog::MP3BroadcasterLog(char*, char*, Bool16)': MP3BroadcasterLog.cpp:46:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] this->SetTaskName("MP3BroadcasterLog"); ^ c++ -fPIC -c -o MP3FileBroadcaster.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../PlatformHeader.h -include ../revision.h -g -Wall -D__USE_MAX_PRINTF__ -I. -I.. -I../QTFileLib -I../OSMemoryLib -I../APIStubLib -I../APICommonCode -I../CommonUtilitiesLib -I../PlaylistBroadcaster.tproj MP3FileBroadcaster.cpp In file included from ../CommonUtilitiesLib/OSRef.h:46:0, from ../CommonUtilitiesLib/EventContext.h:42, from ../CommonUtilitiesLib/Socket.h:43, from ../CommonUtilitiesLib/TCPSocket.h:46, from MP3FileBroadcaster.h:29, from MP3FileBroadcaster.cpp:26: ../CommonUtilitiesLib/OSHashTable.h: In instantiation of 'OSHashTable::OSHashTable(UInt32) [with T = OSRef; K = OSRefKey; UInt32 = unsigned int]': ../CommonUtilitiesLib/OSRef.h:177:86: required from here ../CommonUtilitiesLib/OSHashTable.h:46:22: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] fHashTable = new ( T*[size] ); ^~~~~~~~~~~~~~~~ c++ -fPIC -c -o MP3MetaInfoUpdater.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../PlatformHeader.h -include ../revision.h -g -Wall -D__USE_MAX_PRINTF__ -I. -I.. -I../QTFileLib -I../OSMemoryLib -I../APIStubLib -I../APICommonCode -I../CommonUtilitiesLib -I../PlaylistBroadcaster.tproj MP3MetaInfoUpdater.cpp In file included from ../CommonUtilitiesLib/OSRef.h:46:0, from ../CommonUtilitiesLib/EventContext.h:42, from ../CommonUtilitiesLib/Socket.h:43, from ../CommonUtilitiesLib/TCPSocket.h:46, from MP3MetaInfoUpdater.h:31, from MP3MetaInfoUpdater.cpp:26: ../CommonUtilitiesLib/OSHashTable.h: In instantiation of 'OSHashTable::OSHashTable(UInt32) [with T = OSRef; K = OSRefKey; UInt32 = unsigned int]': ../CommonUtilitiesLib/OSRef.h:177:86: required from here ../CommonUtilitiesLib/OSHashTable.h:46:22: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] fHashTable = new ( T*[size] ); ^~~~~~~~~~~~~~~~ c++ -o MP3Broadcaster ../CommonUtilitiesLib/daemon.o ../CommonUtilitiesLib/getopt.o BroadcasterMain.o MP3Broadcaster.o MP3BroadcasterLog.o MP3FileBroadcaster.o MP3MetaInfoUpdater.o ../PlaylistBroadcaster.tproj/NoRepeat.o ../PlaylistBroadcaster.tproj/PickerFromFile.o ../PlaylistBroadcaster.tproj/PlaylistPicker.o ../APICommonCode/QTSSRollingLog.o ../SafeStdLib/InternalStdLib.o ../OSMemoryLib/OSMemory.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -L../CommonUtilitiesLib -L../QTFileLib -pthread -lm -lcrypt -lCommonUtilitiesLib ../CommonUtilitiesLib/libCommonUtilitiesLib.a c++ -fPIC -c -o QTBroadcaster.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../../PlatformHeader.h -g -Wall -I. -I../../QTFileLib -I../../CommonUtilitiesLib -I../../RTPMetaInfoLib QTBroadcaster.cpp QTBroadcaster.cpp: In function 'int main(int, char**)': QTBroadcaster.cpp:144:55: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] RTPFile->SetTrackCookies(atoi(*argv), (char *)CurPort, 0); ^~~~~~~ c++ -o QTBroadcaster QTBroadcaster.o ../../RTPMetaInfoLib/RTPMetaInfoPacket.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -L../../CommonUtilitiesLib -L../../QTFileLib -pthread -lm -lcrypt -lCommonUtilitiesLib -lQTFileExternalLib ../../CommonUtilitiesLib/libCommonUtilitiesLib.a ../../QTFileLib/libQTFileExternalLib.a c++ -fPIC -c -o QTFileInfo.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../../PlatformHeader.h -g -Wall -I. -I../../QTFileLib -I../../CommonUtilitiesLib -I../../RTPMetaInfoLib QTFileInfo.cpp QTFileInfo.cpp:116:25: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] qtss_printf(" Total RTP bytes : %"_64BITARG_"u\n", HintTrack->GetTotalRTPBytes()); ^ QTFileInfo.cpp:117:25: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] qtss_printf(" Total RTP packets : %"_64BITARG_"u\n", HintTrack->GetTotalRTPPackets()); ^ QTFileInfo.cpp:119:25: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] qtss_printf(" Average packet size: %"_64BITARG_"u\n", HintTrack->GetTotalRTPPackets() == 0 ? 0 : HintTrack->GetTotalRTPBytes() / HintTrack->GetTotalRTPPackets()); ^ c++ -o QTFileInfo QTFileInfo.o ../../RTPMetaInfoLib/RTPMetaInfoPacket.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -L../../CommonUtilitiesLib -L../../QTFileLib -pthread -lm -lcrypt -lCommonUtilitiesLib -lQTFileExternalLib ../../CommonUtilitiesLib/libCommonUtilitiesLib.a ../../QTFileLib/libQTFileExternalLib.a c++ -fPIC -c -o QTFileTest.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../../PlatformHeader.h -g -Wall -I. -I../../QTFileLib -I../../CommonUtilitiesLib -I../../RTPMetaInfoLib QTFileTest.cpp c++ -o QTFileTest QTFileTest.o ../../SafeStdLib/InternalStdLib.o ../../RTPMetaInfoLib/RTPMetaInfoPacket.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -L../../CommonUtilitiesLib -L../../QTFileLib -pthread -lm -lcrypt -lCommonUtilitiesLib -lQTFileExternalLib ../../CommonUtilitiesLib/libCommonUtilitiesLib.a ../../QTFileLib/libQTFileExternalLib.a c++ -fPIC -c -o QTRTPFileTest.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../../PlatformHeader.h -g -Wall -I. -I../../QTFileLib -I../../CommonUtilitiesLib -I../../RTPMetaInfoLib QTRTPFileTest.cpp QTRTPFileTest.cpp:242:21: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] qtss_printf("Total RTP bytes of all added tracks: %"_64BITARG_"u\n", RTPFile->GetAddedTracksRTPBytes()); ^ QTRTPFileTest.cpp:334:21: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] qtss_printf("QTRTPFileTest: Average Inter-packet delay: %"_64BITARG_"uus\n", (UInt64)((TotalInterpacketDelay / NumberOfPackets) * 1000 * 1000)); ^ QTRTPFileTest.cpp: In function 'int main(int, char**)': QTRTPFileTest.cpp:206:91: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] RTPFile->SetTrackCookies(hinttracks[trackcount], (char *)hinttracks[trackcount], 0); ^ QTRTPFileTest.cpp:172:14: warning: variable 'found' set but not used [-Wunused-but-set-variable] bool found = false; ^~~~~ QTRTPFileTest.cpp:231:69: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] RTPFile->SetTrackCookies(atoi(*argv), (char *)atoi(*argv), 0); ^ c++ -o QTRTPFileTest QTRTPFileTest.o ../../SafeStdLib/InternalStdLib.o ../../RTPMetaInfoLib/RTPMetaInfoPacket.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -L../../CommonUtilitiesLib -L../../QTFileLib -pthread -lm -lcrypt -lCommonUtilitiesLib -lQTFileExternalLib ../../CommonUtilitiesLib/libCommonUtilitiesLib.a ../../QTFileLib/libQTFileExternalLib.a c++ -fPIC -c -o QTRTPGen.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../../PlatformHeader.h -g -Wall -I. -I../../QTFileLib -I../../CommonUtilitiesLib -I../../RTPMetaInfoLib QTRTPGen.cpp QTRTPGen.cpp:131:21: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] qtss_printf(" Total RTP bytes : %"_64BITARG_"u\n", HintTrack->GetTotalRTPBytes()); ^ QTRTPGen.cpp:132:21: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] qtss_printf(" Total RTP packets : %"_64BITARG_"u\n", HintTrack->GetTotalRTPPackets()); ^ QTRTPGen.cpp:134:21: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] qtss_printf(" Average packet size: %"_64BITARG_"u\n", HintTrack->GetTotalRTPBytes() / HintTrack->GetTotalRTPPackets()); ^ c++ -o QTRTPGen QTRTPGen.o ../../SafeStdLib/InternalStdLib.o ../../RTPMetaInfoLib/RTPMetaInfoPacket.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -L../../CommonUtilitiesLib -L../../QTFileLib -pthread -lm -lcrypt -lCommonUtilitiesLib -lQTFileExternalLib ../../CommonUtilitiesLib/libCommonUtilitiesLib.a ../../QTFileLib/libQTFileExternalLib.a c++ -fPIC -c -o QTSDPGen.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../../PlatformHeader.h -g -Wall -I. -I../../QTFileLib -I../../CommonUtilitiesLib -I../../RTPMetaInfoLib QTSDPGen.cpp QTSDPGen.cpp: In function 'int main(int, char**)': QTSDPGen.cpp:47:21: warning: variable 'Debug' set but not used [-Wunused-but-set-variable] bool Debug = false, DeepDebug = false; ^~~~~ QTSDPGen.cpp:47:36: warning: variable 'DeepDebug' set but not used [-Wunused-but-set-variable] bool Debug = false, DeepDebug = false; ^~~~~~~~~ c++ -o QTSDPGen QTSDPGen.o ../../SafeStdLib/InternalStdLib.o ../../RTPMetaInfoLib/RTPMetaInfoPacket.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -L../../CommonUtilitiesLib -L../../QTFileLib -pthread -lm -lcrypt -lCommonUtilitiesLib -lQTFileExternalLib ../../CommonUtilitiesLib/libCommonUtilitiesLib.a ../../QTFileLib/libQTFileExternalLib.a c++ -fPIC -c -o QTSampleLister.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../../PlatformHeader.h -g -Wall -I. -I../../QTFileLib -I../../CommonUtilitiesLib -I../../RTPMetaInfoLib QTSampleLister.cpp QTSampleLister.cpp:146:25: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] qtss_printf("%010"_64BITARG_"u: track=%02lu; size=%lu
\n",Offset, Track->GetTrackID(), Size); ^ QTSampleLister.cpp:148:25: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] qtss_printf("%8lu - %10lu %10"_64BITARG_"u %10lu\n", curSample, MediaTime, Offset, Size); ^ c++ -o QTSampleLister QTSampleLister.o ../../SafeStdLib/InternalStdLib.o ../../RTPMetaInfoLib/RTPMetaInfoPacket.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -L../../CommonUtilitiesLib -L../../QTFileLib -pthread -lm -lcrypt -lCommonUtilitiesLib -lQTFileExternalLib ../../CommonUtilitiesLib/libCommonUtilitiesLib.a ../../QTFileLib/libQTFileExternalLib.a c++ -fPIC -c -o QTTrackInfo.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -include ../../PlatformHeader.h -g -Wall -I. -I../../QTFileLib -I../../CommonUtilitiesLib -I../../RTPMetaInfoLib QTTrackInfo.cpp QTTrackInfo.cpp:134:25: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] qtss_printf(" Total RTP bytes : %"_64BITARG_"u\n", HintTrack->GetTotalRTPBytes()); ^ QTTrackInfo.cpp:135:25: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] qtss_printf(" Total RTP packets : %"_64BITARG_"u\n", HintTrack->GetTotalRTPPackets()); ^ QTTrackInfo.cpp:137:25: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] qtss_printf(" Average packet size: %"_64BITARG_"u\n", HintTrack->GetTotalRTPBytes() / HintTrack->GetTotalRTPPackets()); ^ c++ -o QTTrackInfo QTTrackInfo.o ../../SafeStdLib/InternalStdLib.o ../../RTPMetaInfoLib/RTPMetaInfoPacket.o -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -L../../CommonUtilitiesLib -L../../QTFileLib -pthread -lm -lcrypt -lCommonUtilitiesLib -lQTFileExternalLib ../../CommonUtilitiesLib/libCommonUtilitiesLib.a ../../QTFileLib/libQTFileExternalLib.a