+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/DarwinStreamingServer-5.5.5nb18/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/DarwinStreamingServer-5.5.5nb18/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for DarwinStreamingServer-5.5.5nb18 cc -c -o base64.o -pipe -O2 -I/usr/include -include ../PlatformHeader.h -g -Wall -I. -I.. -I../APIStubLib -I../RTPMetaInfoLib -I../APICommonCode base64.c cc -c -o GetWord.o -pipe -O2 -I/usr/include -include ../PlatformHeader.h -g -Wall -I. -I.. -I../APIStubLib -I../RTPMetaInfoLib -I../APICommonCode GetWord.c cc -c -o Trim.o -pipe -O2 -I/usr/include -include ../PlatformHeader.h -g -Wall -I. -I.. -I../APIStubLib -I../RTPMetaInfoLib -I../APICommonCode Trim.c cc -c -o md5.o -pipe -O2 -I/usr/include -include ../PlatformHeader.h -g -Wall -I. -I.. -I../APIStubLib -I../RTPMetaInfoLib -I../APICommonCode md5.c c++ -fPIC -c -o atomic.o -pipe -O2 -I/usr/include -include ../PlatformHeader.h -g -Wall -I. -I.. -I../APIStubLib -I../RTPMetaInfoLib -I../APICommonCode atomic.cpp c++ -fPIC -c -o ConfParser.o -pipe -O2 -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] 191 | else | ^~~~ ConfParser.cpp:194:37: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 194 | char* value = NEW char[strlen( wordBuff ) + 1 ]; | ^~~~ c++ -fPIC -c -o DateTranslator.o -pipe -O2 -I/usr/include -include ../PlatformHeader.h -g -Wall -I. -I.. -I../APIStubLib -I../RTPMetaInfoLib -I../APICommonCode DateTranslator.cpp c++ -fPIC -c -o EventContext.o -pipe -O2 -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, from EventContext.h:42, from EventContext.cpp:34: OSHashTable.h: In instantiation of 'OSHashTable<T, K>::OSHashTable(UInt32) [with T = OSRef; K = OSRefKey; UInt32 = unsigned int]': OSRef.h:177:60: required from here OSHashTable.h:46:22: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] 46 | fHashTable = new ( T*[size] ); | ^~~~~~~~~~~~~~~~ c++ -fPIC -c -o IdleTask.o -pipe -O2 -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: IdleTask.h: In constructor 'IdleTask::IdleTask()': IdleTask.h:78:58: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 78 | IdleTask() : Task(), fIdleElem() { this->SetTaskName("IdleTask"); fIdleElem.SetEnclosingObject(this); } | ^~~~~~~~~~ c++ -fPIC -c -o MyAssert.o -pipe -O2 -I/usr/include -include ../PlatformHeader.h -g -Wall -I. -I.. -I../APIStubLib -I../RTPMetaInfoLib -I../APICommonCode MyAssert.cpp c++ -fPIC -c -o OS.o -pipe -O2 -I/usr/include -include ../PlatformHeader.h -g -Wall -I. -I.. -I../APIStubLib -I../RTPMetaInfoLib -I../APICommonCode OS.cpp c++ -fPIC -c -o OSCodeFragment.o -pipe -O2 -I/usr/include -include ../PlatformHeader.h -g -Wall -I. -I.. -I../APIStubLib -I../RTPMetaInfoLib -I../APICommonCode OSCodeFragment.cpp c++ -fPIC -c -o OSCond.o -pipe -O2 -I/usr/include -include ../PlatformHeader.h -g -Wall -I. -I.. -I../APIStubLib -I../RTPMetaInfoLib -I../APICommonCode OSCond.cpp c++ -fPIC -c -o OSFileSource.o -pipe -O2 -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:25: warning: 'memset' used with constant zero length parameter; this could be due to transposed parameters [-Wmemset-transposed-args] 351 | ::memset(&buf,sizeof(buf),0); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~ In file included from StrPtrLen.h:45, 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 of integer expressions of different signedness: 'SInt64' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 485 | Assert(buffSize <= kUInt32_Max); MyAssert.h:51:15: note: in definition of macro 'Assert' 51 | if (!(condition)) \ | ^~~~~~~~~ c++ -fPIC -c -o OSHeap.o -pipe -O2 -I/usr/include -include ../PlatformHeader.h -g -Wall -I. -I.. -I../APIStubLib -I../RTPMetaInfoLib -I../APICommonCode OSHeap.cpp c++ -fPIC -c -o OSBufferPool.o -pipe -O2 -I/usr/include -include ../PlatformHeader.h -g -Wall -I. -I.. -I../APIStubLib -I../RTPMetaInfoLib -I../APICommonCode OSBufferPool.cpp c++ -fPIC -c -o OSMutex.o -pipe -O2 -I/usr/include -include ../PlatformHeader.h -g -Wall -I. -I.. -I../APIStubLib -I../RTPMetaInfoLib -I../APICommonCode OSMutex.cpp c++ -fPIC -c -o OSMutexRW.o -pipe -O2 -I/usr/include -include ../PlatformHeader.h -g -Wall -I. -I.. -I../APIStubLib -I../RTPMetaInfoLib -I../APICommonCode OSMutexRW.cpp c++ -fPIC -c -o OSQueue.o -pipe -O2 -I/usr/include -include ../PlatformHeader.h -g -Wall -I. -I.. -I../APIStubLib -I../RTPMetaInfoLib -I../APICommonCode OSQueue.cpp c++ -fPIC -c -o OSRef.o -pipe -O2 -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, from OSRef.cpp:33: OSHashTable.h: In instantiation of 'OSHashTable<T, K>::OSHashTable(UInt32) [with T = OSRef; K = OSRefKey; UInt32 = unsigned int]': OSRef.h:177:60: required from here OSHashTable.h:46:22: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] 46 | fHashTable = new ( T*[size] ); | ^~~~~~~~~~~~~~~~ c++ -fPIC -c -o OSThread.o -pipe -O2 -I/usr/include -include ../PlatformHeader.h -g -Wall -I. -I.. -I../APIStubLib -I../RTPMetaInfoLib -I../APICommonCode OSThread.cpp c++ -fPIC -c -o Socket.o -pipe -O2 -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, from EventContext.h:42, from Socket.h:43, from Socket.cpp:48: OSHashTable.h: In instantiation of 'OSHashTable<T, K>::OSHashTable(UInt32) [with T = OSRef; K = OSRefKey; UInt32 = unsigned int]': OSRef.h:177:60: required from here OSHashTable.h:46:22: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] 46 | fHashTable = new ( T*[size] ); | ^~~~~~~~~~~~~~~~ c++ -fPIC -c -o SocketUtils.o -pipe -O2 -I/usr/include -include ../PlatformHeader.h -g -Wall -I. -I.. -I../APIStubLib -I../RTPMetaInfoLib -I../APICommonCode SocketUtils.cpp c++ -fPIC -c -o ResizeableStringFormatter.o -pipe -O2 -I/usr/include -include ../PlatformHeader.h -g -Wall -I. -I.. -I../APIStubLib -I../RTPMetaInfoLib -I../APICommonCode ResizeableStringFormatter.cpp In file included from StrPtrLen.h:43, from StringFormatter.h:40, from ResizeableStringFormatter.h:39, from ResizeableStringFormatter.cpp:33: StringFormatter.h: In member function 'void StringFormatter::PutFilePath(StrPtrLen*, StrPtrLen*)': OSHeaders.h:58:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 58 | #define kPathDelimiterString "/" | ^~~ StringFormatter.h:138:17: note: in expansion of macro 'kPathDelimiterString' 138 | Put(kPathDelimiterString); | ^~~~~~~~~~~~~~~~~~~~ c++ -fPIC -c -o StringFormatter.o -pipe -O2 -I/usr/include -include ../PlatformHeader.h -g -Wall -I. -I.. -I../APIStubLib -I../RTPMetaInfoLib -I../APICommonCode StringFormatter.cpp In file included from StrPtrLen.h:43, from StringFormatter.h:40, from StringFormatter.cpp:36: StringFormatter.h: In member function 'void StringFormatter::PutFilePath(StrPtrLen*, StrPtrLen*)': OSHeaders.h:58:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 58 | #define kPathDelimiterString "/" | ^~~ StringFormatter.h:138:17: note: in expansion of macro 'kPathDelimiterString' 138 | Put(kPathDelimiterString); | ^~~~~~~~~~~~~~~~~~~~ StringFormatter.cpp: At global scope: StringFormatter.cpp:39:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 39 | char* StringFormatter::sEOL = "\r\n"; | ^~~~~~ c++ -fPIC -c -o StringParser.o -pipe -O2 -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] 343 | 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] 398 | if (this->ParserIsEmpty(outString)) | ^~ StringParser.cpp:403:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 403 | char *originalStartGet = fStartGet; | ^~~~ c++ -fPIC -c -o StringTranslator.o -pipe -O2 -I/usr/include -include ../PlatformHeader.h -g -Wall -I. -I.. -I../APIStubLib -I../RTPMetaInfoLib -I../APICommonCode StringTranslator.cpp c++ -fPIC -c -o StrPtrLen.o -pipe -O2 -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] 107 | 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' 110 | if ((NULL == compare.Ptr) || (NULL == Ptr)) | ^~ StrPtrLen.cpp: In member function 'Bool16 StrPtrLen::NumEqualIgnoreCase(const char*, UInt32) const': StrPtrLen.cpp:143:43: warning: array subscript has type 'char' [-Wchar-subscripts] 143 | if (sCaseInsensitiveMask[Ptr[x]] != sCaseInsensitiveMask[compare[x]]) | ~~~~~^ StrPtrLen.cpp:143:79: warning: array subscript has type 'char' [-Wchar-subscripts] 143 | if (sCaseInsensitiveMask[Ptr[x]] != sCaseInsensitiveMask[compare[x]]) | ~~~~~~~~~^ StrPtrLen.cpp: In member function 'Bool16 StrPtrLen::EqualIgnoreCase(const char*, UInt32) const': StrPtrLen.cpp:156:43: warning: array subscript has type 'char' [-Wchar-subscripts] 156 | if (sCaseInsensitiveMask[Ptr[x]] != sCaseInsensitiveMask[compare[x]]) | ~~~~~^ StrPtrLen.cpp:156:79: warning: array subscript has type 'char' [-Wchar-subscripts] 156 | if (sCaseInsensitiveMask[Ptr[x]] != sCaseInsensitiveMask[compare[x]]) | ~~~~~~~~~^ StrPtrLen.cpp: In member function 'void StrPtrLen::PrintStr()': StrPtrLen.cpp:306:43: warning: array subscript has type 'char' [-Wchar-subscripts] 306 | if (StrPtrLen::sNonPrintChars[Ptr[i]]) | ~~~~~^ StrPtrLen.cpp: In member function 'void StrPtrLen::PrintStrEOL(char*, char*)': StrPtrLen.cpp:336:43: warning: array subscript has type 'char' [-Wchar-subscripts] 336 | if (StrPtrLen::sNonPrintChars[Ptr[i]]) | ~~~~~^ StrPtrLen.cpp:367:21: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 367 | static char *cr="\\r"; | ^~~~~ StrPtrLen.cpp:368:21: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 368 | static char *lf="\\n\n"; | ^~~~~~~ c++ -fPIC -c -o Task.o -pipe -O2 -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] 42 | static char* sTaskStateStr="live_"; //Alive | ^~~~~~~ Task.cpp: In constructor 'Task::Task()': Task.cpp:50:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 50 | this->SetTaskName("unknown"); | ^~~~~~~~~ In file included from /usr/include/string.h:519, from StrPtrLen.h:42, from DateTranslator.h:40, from OSThread.h:49, from OSMutex.h:61, from OSQueue.h:38, from Task.h:48, from Task.cpp:33: In function 'char* strncat(char*, const char*, size_t)', inlined from 'void Task::SetTaskName(char*)' at Task.cpp:63:13, inlined from 'void Task::SetTaskName(char*)' at Task.cpp:57:6: /usr/include/bits/string_fortified.h:138:34: warning: 'char* __builtin___strncat_chk(char*, const char*, long unsigned int, long unsigned int)' specified bound 48 equals destination size [-Wstringop-overflow=] 138 | return __builtin___strncat_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 139 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ c++ -fPIC -c -o TCPListenerSocket.o -pipe -O2 -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, from TCPListenerSocket.cpp:46: IdleTask.h: In constructor 'IdleTask::IdleTask()': IdleTask.h:78:58: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 78 | IdleTask() : Task(), fIdleElem() { this->SetTaskName("IdleTask"); fIdleElem.SetEnclosingObject(this); } | ^~~~~~~~~~ In file included from TCPListenerSocket.cpp:46: TCPListenerSocket.h: In constructor 'TCPListenerSocket::TCPListenerSocket()': TCPListenerSocket.h:48:126: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 48 | fAddr(0), fPort(0), fOutOfDescriptors(false), fSleepBetweenAccepts(false) {this->SetTaskName("TCPListenerSocket");} | ^~~~~~~~~~~~~~~~~~~ TCPListenerSocket.cpp: In member function 'virtual void TCPListenerSocket::ProcessEvent(int)': TCPListenerSocket.cpp:130:75: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 130 | 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, 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<T, K>::OSHashTable(UInt32) [with T = OSRef; K = OSRefKey; UInt32 = unsigned int]': OSRef.h:177:60: required from here OSHashTable.h:46:22: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] 46 | fHashTable = new ( T*[size] ); | ^~~~~~~~~~~~~~~~ c++ -fPIC -c -o TCPSocket.o -pipe -O2 -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, from EventContext.h:42, from Socket.h:43, from TCPSocket.h:46, from TCPSocket.cpp:42: OSHashTable.h: In instantiation of 'OSHashTable<T, K>::OSHashTable(UInt32) [with T = OSRef; K = OSRefKey; UInt32 = unsigned int]': OSRef.h:177:60: required from here OSHashTable.h:46:22: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] 46 | fHashTable = new ( T*[size] ); | ^~~~~~~~~~~~~~~~ c++ -fPIC -c -o TimeoutTask.o -pipe -O2 -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, from TimeoutTask.cpp:33: IdleTask.h: In constructor 'IdleTask::IdleTask()': IdleTask.h:78:58: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 78 | IdleTask() : Task(), fIdleElem() { this->SetTaskName("IdleTask"); fIdleElem.SetEnclosingObject(this); } | ^~~~~~~~~~ In file included from TimeoutTask.cpp:33: TimeoutTask.h: In constructor 'TimeoutTaskThread::TimeoutTaskThread()': TimeoutTask.h:58:83: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 58 | TimeoutTaskThread() : IdleTask(), fMutex() {this->SetTaskName("TimeoutTask");} | ^~~~~~~~~~~~~ c++ -fPIC -c -o UDPDemuxer.o -pipe -O2 -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, from UDPDemuxer.cpp:34: OSHashTable.h: In instantiation of 'OSHashTable<T, K>::OSHashTable(UInt32) [with T = UDPDemuxerTask; K = UDPDemuxerKey; UInt32 = unsigned int]': UDPDemuxer.h:142:24: required from here OSHashTable.h:46:22: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] 46 | fHashTable = new ( T*[size] ); | ^~~~~~~~~~~~~~~~ c++ -fPIC -c -o UDPSocket.o -pipe -O2 -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, from EventContext.h:42, from Socket.h:43, from UDPSocket.h:44, from UDPSocket.cpp:52: OSHashTable.h: In instantiation of 'OSHashTable<T, K>::OSHashTable(UInt32) [with T = OSRef; K = OSRefKey; UInt32 = unsigned int]': OSRef.h:177:60: required from here OSHashTable.h:46:22: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] 46 | fHashTable = new ( T*[size] ); | ^~~~~~~~~~~~~~~~ OSHashTable.h: In instantiation of 'OSHashTable<T, K>::OSHashTable(UInt32) [with T = UDPDemuxerTask; K = UDPDemuxerKey; UInt32 = unsigned int]': UDPDemuxer.h:142:24: 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 -pipe -O2 -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, from UDPSocketPool.h:37, from UDPSocketPool.cpp:33: OSHashTable.h: In instantiation of 'OSHashTable<T, K>::OSHashTable(UInt32) [with T = UDPDemuxerTask; K = UDPDemuxerKey; UInt32 = unsigned int]': UDPDemuxer.h:142:24: required from here OSHashTable.h:46:22: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] 46 | fHashTable = new ( T*[size] ); | ^~~~~~~~~~~~~~~~ OSHashTable.h: In instantiation of 'OSHashTable<T, K>::OSHashTable(UInt32) [with T = OSRef; K = OSRefKey; UInt32 = unsigned int]': OSRef.h:177:60: 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 -pipe -O2 -I/usr/include -include ../PlatformHeader.h -g -Wall -I. -I.. -I../APIStubLib -I../RTPMetaInfoLib -I../APICommonCode ev.cpp ev.cpp: In function 'int select_waitevent(eventreq*, void*)': ev.cpp:343:17: warning: variable 'yieldDur' set but not used [-Wunused-but-set-variable] 343 | SInt64 yieldDur = 0; | ^~~~~~~~ ev.cpp: In function 'bool selecthasdata()': ev.cpp:435:21: warning: ignoring return value of 'ssize_t read(int, void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 435 | (void)::read(sPipes[0], &theBuffer[0], 4096); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c++ -fPIC -c -o UserAgentParser.o -pipe -O2 -I/usr/include -include ../PlatformHeader.h -g -Wall -I. -I.. -I../APIStubLib -I../RTPMetaInfoLib -I../APICommonCode UserAgentParser.cpp In file included from StrPtrLen.h:43, from StringParser.h:38, from UserAgentParser.cpp:36: StringFormatter.h: In member function 'void StringFormatter::PutFilePath(StrPtrLen*, StrPtrLen*)': OSHeaders.h:58:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 58 | #define kPathDelimiterString "/" | ^~~ StringFormatter.h:138:17: note: in expansion of macro 'kPathDelimiterString' 138 | Put(kPathDelimiterString); | ^~~~~~~~~~~~~~~~~~~~ c++ -fPIC -c -o QueryParamList.o -pipe -O2 -I/usr/include -include ../PlatformHeader.h -g -Wall -I. -I.. -I../APIStubLib -I../RTPMetaInfoLib -I../APICommonCode QueryParamList.cpp c++ -fPIC -c -o md5digest.o -pipe -O2 -I/usr/include -include ../PlatformHeader.h -g -Wall -I. -I.. -I../APIStubLib -I../RTPMetaInfoLib -I../APICommonCode md5digest.cpp md5digest.cpp:37:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 37 | static StrPtrLen sColon(":", 1); | ^~~ md5digest.cpp:38:27: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 38 | static StrPtrLen sMD5Sess("md5-sess", 8); | ^~~~~~~~~~ md5digest.cpp:39:27: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 39 | static StrPtrLen sQopAuth("auth", 4); | ^~~~~~ md5digest.cpp:40:30: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 40 | static StrPtrLen sQopAuthInt("auth-int", 8); | ^~~~~~~~~~ md5digest.cpp:262:24: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 262 | static char *dufr_id = "$dufr$"; | ^~~~~~~~ c++ -fPIC -c -o SDPUtils.o -pipe -O2 -I/usr/include -include ../PlatformHeader.h -g -Wall -I. -I.. -I../APIStubLib -I../RTPMetaInfoLib -I../APICommonCode SDPUtils.cpp In file included from OS.h:38, from SDPUtils.h:36, from SDPUtils.cpp:26: StringFormatter.h: In member function 'void StringFormatter::PutFilePath(StrPtrLen*, StrPtrLen*)': OSHeaders.h:58:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 58 | #define kPathDelimiterString "/" | ^~~ StringFormatter.h:138:17: note: in expansion of macro 'kPathDelimiterString' 138 | Put(kPathDelimiterString); | ^~~~~~~~~~~~~~~~~~~~ In file included from SDPUtils.cpp:26: SDPUtils.h: In member function 'Bool16 SDPContainer::HasLineType(char)': SDPUtils.h:92:87: warning: array subscript has type 'char' [-Wchar-subscripts] 92 | Bool16 HasLineType( char lineType ) { return (Bool16) (lineType == fFieldStr[lineType]) ; } | ^~~~~~~~ SDPUtils.cpp: In member function 'void SDPContainer::Parse()': SDPUtils.cpp:114:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 114 | char* validChars = "vosiuepcbtrzkam"; | ^~~~~~~~~~~~~~~~~ SDPUtils.cpp:143:19: warning: array subscript has type 'char' [-Wchar-subscripts] 143 | fFieldStr[firstChar] = firstChar; | ^~~~~~~~~ SDPUtils.cpp: In member function 'void SDPContainer::Initialize()': SDPUtils.cpp:198:13: warning: 'memset' used with constant zero length parameter; this could be due to transposed parameters [-Wmemset-transposed-args] 198 | ::memset(fFieldStr, sizeof(fFieldStr), 0); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SDPUtils.cpp: At global scope: SDPUtils.cpp:248:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 248 | StrPtrLen SDPLineSorter::sEOL("\r\n"); | ^~~~~~ SDPUtils.cpp:249:44: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 249 | 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 -pipe -O2 -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 -pipe -O2 -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 -pipe -O2 -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] 150 | 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] 150 | 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 -pipe -O2 -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] 190 | 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] 194 | 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] 195 | 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] 197 | 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] 199 | 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] 200 | 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] 201 | 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] 202 | DEBUG_PRINT(("QTAtom_hinf::DumpAtom - ..Total Immediate Bytes: %"_64BITARG_"u\n", this->GetTotalImmediateBytes())); | ^ c++ -fPIC -DDSS_USE_API_CALLBACKS -c -o QTAtom_mdhd.o -pipe -O2 -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] 104 | 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] 120 | 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 -pipe -O2 -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] 137 | 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] 172 | 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 -pipe -O2 -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] 145 | qtss_printf(" %10lu: %"_64BITARG_"u\n", CurEntry, offset); | ^ c++ -fPIC -DDSS_USE_API_CALLBACKS -c -o QTAtom_stsc.o -pipe -O2 -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] 335 | UInt32 thisChunk = 0; | ^~~~~~~~~ c++ -fPIC -DDSS_USE_API_CALLBACKS -c -o QTAtom_stsd.o -pipe -O2 -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 -pipe -O2 -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 -pipe -O2 -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 -pipe -O2 -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 -pipe -O2 -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] 128 | 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] 157 | 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 -pipe -O2 -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 -pipe -O2 -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] 744 | 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] 744 | 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] 755 | { 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] 755 | { 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] 763 | { 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] 763 | { 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] 952 | 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] 952 | 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:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 188 | QTSS_Error error = QTSS_GetAttrInfoByName(fMovieFD, "QTSSPosixFileSysModuleOSFileSource", &attrInfoObject); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c++ -fPIC -DDSS_USE_API_CALLBACKS -c -o QTFile_FileControlBlock.o -pipe -O2 -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 -pipe -O2 -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] 1154 | char *pDataTableStart; | ^~~~~~~~~~~~~~~ QTHintTrack.cpp:1254:26: warning: 'hdrData.QTHintTrackRTPHeaderData::tlvTimestampOffset' may be used uninitialized in this function [-Wmaybe-uninitialized] 1254 | tempInt32 += hdrData.tlvTimestampOffset; // rtpo tlv offset | ~~~~~~~~^~~~~~~~~~~~~~~~~~ QTHintTrack.cpp:560:62: warning: 'hdrData.QTHintTrackRTPHeaderData::dataEntryCount' may be used uninitialized in this function [-Wmaybe-uninitialized] 560 | htcb.fPointerToNextPacket = pSampleBuffer + (hdrData.dataEntryCount * 16); | ~~~~~~~~^~~~~~~~~~~~~~ QTHintTrack.cpp:1159:33: note: 'hdrData.QTHintTrackRTPHeaderData::dataEntryCount' was declared here 1159 | QTHintTrackRTPHeaderData hdrData; | ^~~~~~~ QTHintTrack.cpp:1209:5: warning: 'hdrData.QTHintTrackRTPHeaderData::hintFlags' may be used uninitialized in this function [-Wmaybe-uninitialized] 1209 | if ( hdrData.hintFlags & kRepeatPacketMask && (dropRepeatPackets)) | ^~ QTHintTrack.cpp:1203:64: warning: 'hdrData.QTHintTrackRTPHeaderData::relativePacketTransmissionTime' may be used uninitialized in this function [-Wmaybe-uninitialized] 1203 | + ( hdrData.relativePacketTransmissionTime * fMediaHeaderAtom->GetTimeScaleRecip() ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ QTHintTrack.cpp:1222:22: warning: 'hdrData.QTHintTrackRTPHeaderData::rtpSequenceNumber' may be used uninitialized in this function [-Wmaybe-uninitialized] 1222 | 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] 1243 | tempInt16 = hdrData.rtpHeaderBits | ntohs(0x8000) /* v2 RTP header */; | ^ c++ -fPIC -DDSS_USE_API_CALLBACKS -c -o QTRTPFile.o -pipe -O2 -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 -pipe -O2 -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 -pipe -O2 -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:68: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'UInt32' {aka 'unsigned int'} [-Wformat=] 70 | printf ("\nReached maximum configured output limit = %luK\n", sMaxTotalCharsInK); | ~~^ ~~~~~~~~~~~~~~~~~ | | | | | UInt32 {aka unsigned int} | long unsigned int | %u 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 -pipe -O2 -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 -pipe -O2 -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 -pipe -O2 -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] 150 | 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] 150 | 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 -pipe -O2 -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] 190 | 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] 194 | 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] 195 | 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] 197 | 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] 199 | 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] 200 | 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] 201 | 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] 202 | DEBUG_PRINT(("QTAtom_hinf::DumpAtom - ..Total Immediate Bytes: %"_64BITARG_"u\n", this->GetTotalImmediateBytes())); | ^ c++ -fPIC -c -o QTAtom_mdhd.xo -pipe -O2 -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] 104 | 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] 120 | 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 -pipe -O2 -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] 137 | 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] 172 | 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 -pipe -O2 -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] 145 | qtss_printf(" %10lu: %"_64BITARG_"u\n", CurEntry, offset); | ^ c++ -fPIC -c -o QTAtom_stsc.xo -pipe -O2 -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] 335 | UInt32 thisChunk = 0; | ^~~~~~~~~ c++ -fPIC -c -o QTAtom_stsd.xo -pipe -O2 -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 -pipe -O2 -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 -pipe -O2 -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 -pipe -O2 -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 -pipe -O2 -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] 128 | 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] 157 | 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 -pipe -O2 -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 -pipe -O2 -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] 744 | 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] 744 | 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] 755 | { 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] 755 | { 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] 763 | { 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] 763 | { 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] 952 | 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] 952 | DEBUG_PRINT(("%s[%03lu] AtomType=%c%c%c%c; AtomDataPos=%"_64BITARG_"u; AtomDataLength=%"_64BITARG_"u\n", | ^ c++ -fPIC -c -o QTFile_FileControlBlock.xo -pipe -O2 -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 -pipe -O2 -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] 1154 | char *pDataTableStart; | ^~~~~~~~~~~~~~~ QTHintTrack.cpp:1254:26: warning: 'hdrData.QTHintTrackRTPHeaderData::tlvTimestampOffset' may be used uninitialized in this function [-Wmaybe-uninitialized] 1254 | tempInt32 += hdrData.tlvTimestampOffset; // rtpo tlv offset | ~~~~~~~~^~~~~~~~~~~~~~~~~~ QTHintTrack.cpp:560:62: warning: 'hdrData.QTHintTrackRTPHeaderData::dataEntryCount' may be used uninitialized in this function [-Wmaybe-uninitialized] 560 | htcb.fPointerToNextPacket = pSampleBuffer + (hdrData.dataEntryCount * 16); | ~~~~~~~~^~~~~~~~~~~~~~ QTHintTrack.cpp:1159:33: note: 'hdrData.QTHintTrackRTPHeaderData::dataEntryCount' was declared here 1159 | QTHintTrackRTPHeaderData hdrData; | ^~~~~~~ QTHintTrack.cpp:1209:5: warning: 'hdrData.QTHintTrackRTPHeaderData::hintFlags' may be used uninitialized in this function [-Wmaybe-uninitialized] 1209 | if ( hdrData.hintFlags & kRepeatPacketMask && (dropRepeatPackets)) | ^~ QTHintTrack.cpp:1203:64: warning: 'hdrData.QTHintTrackRTPHeaderData::relativePacketTransmissionTime' may be used uninitialized in this function [-Wmaybe-uninitialized] 1203 | + ( hdrData.relativePacketTransmissionTime * fMediaHeaderAtom->GetTimeScaleRecip() ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ QTHintTrack.cpp:1222:22: warning: 'hdrData.QTHintTrackRTPHeaderData::rtpSequenceNumber' may be used uninitialized in this function [-Wmaybe-uninitialized] 1222 | 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] 1243 | tempInt16 = hdrData.rtpHeaderBits | ntohs(0x8000) /* v2 RTP header */; | ^ c++ -fPIC -c -o QTRTPFile.xo -pipe -O2 -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 -pipe -O2 -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 -pipe -O2 -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:68: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'UInt32' {aka 'unsigned int'} [-Wformat=] 70 | printf ("\nReached maximum configured output limit = %luK\n", sMaxTotalCharsInK); | ~~^ ~~~~~~~~~~~~~~~~~ | | | | | UInt32 {aka unsigned int} | long unsigned int | %u 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 cc -c -o CommonUtilitiesLib/daemon.o -pipe -O2 -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 /usr/include/unistd.h: In function 'daemon': CommonUtilitiesLib/daemon.c:79:15: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 79 | (void)chdir("/"); | ^~~~~~~~~~ c++ -fPIC -c -o Server.tproj/QTSSExpirationDate.o -pipe -O2 -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] 49 | char* QTSSExpirationDate::sExpirationDate = "3/15/2002"; | ^~~~~~~~~~~ Server.tproj/QTSSExpirationDate.cpp: In static member function 'static Bool16 QTSSExpirationDate::IsSoftwareExpired()': Server.tproj/QTSSExpirationDate.cpp:70:45: warning: format '%ld' expects argument of type 'long int*', but argument 3 has type 'SInt32*' {aka 'int*'} [-Wformat=] 70 | if (EOF == ::sscanf(sExpirationDate, "%ld/%ld/%ld", &expMonth, &expDay, &expYear)) | ~~^ ~~~~~~~~~ | | | | long int* SInt32* {aka int*} | %d Server.tproj/QTSSExpirationDate.cpp:70:49: warning: format '%ld' expects argument of type 'long int*', but argument 4 has type 'SInt32*' {aka 'int*'} [-Wformat=] 70 | if (EOF == ::sscanf(sExpirationDate, "%ld/%ld/%ld", &expMonth, &expDay, &expYear)) | ~~^ ~~~~~~~ | | | | long int* SInt32* {aka int*} | %d Server.tproj/QTSSExpirationDate.cpp:70:53: warning: format '%ld' expects argument of type 'long int*', but argument 5 has type 'SInt32*' {aka 'int*'} [-Wformat=] 70 | if (EOF == ::sscanf(sExpirationDate, "%ld/%ld/%ld", &expMonth, &expDay, &expYear)) | ~~^ ~~~~~~~~ | | | | long int* SInt32* {aka int*} | %d c++ -fPIC -c -o Server.tproj/QTSSCallbacks.o -pipe -O2 -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 APIStubLib/QTSS.h:33, from Server.tproj/QTSSCallbacks.h:37, from Server.tproj/QTSSCallbacks.cpp:33: CommonUtilitiesLib/StringFormatter.h: In member function 'void StringFormatter::PutFilePath(StrPtrLen*, StrPtrLen*)': CommonUtilitiesLib/OSHeaders.h:58:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 58 | #define kPathDelimiterString "/" | ^~~ CommonUtilitiesLib/StringFormatter.h:138:17: note: in expansion of macro 'kPathDelimiterString' 138 | Put(kPathDelimiterString); | ^~~~~~~~~~~~~~~~~~~~ In file included from CommonUtilitiesLib/TimeoutTask.h:44, 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:58: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 78 | IdleTask() : Task(), fIdleElem() { this->SetTaskName("IdleTask"); fIdleElem.SetEnclosingObject(this); } | ^~~~~~~~~~ In file included 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/TimeoutTask.h: In constructor 'TimeoutTaskThread::TimeoutTaskThread()': CommonUtilitiesLib/TimeoutTask.h:58:83: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 58 | TimeoutTaskThread() : IdleTask(), fMutex() {this->SetTaskName("TimeoutTask");} | ^~~~~~~~~~~~~ In file included from Server.tproj/QTSServerInterface.h:50, 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:126: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 48 | 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] 108 | if (inDictionary == NULL) | ^~ Server.tproj/QTSSCallbacks.cpp:111:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 111 | ((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] 834 | Task* curTask = NULL; | ^~~~~~~ In file included from CommonUtilitiesLib/OSRef.h:46, 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<T, K>::OSHashTable(UInt32) [with T = OSRef; K = OSRefKey; UInt32 = unsigned int]': CommonUtilitiesLib/OSRef.h:177:60: required from here CommonUtilitiesLib/OSHashTable.h:46:22: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] 46 | fHashTable = new ( T*[size] ); | ^~~~~~~~~~~~~~~~ CommonUtilitiesLib/OSHashTable.h: In instantiation of 'OSHashTable<T, K>::OSHashTable(UInt32) [with T = UDPDemuxerTask; K = UDPDemuxerKey; UInt32 = unsigned int]': CommonUtilitiesLib/UDPDemuxer.h:142:24: 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 -pipe -O2 -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] 51 | if (fMap != NULL) | ^~ Server.tproj/QTSSDictionary.cpp:53:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 53 | if (fMutexP == NULL) | ^~ Server.tproj/QTSSDictionary.cpp: In member function 'QTSS_Error QTSSDictionary::AddInstanceAttribute(const char*, QTSS_AttrFunctionPtr, QTSS_AttrDataType, QTSS_AttrPermission)': Server.tproj/QTSSDictionary.cpp:701:21: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct QTSSDictionary::DictValueElement' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 701 | ::memcpy(theNewArray, fInstanceAttrs, sizeof(DictValueElement) * fInstanceArraySize); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from Server.tproj/QTSSDictionary.cpp:34: Server.tproj/QTSSDictionary.h:192:16: note: 'struct QTSSDictionary::DictValueElement' declared here 192 | struct DictValueElement | ^~~~~~~~~~~~~~~~ c++ -fPIC -c -o Server.tproj/QTSSDataConverter.o -pipe -O2 -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] 205 | theFormat = "%"_64BITARG_"d"; | ^ Server.tproj/QTSSDataConverter.cpp:212:25: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] 212 | theFormat = "%"_64BITARG_"u"; | ^ Server.tproj/QTSSDataConverter.cpp:233:25: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] 233 | theFormat = "%"_64BITARG_"d"; | ^ Server.tproj/QTSSDataConverter.cpp:351:37: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] 351 | 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] 355 | 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] 367 | qtss_sprintf(theString, "%"_64BITARG_"d", *( SInt64*)inValue); | ^ Server.tproj/QTSSDataConverter.cpp:44:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 44 | static const StrPtrLen kEnabledStr("true"); | ^~~~~~ Server.tproj/QTSSDataConverter.cpp:45:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 45 | static const StrPtrLen kDisabledStr("false"); | ^~~~~~~ Server.tproj/QTSSDataConverter.cpp:49:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 49 | "Unknown", | ^~~~~~~~~ Server.tproj/QTSSDataConverter.cpp:50:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 50 | "CharArray", | ^~~~~~~~~~~ Server.tproj/QTSSDataConverter.cpp:51:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 51 | "Bool16", | ^~~~~~~~ Server.tproj/QTSSDataConverter.cpp:52:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 52 | "SInt16", | ^~~~~~~~ Server.tproj/QTSSDataConverter.cpp:53:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 53 | "UInt16", | ^~~~~~~~ Server.tproj/QTSSDataConverter.cpp:54:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 54 | "SInt32", | ^~~~~~~~ Server.tproj/QTSSDataConverter.cpp:55:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 55 | "UInt32", | ^~~~~~~~ Server.tproj/QTSSDataConverter.cpp:56:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 56 | "SInt64", | ^~~~~~~~ Server.tproj/QTSSDataConverter.cpp:57:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 57 | "UInt64", | ^~~~~~~~ Server.tproj/QTSSDataConverter.cpp:58:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 58 | "QTSS_Object", | ^~~~~~~~~~~~~ Server.tproj/QTSSDataConverter.cpp:59:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 59 | "QTSS_StreamRef", | ^~~~~~~~~~~~~~~~ Server.tproj/QTSSDataConverter.cpp:60:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 60 | "Float32", | ^~~~~~~~~ Server.tproj/QTSSDataConverter.cpp:61:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 61 | "Float64", | ^~~~~~~~~ Server.tproj/QTSSDataConverter.cpp:62:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 62 | "VoidPointer", | ^~~~~~~~~~~~~ Server.tproj/QTSSDataConverter.cpp:63:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 63 | "QTSS_TimeVal" | ^~~~~~~~~~~~~~ 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] 177 | theFormat = "%hu"; | ^~~~~ Server.tproj/QTSSDataConverter.cpp:184:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 184 | theFormat = "%hd"; | ^~~~~ Server.tproj/QTSSDataConverter.cpp:191:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 191 | theFormat = "%ld"; | ^~~~~ Server.tproj/QTSSDataConverter.cpp:198:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 198 | theFormat = "%lu"; | ^~~~~ Server.tproj/QTSSDataConverter.cpp:205:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 205 | theFormat = "%"_64BITARG_"d"; | ^~~~~~~~~~~~~~~~ Server.tproj/QTSSDataConverter.cpp:212:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 212 | theFormat = "%"_64BITARG_"u"; | ^~~~~~~~~~~~~~~~ Server.tproj/QTSSDataConverter.cpp:219:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 219 | theFormat = "%f"; | ^~~~ Server.tproj/QTSSDataConverter.cpp:226:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 226 | theFormat = "%f"; | ^~~~ Server.tproj/QTSSDataConverter.cpp:233:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 233 | theFormat = "%"_64BITARG_"d"; | ^~~~~~~~~~~~~~~~ Server.tproj/QTSSDataConverter.cpp: In static member function 'static QTSS_Error QTSSDataConverter::ConvertCHexStringToBytes(char*, void*, UInt32*)': Server.tproj/QTSSDataConverter.cpp:270:29: warning: array subscript has type 'char' [-Wchar-subscripts] 270 | char1 = sCharToNums[*inValueAsString++] * 16; | ^~~~~~~~~~~~~~~~~~ Server.tproj/QTSSDataConverter.cpp:272:33: warning: array subscript has type 'char' [-Wchar-subscripts] 272 | char2 = sCharToNums[*inValueAsString++]; | ^~~~~~~~~~~~~~~~~~ c++ -fPIC -c -o Server.tproj/QTSSErrorLogModule.o -pipe -O2 -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 APIStubLib/QTSS.h:33, from Server.tproj/QTSSErrorLogModule.h:37, from Server.tproj/QTSSErrorLogModule.cpp:35: CommonUtilitiesLib/StringFormatter.h: In member function 'void StringFormatter::PutFilePath(StrPtrLen*, StrPtrLen*)': CommonUtilitiesLib/OSHeaders.h:58:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 58 | #define kPathDelimiterString "/" | ^~~ CommonUtilitiesLib/StringFormatter.h:138:17: note: in expansion of macro 'kPathDelimiterString' 138 | Put(kPathDelimiterString); | ^~~~~~~~~~~~~~~~~~~~ In file included from CommonUtilitiesLib/TCPListenerSocket.h:41, from Server.tproj/QTSServerInterface.h:50, from Server.tproj/QTSSErrorLogModule.cpp:38: CommonUtilitiesLib/IdleTask.h: In constructor 'IdleTask::IdleTask()': CommonUtilitiesLib/IdleTask.h:78:58: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 78 | IdleTask() : Task(), fIdleElem() { this->SetTaskName("IdleTask"); fIdleElem.SetEnclosingObject(this); } | ^~~~~~~~~~ In file included from Server.tproj/QTSServerInterface.h:50, from Server.tproj/QTSSErrorLogModule.cpp:38: CommonUtilitiesLib/TCPListenerSocket.h: In constructor 'TCPListenerSocket::TCPListenerSocket()': CommonUtilitiesLib/TCPListenerSocket.h:48:126: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 48 | fAddr(0), fPort(0), fOutOfDescriptors(false), fSleepBetweenAccepts(false) {this->SetTaskName("TCPListenerSocket");} | ^~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSErrorLogModule.cpp: At global scope: Server.tproj/QTSSErrorLogModule.cpp:65:9: warning: deprecated conversion from string constant to 'LevelMsg' {aka 'char*'} [-Wwrite-strings] 65 | "FATAL:", | ^~~~~~~~ Server.tproj/QTSSErrorLogModule.cpp:66:9: warning: deprecated conversion from string constant to 'LevelMsg' {aka 'char*'} [-Wwrite-strings] 66 | "WARNING:", | ^~~~~~~~~~ Server.tproj/QTSSErrorLogModule.cpp:67:9: warning: deprecated conversion from string constant to 'LevelMsg' {aka 'char*'} [-Wwrite-strings] 67 | "INFO:", | ^~~~~~~ Server.tproj/QTSSErrorLogModule.cpp:68:9: warning: deprecated conversion from string constant to 'LevelMsg' {aka 'char*'} [-Wwrite-strings] 68 | "ASSERT:", | ^~~~~~~~~ Server.tproj/QTSSErrorLogModule.cpp:69:9: warning: deprecated conversion from string constant to 'LevelMsg' {aka 'char*'} [-Wwrite-strings] 69 | "DEBUG:" | ^~~~~~~~ Server.tproj/QTSSErrorLogModule.cpp: In constructor 'QTSSErrorLog::QTSSErrorLog()': Server.tproj/QTSSErrorLogModule.cpp:78:62: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 78 | QTSSErrorLog() : QTSSRollingLog() {this->SetTaskName("QTSSErrorLog");} | ^~~~~~~~~~~~~~ Server.tproj/QTSSErrorLogModule.cpp: In constructor 'ErrorLogCheckTask::ErrorLogCheckTask()': Server.tproj/QTSSErrorLogModule.cpp:96:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 96 | 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] 163 | static char* sModuleName = "QTSSErrorLogModule"; | ^~~~~~~~~~~~~~~~~~~~ In file included from CommonUtilitiesLib/OSRef.h:46, 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<T, K>::OSHashTable(UInt32) [with T = OSRef; K = OSRefKey; UInt32 = unsigned int]': CommonUtilitiesLib/OSRef.h:177:60: required from here CommonUtilitiesLib/OSHashTable.h:46:22: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] 46 | fHashTable = new ( T*[size] ); | ^~~~~~~~~~~~~~~~ c++ -fPIC -c -o Server.tproj/QTSSMessages.o -pipe -O2 -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:41:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 41 | /* 0 */ "qtssMsgNoMessage", | ^~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:42:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 42 | /* 1 */ "qtssMsgNoURLInRequest", | ^~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:43:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 43 | /* 2 */ "qtssMsgBadRTSPMethod", | ^~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:44:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 44 | /* 3 */ "qtssMsgNoRTSPVersion", | ^~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:45:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 45 | /* 4 */ "qtssMsgNoRTSPInURL", | ^~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:46:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 46 | /* 5 */ "qtssMsgURLTooLong", | ^~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:47:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 47 | /* 6 */ "qtssMsgURLInBadFormat", | ^~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:48:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 48 | /* 7 */ "qtssMsgNoColonAfterHeader", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:49:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 49 | /* 8 */ "qtssMsgNoEOLAfterHeader", | ^~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:50:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 50 | /* 9 */ "qtssMsgRequestTooLong", | ^~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:51:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 51 | /* 10*/ "qtssMsgNoModuleFolder", | ^~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:52:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 52 | /* 11*/ "qtssMsgCouldntListen", | ^~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:53:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 53 | /* 12*/ "qtssMsgInitFailed", | ^~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:54:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 54 | /* 13*/ "qtssMsgNotConfiguredForIP", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:55:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 55 | /* 14*/ "qtssMsgDefaultRTSPAddrUnavail", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:56:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 56 | /* 15*/ "qtssMsgBadModule", | ^~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:57:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 57 | /* 16*/ "qtssMsgRegFailed", | ^~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:58:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 58 | /* 17*/ "qtssMsgRefusingConnections", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:59:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 59 | /* 18*/ "qtssMsgTooManyClients", | ^~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:60:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 60 | /* 19*/ "qtssMsgTooMuchThruput", | ^~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:61:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 61 | /* 20*/ "qtssMsgNoSessionID", | ^~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:62:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 62 | /* 21*/ "qtssMsgFileNameTooLong", | ^~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:63:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 63 | /* 22*/ "qtssMsgNoClientPortInTransport", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:64:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 64 | /* 23*/ "qtssMsgRTPPortMustBeEven", | ^~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:65:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 65 | /* 24*/ "qtssMsgRTCPPortMustBeOneBigger", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:66:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 66 | /* 25*/ "qtssMsgOutOfPorts", | ^~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:67:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 67 | /* 26*/ "qtssMsgNoModuleForRequest", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:68:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 68 | /* 27*/ "qtssMsgAltDestNotAllowed", | ^~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:69:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 69 | /* 28*/ "qtssMsgCantSetupMulticast", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:70:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 70 | /* 29*/ "qtssListenPortInUse", | ^~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:71:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 71 | /* 30*/ "qtssListenPortAccessDenied", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:72:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 72 | /* 31*/ "qtssListenPortError", | ^~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:73:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 73 | /* 32*/ "qtssMsgBadBase64", | ^~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:74:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 74 | /* 33*/ "qtssMsgSomePortsFailed", | ^~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:75:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 75 | /* 34*/ "qtssMsgNoPortsSucceeded", | ^~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:76:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 76 | /* 35*/ "qtssMsgCannotCreatePidFile", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:77:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 77 | /* 36*/ "qtssMsgCannotSetRunUser", | ^~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:78:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 78 | /* 37*/ "qtssMsgCannotSetRunGroup", | ^~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:79:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 79 | /* 38*/ "qtssMsgNoSesIDOnDescribe", | ^~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:80:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 80 | /* 39*/ "qtssServerPrefMissing", | ^~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:81:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 81 | /* 40*/ "qtssServerPrefWrongType", | ^~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:82:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 82 | /* 41*/ "qtssMsgCantWriteFile", | ^~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:83:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 83 | /* 42*/ "qtssMsgSockBufSizesTooLarge", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:84:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 84 | /* 43*/ "qtssMsgBadFormat", | ^~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:88:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 88 | /* 44*/ "QTSSvrControlModuleCantRegisterMachPort", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:89:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 89 | /* 45*/ "QTSSvrControlModuleServerControlFatalErr", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:90:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 90 | /* 46*/ "QTSSReflectorModuleCantBindReflectorSocket", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:91:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 91 | /* 47*/ "QTSSReflectorModuleCantJoinMulticastGroup", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:92:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 92 | /* 48*/ "QTSSFileModuleSeekToNonExistentTime", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:93:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 93 | /* 49*/ "QTSSFileModuleNoSDPFileFound", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:94:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 94 | /* 50*/ "QTSSFileModuleBadQTFile", | ^~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:95:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 95 | /* 51*/ "QTSSFileModuleFileIsNotHinted", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:96:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 96 | /* 52*/ "QTSSFileModuleExpectedDigitFilename", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:97:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 97 | /* 53*/ "QTSSFileModuleTrackDoesntExist", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:98:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 98 | /* 54*/ "QTSSReflectorModuleExpectedDigitFilename", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:99:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 99 | /* 55*/ "QTSSSpamDefenseModuleTooManyConnections", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:100:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 100 | /* 56*/ "QTSSReflectorModuleBadTrackID", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:101:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 101 | /* 57*/ "QTSSAccessModuleBadAccessFileName", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:102:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 102 | /* 58*/ "QTSSReflectorModuleNoRelaySources", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:103:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 103 | /* 59*/ "QTSSReflectorModuleNoRelayDests", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:104:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 104 | /* 60*/ "QTSSReflectorModuleNoRelayStreams", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:105:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 105 | /* 61*/ "QTSSReflectorModuleNoRelayConfig", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:106:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 106 | /* 62*/ "QTSSReflectorModuleDuplicateBroadcastStream", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:107:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 107 | /* 63*/ "QTSSAccessModuleUsersFileNotFound", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:108:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 108 | /* 64*/ "QTSSAccessModuleGroupsFileNotFound", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:109:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 109 | /* 65*/ "QTSSAccessModuleBadUsersFile", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:110:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 110 | /* 66*/ "QTSSAccessModuleBadGroupsFile", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:111:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 111 | /* 67*/ "QTSSReflectorModuleAnnounceRequiresSDPSuffix", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:112:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 112 | /* 68*/ "QTSSReflectorModuleAnnounceDisabled", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:113:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 113 | /* 69*/ "QTSSReflectorModuleSDPPortMinimumPort", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:114:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 114 | /* 70*/ "QTSSReflectorModuleSDPPortMaximumPort", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:115:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 115 | /* 71*/ "QTSSReflectorModuleStaticPortsConflict", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:116:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 116 | /* 72*/ "QTSSReflectorModuleStaticPortPrefsBadRange", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:117:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 117 | /* 73*/ "QTSSRelayModulePrefParseError" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:124:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 124 | /* 0 */ "%s%s", | ^~~~~~ Server.tproj/QTSSMessages.cpp:125:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 125 | /* 1 */ "There was no URL contained in the following request: %s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:126:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 126 | /* 2 */ "The following RTSP method: %s, was not understood by the server", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:127:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 127 | /* 3 */ "There is no RTSP version in the following request: %s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:128:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 128 | /* 4 */ "Server expected 'rtsp://' and instead received: %s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:129:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 129 | /* 5 */ "The following URL is too long to be processed by the server: %s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:130:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 130 | /* 6 */ "The following URL is not in proper URL format: %s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:131:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 131 | /* 7 */ "There was no colon after a header in the following request: %s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:132:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 132 | /* 8 */ "There was no EOL after a header in the following request: %s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:133:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 133 | /* 9 */ "That request is too long to be processed by the server.", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:134:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 134 | /* 10*/ "No module folder exists.", | ^~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:135:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 135 | /* 11*/ "Streaming Server couldn't listen on a specified RTSP port. Quitting.", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:136:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 136 | /* 12*/ "The module %s failed to Initialize.", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:137:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 137 | /* 13*/ "This machine is currently not configured for IP.", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:138:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 138 | /* 14*/ "The specified RTSP listening IP address doesn't exist.", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:139:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 139 | /* 15*/ "The module %s is not a compatible QTSS API module.", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:140:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 140 | /* 16*/ "The module %s failed to Register.", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:141:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 141 | /* 17*/ "Streaming Server is currently refusing new connections", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:142:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 142 | /* 18*/ "Too many clients connected", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:143:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 143 | /* 19*/ "Too much bandwidth being served", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:144:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 144 | /* 20*/ "No active RTP session for that RTSP session ID", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:145:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 145 | /* 21*/ "Specified file name is too long to be handled by the server.", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:146:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 146 | /* 22*/ "No client port pair found in transport header", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:147:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 147 | /* 23*/ "Reported client RTP port is not an even number", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:148:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 148 | /* 24*/ "Reported client RTCP port is not one greater than RTP port", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:149:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 149 | /* 25*/ "Streaming Server couldn't find any available UDP ports", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:150:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 150 | /* 26*/ "There is no QTSS API module installed to process this request.", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:151:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 151 | /* 27*/ "Not allowed to specify an alternate destination address", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:152:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 152 | /* 28*/ "Can't setup multicast.", | ^~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:153:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 153 | /* 29*/ "Another process is already using the following RTSP port: %s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:154:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 154 | /* 30*/ "You must be root to use the following RTSP port: %s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:155:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 155 | /* 31*/ "An error occurred when attempting to listen on the following RTSP port: %s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:156:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 156 | /* 32*/ "The base64 you just sent to the server is corrupt!", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:157:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 157 | /* 33*/ "Streaming Server failed to listen on all requested RTSP port(s).", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:158:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 158 | /* 34*/ "Streaming Server is not listening for RTSP on any ports.", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:159:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 159 | /* 35*/ "Error creating pid file %s: %s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:160:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 160 | /* 36*/ "Error switching to user %s: %s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:161:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 161 | /* 37*/ "Error switching to group %s: %s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:162:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 162 | /* 38*/ "A DESCRIBE request cannot contain the Session header", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:163:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 163 | /* 39*/ "The following pref, %s, wasn't found. Using a default value of: %s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:164:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 164 | /* 40*/ "The following pref, %s, has the wrong type. Using a default value of: %s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:165:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 165 | /* 41*/ "Couldn't re-write server prefs file", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:166:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 166 | /* 42*/ "Couldn't set desired UDP receive socket buffer size. Using size of %s K", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:167:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 167 | /* 43*/ "The request is incorrectly formatted.", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:171:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 171 | /* 44*/ "Fatal error: Can't register Mach Ports.", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:172:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 172 | /* 45*/ "A fatal error occcured while starting up server control module", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:173:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 173 | /* 46*/ "Can't bind reflector sockets", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:174:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 174 | /* 47*/ "Reflector sockets couldn't join multicast", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:175:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 175 | /* 48*/ "Couldn't seek to specified time.", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:176:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 176 | /* 49*/ "No SDP file found for the following URL: %s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:177:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 177 | /* 50*/ "The requested file is not a movie file.", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:178:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 178 | /* 51*/ "Requested movie hasn't been hinted.", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:179:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 179 | /* 52*/ "Expected a digit at the end of the following URL: %s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:180:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 180 | /* 53*/ "Specified trackID doesn't exist in the movie", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:181:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 181 | /* 54*/ "Expected a digit at the end of the following URL: %s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:182:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 182 | /* 55*/ "Too many connections from your IP address!", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:183:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 183 | /* 56*/ "TrackID doesn't match any trackID for this ReflectorSession", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:184:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 184 | /* 57*/ "Invalid config value for qtaccessfilename: name contains %s. Now using default name:%s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:185:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 185 | /* 58*/ "The relay configuration file at: %s has no relay_source lines", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:186:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 186 | /* 59*/ "Could not find any relay_destination lines for one of the relay_source lines of the relay configuration file", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:187:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 187 | /* 60*/ "Could not find any input stream information for one of the relay_source lines of the relay configuration file", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:188:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 188 | /* 61*/ "Found an empty relay configuration file at %s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:189:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 189 | /* 62*/ "A broadcast stream is already setup for this URL", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:190:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 190 | /* 63*/ "No users file found at %s.", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:191:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 191 | /* 64*/ "No groups file found at %s.", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:192:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 192 | /* 65*/ "Unable to read the users file at %s. It may be corrupted.", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:193:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 193 | /* 66*/ "Unable to read the groups file at %s. It may be corrupted.", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:194:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 194 | /* 67*/ "The Announced file does not end with .sdp", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:195:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 195 | /* 68*/ "The Announce feature is disabled. Your request is denied.", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:196:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 196 | /* 69*/ "The SDP file's static port %s is less than the QTSSReflectorModule's minimum_static_sdp_port preference.", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:197:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 197 | /* 70*/ "The SDP file's static port %s is greater than the QTSSReflectorModule's maximum_static_sdp_port preference.", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:198:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 198 | /* 71*/ "The QTSSReflectorModule's minimum_static_sdp_port and maximum_static_sdp_port preferences conflict with the client and dynamic broadcast port range= %s to %s.", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:199:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 199 | /* 72*/ "The QTSSReflectorModule's minimum_static_sdp_port and maximum_static_sdp_port preferences define an invalid range (min=%s > max=%s).", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSSMessages.cpp:200:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 200 | /* 73*/ "The QTSSRelayModule encountered an error while parsing the relay config file. No relays setup in relayconfig.xml." | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c++ -fPIC -c -o Server.tproj/QTSSModule.o -pipe -O2 -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 APIStubLib/QTSS.h:33, from Server.tproj/QTSSModule.h:39, from Server.tproj/QTSSModule.cpp:35: CommonUtilitiesLib/StringFormatter.h: In member function 'void StringFormatter::PutFilePath(StrPtrLen*, StrPtrLen*)': CommonUtilitiesLib/OSHeaders.h:58:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 58 | #define kPathDelimiterString "/" | ^~~ CommonUtilitiesLib/StringFormatter.h:138:17: note: in expansion of macro 'kPathDelimiterString' 138 | Put(kPathDelimiterString); | ^~~~~~~~~~~~~~~~~~~~ In file included from CommonUtilitiesLib/TCPListenerSocket.h:41, from Server.tproj/QTSServerInterface.h:50, from Server.tproj/QTSSModule.cpp:40: CommonUtilitiesLib/IdleTask.h: In constructor 'IdleTask::IdleTask()': CommonUtilitiesLib/IdleTask.h:78:58: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 78 | IdleTask() : Task(), fIdleElem() { this->SetTaskName("IdleTask"); fIdleElem.SetEnclosingObject(this); } | ^~~~~~~~~~ In file included from Server.tproj/QTSServerInterface.h:50, from Server.tproj/QTSSModule.cpp:40: CommonUtilitiesLib/TCPListenerSocket.h: In constructor 'TCPListenerSocket::TCPListenerSocket()': CommonUtilitiesLib/TCPListenerSocket.h:48:126: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 48 | 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:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 76 | this->SetTaskName("QTSSModule"); | ^~~~~~~~~~~~ Server.tproj/QTSSModule.cpp: In member function 'QTSS_Error QTSSModule::LoadFromDisk(QTSS_Error (**)(void*))': Server.tproj/QTSSModule.cpp:146:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 146 | static StrPtrLen sMainEntrypointName("_Main"); | ^~~~~~~ In file included from CommonUtilitiesLib/OSRef.h:46, from CommonUtilitiesLib/EventContext.h:42, from CommonUtilitiesLib/Socket.h:43, from Server.tproj/QTSSModule.cpp:39: CommonUtilitiesLib/OSHashTable.h: In instantiation of 'OSHashTable<T, K>::OSHashTable(UInt32) [with T = OSRef; K = OSRefKey; UInt32 = unsigned int]': CommonUtilitiesLib/OSRef.h:177:60: required from here CommonUtilitiesLib/OSHashTable.h:46:22: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] 46 | fHashTable = new ( T*[size] ); | ^~~~~~~~~~~~~~~~ c++ -fPIC -c -o Server.tproj/QTSServerPrefs.o -pipe -O2 -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/StrPtrLen.h:43, from Server.tproj/QTSServerPrefs.h:35, from Server.tproj/QTSServerPrefs.cpp:34: CommonUtilitiesLib/StringFormatter.h: In member function 'void StringFormatter::PutFilePath(StrPtrLen*, StrPtrLen*)': CommonUtilitiesLib/OSHeaders.h:58:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 58 | #define kPathDelimiterString "/" | ^~~ CommonUtilitiesLib/StringFormatter.h:138:17: note: in expansion of macro 'kPathDelimiterString' 138 | Put(kPathDelimiterString); | ^~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSServerPrefs.cpp: At global scope: Server.tproj/QTSServerPrefs.cpp:50:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 50 | "7070", | ^~~~~~ Server.tproj/QTSServerPrefs.cpp:51:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 51 | "8000", | ^~~~~~ Server.tproj/QTSServerPrefs.cpp:52:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 52 | "8001", | ^~~~~~ Server.tproj/QTSServerPrefs.cpp:58:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 58 | "Real", | ^~~~~~ Server.tproj/QTSServerPrefs.cpp:64:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 64 | "Real", | ^~~~~~ Server.tproj/QTSServerPrefs.cpp:70:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 70 | "Real", | ^~~~~~ Server.tproj/QTSServerPrefs.cpp:71:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 71 | "PVPlayer", | ^~~~~~~~~~ Server.tproj/QTSServerPrefs.cpp:77:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 77 | { kDontAllowMultipleValues, "0", NULL }, //rtsp_timeout | ^~~ Server.tproj/QTSServerPrefs.cpp:78:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 78 | { kDontAllowMultipleValues, "180", NULL }, //real_rtsp_timeout | ^~~~~ Server.tproj/QTSServerPrefs.cpp:79:41: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 79 | { kDontAllowMultipleValues, "120", NULL }, //rtp_timeout | ^~~~~ Server.tproj/QTSServerPrefs.cpp:80:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 80 | { kDontAllowMultipleValues, "1000", NULL }, //maximum_connections | ^~~~~~ Server.tproj/QTSServerPrefs.cpp:81:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 81 | { kDontAllowMultipleValues, "102400", NULL }, //maximum_bandwidth | ^~~~~~~~ In file included from Server.tproj/QTSServerPrefs.cpp:38: ./defaultPaths.h:65:41: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 65 | # define DEFAULTPATHS_MOVIES_DIR "/usr/pkg/share/streaming/movies/" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./defaultPaths.h:65:41: note: in definition of macro 'DEFAULTPATHS_MOVIES_DIR' 65 | # define DEFAULTPATHS_MOVIES_DIR "/usr/pkg/share/streaming/movies/" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSServerPrefs.cpp:83:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 83 | { kAllowMultipleValues, "0", NULL }, //bind_ip_addr | ^~~ Server.tproj/QTSServerPrefs.cpp:84:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 84 | { kDontAllowMultipleValues, "false", NULL }, //break_on_assert | ^~~~~~~ Server.tproj/QTSServerPrefs.cpp:85:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 85 | { kDontAllowMultipleValues, "true", NULL }, //auto_restart | ^~~~~~ Server.tproj/QTSServerPrefs.cpp:86:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 86 | { kDontAllowMultipleValues, "1", NULL }, //total_bytes_update | ^~~ Server.tproj/QTSServerPrefs.cpp:87:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 87 | { kDontAllowMultipleValues, "60", NULL }, //average_bandwidth_update | ^~~~ Server.tproj/QTSServerPrefs.cpp:88:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 88 | { kDontAllowMultipleValues, "600", NULL }, //safe_play_duration | ^~~~~ In file included from Server.tproj/QTSServerPrefs.cpp:38: ./defaultPaths.h:63:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 63 | # define DEFAULTPATHS_SSM_DIR "/usr/pkg/libexec/StreamingServerModules/" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./defaultPaths.h:63:49: note: in definition of macro 'DEFAULTPATHS_SSM_DIR' 63 | # define DEFAULTPATHS_SSM_DIR "/usr/pkg/libexec/StreamingServerModules/" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSServerPrefs.cpp:90:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 90 | { kDontAllowMultipleValues, "Error", NULL }, //error_logfile_name | ^~~~~~~ In file included from Server.tproj/QTSServerPrefs.cpp:38: ./defaultPaths.h:64:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 64 | # define DEFAULTPATHS_LOG_DIR "/var/log/streaming/" | ^~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSServerPrefs.cpp:91:41: note: in expansion of macro 'DEFAULTPATHS_LOG_DIR' 91 | { kDontAllowMultipleValues, DEFAULTPATHS_LOG_DIR, NULL }, //error_logfile_dir | ^~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSServerPrefs.cpp:92:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 92 | { kDontAllowMultipleValues, "7", NULL }, //error_logfile_interval | ^~~ Server.tproj/QTSServerPrefs.cpp:93:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 93 | { kDontAllowMultipleValues, "256000", NULL }, //error_logfile_size | ^~~~~~~~ Server.tproj/QTSServerPrefs.cpp:94:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 94 | { kDontAllowMultipleValues, "2", NULL }, //error_logfile_verbosity | ^~~ Server.tproj/QTSServerPrefs.cpp:95:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 95 | { kDontAllowMultipleValues, "true", NULL }, //screen_logging | ^~~~~~ Server.tproj/QTSServerPrefs.cpp:96:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 96 | { kDontAllowMultipleValues, "true", NULL }, //error_logging | ^~~~~~ Server.tproj/QTSServerPrefs.cpp:97:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 97 | { kDontAllowMultipleValues, "1750", NULL }, //drop_all_video_delay | ^~~~~~ Server.tproj/QTSServerPrefs.cpp:98:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 98 | { kDontAllowMultipleValues, "0", NULL }, //start_thinning_delay | ^~~ Server.tproj/QTSServerPrefs.cpp:99:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 99 | { kDontAllowMultipleValues, "64", NULL }, //large_window_size | ^~~~ Server.tproj/QTSServerPrefs.cpp:100:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 100 | { kDontAllowMultipleValues, "200", NULL }, //window_size_threshold | ^~~~~ Server.tproj/QTSServerPrefs.cpp:101:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 101 | { kDontAllowMultipleValues, "8192", NULL }, //min_tcp_buffer_size | ^~~~~~ Server.tproj/QTSServerPrefs.cpp:102:41: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 102 | { kDontAllowMultipleValues, "200000", NULL }, //max_tcp_buffer_size | ^~~~~~~~ Server.tproj/QTSServerPrefs.cpp:103:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 103 | { kDontAllowMultipleValues, ".5", NULL }, //tcp_seconds_to_buffer | ^~~~ Server.tproj/QTSServerPrefs.cpp:104:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 104 | { kDontAllowMultipleValues, "false", NULL }, //do_report_http_connection_ip_address | ^~~~~~~ Server.tproj/QTSServerPrefs.cpp:105:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 105 | { kDontAllowMultipleValues, "Streaming Server", NULL }, //default_authorization_realm | ^~~~~~~~~~~~~~~~~~ Server.tproj/QTSServerPrefs.cpp:107:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 107 | { kDontAllowMultipleValues, "qtss", NULL }, //run_user_name | ^~~~~~ Server.tproj/QTSServerPrefs.cpp:108:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 108 | { kDontAllowMultipleValues, "qtss", NULL }, //run_group_name | ^~~~~~ Server.tproj/QTSServerPrefs.cpp:113:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 113 | { kDontAllowMultipleValues, "false", NULL }, //append_source_addr_in_transport | ^~~~~~~ Server.tproj/QTSServerPrefs.cpp:114:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 114 | { kAllowMultipleValues, "554", sAdditionalDefaultPorts }, //rtsp_ports | ^~~~~ Server.tproj/QTSServerPrefs.cpp:115:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 115 | { kDontAllowMultipleValues, "500", NULL }, //max_retransmit_delay | ^~~~~ Server.tproj/QTSServerPrefs.cpp:116:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 116 | { kDontAllowMultipleValues, "24", NULL }, //small_window_size | ^~~~ Server.tproj/QTSServerPrefs.cpp:117:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 117 | { kDontAllowMultipleValues, "false", NULL }, //ack_logging_enabled | ^~~~~~~ Server.tproj/QTSServerPrefs.cpp:118:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 118 | { kDontAllowMultipleValues, "100", NULL }, //rtcp_poll_interval | ^~~~~ Server.tproj/QTSServerPrefs.cpp:119:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 119 | { kDontAllowMultipleValues, "768", NULL }, //rtcp_rcv_buf_size | ^~~~~ Server.tproj/QTSServerPrefs.cpp:120:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 120 | { kDontAllowMultipleValues, "50", NULL }, //send_interval | ^~~~ Server.tproj/QTSServerPrefs.cpp:121:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 121 | { kDontAllowMultipleValues, "-2000", NULL }, //thick_all_the_way_delay | ^~~~~~~ Server.tproj/QTSServerPrefs.cpp:122:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 122 | { kDontAllowMultipleValues, "", NULL }, //alt_transport_src_ipaddr | ^~ Server.tproj/QTSServerPrefs.cpp:123:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 123 | { kDontAllowMultipleValues, "25", NULL }, //max_send_ahead_time | ^~~~ Server.tproj/QTSServerPrefs.cpp:124:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 124 | { kDontAllowMultipleValues, "true", NULL }, //reliable_udp_slow_start | ^~~~~~ Server.tproj/QTSServerPrefs.cpp:125:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 125 | { kDontAllowMultipleValues, "false", NULL }, //auto_delete_sdp_files | ^~~~~~~ Server.tproj/QTSServerPrefs.cpp:126:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 126 | { kDontAllowMultipleValues, "digest", NULL }, //authentication_scheme | ^~~~~~~~ Server.tproj/QTSServerPrefs.cpp:127:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 127 | { kDontAllowMultipleValues, "10", NULL }, //sdp_file_delete_interval_seconds | ^~~~ Server.tproj/QTSServerPrefs.cpp:128:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 128 | { kDontAllowMultipleValues, "false", NULL }, //auto_start | ^~~~~~~ Server.tproj/QTSServerPrefs.cpp:129:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 129 | { kDontAllowMultipleValues, "true", NULL }, //reliable_udp | ^~~~~~ In file included from Server.tproj/QTSServerPrefs.cpp:38: ./defaultPaths.h:59:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 59 | # define DEFAULTPATHS_DIRECTORY_SEPARATOR "/" | ^~~ Server.tproj/QTSServerPrefs.cpp:130:33: note: in expansion of macro 'DEFAULTPATHS_DIRECTORY_SEPARATOR' 130 | { kAllowMultipleValues, DEFAULTPATHS_DIRECTORY_SEPARATOR, NULL}, //reliable_udp_dirs (set all dirs) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSServerPrefs.cpp:131:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 131 | { kDontAllowMultipleValues, "false", NULL }, //reliable_udp_printfs | ^~~~~~~ Server.tproj/QTSServerPrefs.cpp:132:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 132 | { kDontAllowMultipleValues, "2500", NULL }, //drop_all_packets_delay | ^~~~~~ Server.tproj/QTSServerPrefs.cpp:133:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 133 | { kDontAllowMultipleValues, "1500", NULL }, //thin_all_the_way_delay | ^~~~~~ Server.tproj/QTSServerPrefs.cpp:134:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 134 | { kDontAllowMultipleValues, "750", NULL }, //always_thin_delay | ^~~~~ Server.tproj/QTSServerPrefs.cpp:135:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 135 | { kDontAllowMultipleValues, "250", NULL }, //start_thicking_delay | ^~~~~ Server.tproj/QTSServerPrefs.cpp:136:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 136 | { kDontAllowMultipleValues, "1000", NULL }, //quality_check_interval | ^~~~~~ Server.tproj/QTSServerPrefs.cpp:137:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 137 | { kDontAllowMultipleValues, "false", NULL }, //RTSP_error_message | ^~~~~~~ Server.tproj/QTSServerPrefs.cpp:138:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 138 | { kDontAllowMultipleValues, "false", NULL }, //RTSP_debug_printfs | ^~~~~~~ Server.tproj/QTSServerPrefs.cpp:142:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 142 | { kDontAllowMultipleValues, "false", NULL }, //enable_monitor_stats_file | ^~~~~~~ Server.tproj/QTSServerPrefs.cpp:144:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 144 | { kDontAllowMultipleValues, "10", NULL }, //monitor_stats_file_interval_seconds | ^~~~ Server.tproj/QTSServerPrefs.cpp:145:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 145 | { kDontAllowMultipleValues, "server_status", NULL }, //monitor_stats_file_name | ^~~~~~~~~~~~~~~ Server.tproj/QTSServerPrefs.cpp:146:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 146 | { kDontAllowMultipleValues, "false", NULL }, //enable_packet_header_printfs | ^~~~~~~ Server.tproj/QTSServerPrefs.cpp:147:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 147 | { kDontAllowMultipleValues, "rtp;rr;sr;app;ack;",NULL }, //packet_header_printf_options | ^~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSServerPrefs.cpp:148:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 148 | { kDontAllowMultipleValues, "2.0", NULL }, //overbuffer_rate | ^~~~~ Server.tproj/QTSServerPrefs.cpp:149:41: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 149 | { kDontAllowMultipleValues, "48", NULL }, //medium_window_size | ^~~~ Server.tproj/QTSServerPrefs.cpp:150:41: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 150 | { kDontAllowMultipleValues, "1000", NULL }, //window_size_max_threshold | ^~~~~~ Server.tproj/QTSServerPrefs.cpp:151:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 151 | { kDontAllowMultipleValues, "true", NULL }, //RTSP_server_info | ^~~~~~ Server.tproj/QTSServerPrefs.cpp:152:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 152 | { kDontAllowMultipleValues, "0", NULL }, //run_num_threads | ^~~ In file included from Server.tproj/QTSServerPrefs.cpp:38: ./defaultPaths.h:66:41: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 66 | # define DEFAULTPATHS_PID_DIR "/var/run/" Server.tproj/QTSServerPrefs.cpp:153:33: note: in expansion of macro 'DEFAULTPATHS_PID_DIR' 153 | { kDontAllowMultipleValues, DEFAULTPATHS_PID_DIR PLATFORM_SERVER_BIN_NAME ".pid", NULL }, //pid_file | ^~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSServerPrefs.cpp:154:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 154 | { kDontAllowMultipleValues, "false", NULL }, //force_logs_close_on_write | ^~~~~~~ Server.tproj/QTSServerPrefs.cpp:155:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 155 | { kDontAllowMultipleValues, "false", NULL }, //disable_thinning | ^~~~~~~ Server.tproj/QTSServerPrefs.cpp:156:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 156 | { kAllowMultipleValues, "Nokia", sRTP_Header_Players }, //player_requires_rtp_header_info | ^~~~~~~ Server.tproj/QTSServerPrefs.cpp:157:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 157 | { kAllowMultipleValues, "Nokia", sAdjust_Bandwidth_Players }, //player_requires_bandwidth_adjustment | ^~~~~~~ Server.tproj/QTSServerPrefs.cpp:158:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 158 | { kAllowMultipleValues, "Nokia", sNo_Pause_Time_Adjustment_Players } //player_requires_no_pause_time_adjustment | ^~~~~~~ Server.tproj/QTSServerPrefs.cpp: In member function 'void QTSServerPrefs::UpdateAuthScheme()': Server.tproj/QTSServerPrefs.cpp:518:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 518 | static StrPtrLen sNoAuthScheme("none"); | ^~~~~~ Server.tproj/QTSServerPrefs.cpp:519:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 519 | static StrPtrLen sBasicAuthScheme("basic"); | ^~~~~~~ Server.tproj/QTSServerPrefs.cpp:520:40: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 520 | static StrPtrLen sDigestAuthScheme("digest"); | ^~~~~~~~ Server.tproj/QTSServerPrefs.cpp: In member function 'void QTSServerPrefs::UpdatePrintfOptions()': Server.tproj/QTSServerPrefs.cpp:581:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 581 | if (theOptions->FindStringIgnoreCase("rtp")) | ^~~~~ Server.tproj/QTSServerPrefs.cpp:583:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 583 | if (theOptions->FindStringIgnoreCase("sr")) | ^~~~ Server.tproj/QTSServerPrefs.cpp:585:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 585 | if (theOptions->FindStringIgnoreCase("rr")) | ^~~~ Server.tproj/QTSServerPrefs.cpp:587:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 587 | if (theOptions->FindStringIgnoreCase("app")) | ^~~~~ Server.tproj/QTSServerPrefs.cpp:589:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 589 | if (theOptions->FindStringIgnoreCase("ack")) | ^~~~~ c++ -fPIC -c -o Server.tproj/QTSSSocket.o -pipe -O2 -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, from CommonUtilitiesLib/EventContext.h:42, from Server.tproj/QTSSSocket.h:41, from Server.tproj/QTSSSocket.cpp:36: CommonUtilitiesLib/OSHashTable.h: In instantiation of 'OSHashTable<T, K>::OSHashTable(UInt32) [with T = OSRef; K = OSRefKey; UInt32 = unsigned int]': CommonUtilitiesLib/OSRef.h:177:60: required from here CommonUtilitiesLib/OSHashTable.h:46:22: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] 46 | fHashTable = new ( T*[size] ); | ^~~~~~~~~~~~~~~~ c++ -fPIC -c -o Server.tproj/QTSSFile.o -pipe -O2 -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 APIStubLib/QTSS.h:33, from Server.tproj/QTSSDictionary.h:43, from Server.tproj/QTSSFile.h:35, from Server.tproj/QTSSFile.cpp:34: CommonUtilitiesLib/StringFormatter.h: In member function 'void StringFormatter::PutFilePath(StrPtrLen*, StrPtrLen*)': CommonUtilitiesLib/OSHeaders.h:58:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 58 | #define kPathDelimiterString "/" | ^~~ CommonUtilitiesLib/StringFormatter.h:138:17: note: in expansion of macro 'kPathDelimiterString' 138 | Put(kPathDelimiterString); | ^~~~~~~~~~~~~~~~~~~~ In file included from CommonUtilitiesLib/TCPListenerSocket.h:41, from Server.tproj/QTSServerInterface.h:50, from Server.tproj/QTSSFile.cpp:35: CommonUtilitiesLib/IdleTask.h: In constructor 'IdleTask::IdleTask()': CommonUtilitiesLib/IdleTask.h:78:58: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 78 | IdleTask() : Task(), fIdleElem() { this->SetTaskName("IdleTask"); fIdleElem.SetEnclosingObject(this); } | ^~~~~~~~~~ In file included from Server.tproj/QTSServerInterface.h:50, from Server.tproj/QTSSFile.cpp:35: CommonUtilitiesLib/TCPListenerSocket.h: In constructor 'TCPListenerSocket::TCPListenerSocket()': CommonUtilitiesLib/TCPListenerSocket.h:48:126: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 48 | fAddr(0), fPort(0), fOutOfDescriptors(false), fSleepBetweenAccepts(false) {this->SetTaskName("TCPListenerSocket");} | ^~~~~~~~~~~~~~~~~~~ In file included from CommonUtilitiesLib/OSRef.h:46, from CommonUtilitiesLib/EventContext.h:42, from Server.tproj/QTSSFile.h:39, from Server.tproj/QTSSFile.cpp:34: CommonUtilitiesLib/OSHashTable.h: In instantiation of 'OSHashTable<T, K>::OSHashTable(UInt32) [with T = OSRef; K = OSRefKey; UInt32 = unsigned int]': CommonUtilitiesLib/OSRef.h:177:60: required from here CommonUtilitiesLib/OSHashTable.h:46:22: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] 46 | fHashTable = new ( T*[size] ); | ^~~~~~~~~~~~~~~~ c++ -fPIC -c -o Server.tproj/QTSSPrefs.o -pipe -O2 -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 APIStubLib/QTSS.h:33, from Server.tproj/QTSSPrefs.h:35, from Server.tproj/QTSSPrefs.cpp:34: CommonUtilitiesLib/StringFormatter.h: In member function 'void StringFormatter::PutFilePath(StrPtrLen*, StrPtrLen*)': CommonUtilitiesLib/OSHeaders.h:58:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 58 | #define kPathDelimiterString "/" | ^~~ CommonUtilitiesLib/StringFormatter.h:138:17: note: in expansion of macro 'kPathDelimiterString' 138 | Put(kPathDelimiterString); | ^~~~~~~~~~~~~~~~~~~~ c++ -fPIC -c -o Server.tproj/QTSServer.o -pipe -O2 -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 APIStubLib/QTSS.h:33, from Server.tproj/QTSServerInterface.h:41, from Server.tproj/QTSServer.h:38, from Server.tproj/QTSServer.cpp:47: CommonUtilitiesLib/StringFormatter.h: In member function 'void StringFormatter::PutFilePath(StrPtrLen*, StrPtrLen*)': CommonUtilitiesLib/OSHeaders.h:58:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 58 | #define kPathDelimiterString "/" | ^~~ CommonUtilitiesLib/StringFormatter.h:138:17: note: in expansion of macro 'kPathDelimiterString' 138 | Put(kPathDelimiterString); | ^~~~~~~~~~~~~~~~~~~~ In file included from CommonUtilitiesLib/TCPListenerSocket.h:41, 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:58: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 78 | IdleTask() : Task(), fIdleElem() { this->SetTaskName("IdleTask"); fIdleElem.SetEnclosingObject(this); } | ^~~~~~~~~~ In file included from Server.tproj/QTSServerInterface.h:50, from Server.tproj/QTSServer.h:38, from Server.tproj/QTSServer.cpp:47: CommonUtilitiesLib/TCPListenerSocket.h: In constructor 'TCPListenerSocket::TCPListenerSocket()': CommonUtilitiesLib/TCPListenerSocket.h:48:126: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 48 | fAddr(0), fPort(0), fOutOfDescriptors(false), fSleepBetweenAccepts(false) {this->SetTaskName("TCPListenerSocket");} | ^~~~~~~~~~~~~~~~~~~ In file included from Server.tproj/RTSPResponseStream.h:41, 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:83: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 58 | TimeoutTaskThread() : IdleTask(), fMutex() {this->SetTaskName("TimeoutTask");} | ^~~~~~~~~~~~~ In file included from Server.tproj/QTSServer.cpp:84: Server.tproj/RTCPTask.h: In constructor 'RTCPTask::RTCPTask()': Server.tproj/RTCPTask.h:44:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 44 | 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] 121 | char* QTSServer::sPortPrefString = "rtsp_port"; | ^~~~~~~~~~~ Server.tproj/QTSServer.cpp: In member function 'Bool16 QTSServer::Initialize(XMLPrefsParser*, PrefsSource*, UInt16, Bool16)': Server.tproj/QTSServer.cpp:200:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 200 | QTSSModule* theLoggingModule = new QTSSModule("QTSSErrorLogModule"); | ^~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSServer.cpp: In member function 'void QTSServer::LoadCompiledInModules()': Server.tproj/QTSServer.cpp:627:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 627 | QTSSModule* theFileModule = new QTSSModule("QTSSFileModule"); | ^~~~~~~~~~~~~~~~ Server.tproj/QTSServer.cpp:631:53: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 631 | QTSSModule* theReflectorModule = new QTSSModule("QTSSReflectorModule"); | ^~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSServer.cpp:635:53: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 635 | QTSSModule* theRelayModule = new QTSSModule("QTSSRelayModule"); | ^~~~~~~~~~~~~~~~~ Server.tproj/QTSServer.cpp:639:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 639 | QTSSModule* theAccessLog = new QTSSModule("QTSSAccessLogModule"); | ^~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSServer.cpp:643:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 643 | QTSSModule* theFlowControl = new QTSSModule("QTSSFlowControlModule"); | ^~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSServer.cpp:647:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 647 | QTSSModule* theFileSysModule = new QTSSModule("QTSSPosixFileSysModule"); | ^~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSServer.cpp:651:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 651 | QTSSModule* theAdminModule = new QTSSModule("QTSSAdminModule"); | ^~~~~~~~~~~~~~~~~ Server.tproj/QTSServer.cpp:655:56: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 655 | QTSSModule* theMP3StreamingModule = new QTSSModule("QTSSMP3StreamingModule"); | ^~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSServer.cpp:665:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 665 | QTSSModule* theQTACESSmodule = new QTSSModule("QTSSAccessModule"); | ^~~~~~~~~~~~~~~~~~ Server.tproj/QTSServer.cpp: In member function 'void QTSServer::SetupPublicHeader()': Server.tproj/QTSServer.cpp:1039:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 1039 | sPublicHeaderFormatter.Put(", "); | ^~~~ In file included from CommonUtilitiesLib/OSRef.h:46, 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<T, K>::OSHashTable(UInt32) [with T = OSRef; K = OSRefKey; UInt32 = unsigned int]': CommonUtilitiesLib/OSRef.h:177:60: required from here CommonUtilitiesLib/OSHashTable.h:46:22: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] 46 | fHashTable = new ( T*[size] ); | ^~~~~~~~~~~~~~~~ CommonUtilitiesLib/OSHashTable.h: In instantiation of 'OSHashTable<T, K>::OSHashTable(UInt32) [with T = UDPDemuxerTask; K = UDPDemuxerKey; UInt32 = unsigned int]': CommonUtilitiesLib/UDPDemuxer.h:142:24: 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 -pipe -O2 -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] 66 | StrPtrLen QTSServerInterface::sServerBuildDateStr(__DATE__ ", "__TIME__); | ^ In file included from APIStubLib/QTSS.h:33, from Server.tproj/QTSServerInterface.h:41, from Server.tproj/QTSServerInterface.cpp:39: CommonUtilitiesLib/StringFormatter.h: In member function 'void StringFormatter::PutFilePath(StrPtrLen*, StrPtrLen*)': CommonUtilitiesLib/OSHeaders.h:58:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 58 | #define kPathDelimiterString "/" | ^~~ CommonUtilitiesLib/StringFormatter.h:138:17: note: in expansion of macro 'kPathDelimiterString' 138 | Put(kPathDelimiterString); | ^~~~~~~~~~~~~~~~~~~~ In file included from CommonUtilitiesLib/TCPListenerSocket.h:41, from Server.tproj/QTSServerInterface.h:50, from Server.tproj/QTSServerInterface.cpp:39: CommonUtilitiesLib/IdleTask.h: In constructor 'IdleTask::IdleTask()': CommonUtilitiesLib/IdleTask.h:78:58: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 78 | IdleTask() : Task(), fIdleElem() { this->SetTaskName("IdleTask"); fIdleElem.SetEnclosingObject(this); } | ^~~~~~~~~~ In file included from Server.tproj/QTSServerInterface.h:50, from Server.tproj/QTSServerInterface.cpp:39: CommonUtilitiesLib/TCPListenerSocket.h: In constructor 'TCPListenerSocket::TCPListenerSocket()': CommonUtilitiesLib/TCPListenerSocket.h:48:126: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 48 | fAddr(0), fPort(0), fOutOfDescriptors(false), fSleepBetweenAccepts(false) {this->SetTaskName("TCPListenerSocket");} | ^~~~~~~~~~~~~~~~~~~ In file included from Server.tproj/RTSPResponseStream.h:41, 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:83: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 58 | TimeoutTaskThread() : IdleTask(), fMutex() {this->SetTaskName("TimeoutTask");} | ^~~~~~~~~~~~~ Server.tproj/QTSServerInterface.cpp: At global scope: Server.tproj/QTSServerInterface.cpp:57:60: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 57 | StrPtrLen QTSServerInterface::sServerNameStr("DSS"); | ^~~~~ In file included from Server.tproj/QTSServerInterface.cpp:47: ./revision.h:30:24: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 30 | #define kVersionString "5.5.5" | ^~~~~~~ Server.tproj/QTSServerInterface.cpp:61:63: note: in expansion of macro 'kVersionString' 61 | StrPtrLen QTSServerInterface::sServerVersionStr(kVersionString); | ^~~~~~~~~~~~~~ ./revision.h:31:22: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 31 | #define kBuildString "489.16" | ^~~~~~~~ Server.tproj/QTSServerInterface.cpp:62:61: note: in expansion of macro 'kBuildString' 62 | StrPtrLen QTSServerInterface::sServerBuildStr(kBuildString); | ^~~~~~~~~~~~ ./revision.h:37:24: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 37 | #define kCommentString "Release/Darwin; state/beta; " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSServerInterface.cpp:63:63: note: in expansion of macro 'kCommentString' 63 | StrPtrLen QTSServerInterface::sServerCommentStr(kCommentString); | ^~~~~~~~~~~~~~ In file included from <command-line>: ./PlatformHeader.h:101:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 101 | #define kPlatformNameString "Linux" | ^~~~~~~ Server.tproj/QTSServerInterface.cpp:65:64: note: in expansion of macro 'kPlatformNameString' 65 | StrPtrLen QTSServerInterface::sServerPlatformStr(kPlatformNameString); | ^~~~~~~~~~~~~~~~~~~ Server.tproj/QTSServerInterface.cpp:66:65: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 66 | StrPtrLen QTSServerInterface::sServerBuildDateStr(__DATE__ ", "__TIME__); | ^~~~~~~~~~~~~~~~~~~~~ Server.tproj/QTSServerInterface.cpp: In static member function 'static void QTSServerInterface::Initialize()': Server.tproj/QTSServerInterface.cpp:161:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 161 | serverFormatter.Put(": "); | ^~~~ Server.tproj/QTSServerInterface.cpp:168:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 168 | serverFormatter.Put("Build/"); | ^~~~~~~~ Server.tproj/QTSServerInterface.cpp:170:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 170 | serverFormatter.Put("; "); | ^~~~ Server.tproj/QTSServerInterface.cpp:171:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 171 | serverFormatter.Put("Platform/"); | ^~~~~~~~~~~ Server.tproj/QTSServerInterface.cpp: In constructor 'RTPStatsUpdaterTask::RTPStatsUpdaterTask()': Server.tproj/QTSServerInterface.cpp:342:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 342 | this->SetTaskName("RTPStatsUpdaterTask"); | ^~~~~~~~~~~~~~~~~~~~~ In file included from CommonUtilitiesLib/OSRef.h:46, 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<T, K>::OSHashTable(UInt32) [with T = OSRef; K = OSRefKey; UInt32 = unsigned int]': CommonUtilitiesLib/OSRef.h:177:60: required from here CommonUtilitiesLib/OSHashTable.h:46:22: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] 46 | fHashTable = new ( T*[size] ); | ^~~~~~~~~~~~~~~~ CommonUtilitiesLib/OSHashTable.h: In instantiation of 'OSHashTable<T, K>::OSHashTable(UInt32) [with T = UDPDemuxerTask; K = UDPDemuxerKey; UInt32 = unsigned int]': CommonUtilitiesLib/UDPDemuxer.h:142:24: 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<OSRef, OSRefKey>::fCurrent' may be used uninitialized in this function [-Wmaybe-uninitialized] 142 | fCurrent = fCurrent->fNextHashEntry; | ~~~~~~~~~~^~~~~~~~~~~~~~ Server.tproj/QTSServerInterface.cpp:294:29: note: 'theIter.OSHashTableIter<OSRef, OSRefKey>::fCurrent' was declared here 294 | for (OSRefHashTableIter theIter(fRTPMap->GetHashTable()); !theIter.IsDone(); theIter.Next()) | ^~~~~~~ Server.tproj/QTSServerInterface.cpp: In member function 'RTPSessionInterface* RTPStatsUpdaterTask::GetNewestSession(OSRefTable*)': Server.tproj/QTSServerInterface.cpp:516:71: warning: 'theIter.OSHashTableIter<OSRef, OSRefKey>::fCurrent' may be used uninitialized [-Wmaybe-uninitialized] 516 | for (OSRefHashTableIter theIter(inRTPSessionMap->GetHashTable()); !theIter.IsDone(); theIter.Next()) | ^~~~~~~~~~~~~~~~~ c++ -fPIC -c -o Server.tproj/RTCPTask.o -pipe -O2 -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: Server.tproj/RTCPTask.h: In constructor 'RTCPTask::RTCPTask()': Server.tproj/RTCPTask.h:44:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 44 | RTCPTask() : Task() {this->SetTaskName("RTCPTask"); this->Signal(Task::kStartEvent); } | ^~~~~~~~~~ In file included from CommonUtilitiesLib/OSQueue.h:37, from CommonUtilitiesLib/Task.h:48, from Server.tproj/RTCPTask.h:37, from Server.tproj/RTCPTask.cpp:36: CommonUtilitiesLib/StringFormatter.h: In member function 'void StringFormatter::PutFilePath(StrPtrLen*, StrPtrLen*)': CommonUtilitiesLib/OSHeaders.h:58:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 58 | #define kPathDelimiterString "/" | ^~~ CommonUtilitiesLib/StringFormatter.h:138:17: note: in expansion of macro 'kPathDelimiterString' 138 | Put(kPathDelimiterString); | ^~~~~~~~~~~~~~~~~~~~ In file included from CommonUtilitiesLib/TCPListenerSocket.h:41, from Server.tproj/QTSServerInterface.h:50, from Server.tproj/RTCPTask.cpp:37: CommonUtilitiesLib/IdleTask.h: In constructor 'IdleTask::IdleTask()': CommonUtilitiesLib/IdleTask.h:78:58: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 78 | IdleTask() : Task(), fIdleElem() { this->SetTaskName("IdleTask"); fIdleElem.SetEnclosingObject(this); } | ^~~~~~~~~~ In file included from Server.tproj/QTSServerInterface.h:50, from Server.tproj/RTCPTask.cpp:37: CommonUtilitiesLib/TCPListenerSocket.h: In constructor 'TCPListenerSocket::TCPListenerSocket()': CommonUtilitiesLib/TCPListenerSocket.h:48:126: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 48 | fAddr(0), fPort(0), fOutOfDescriptors(false), fSleepBetweenAccepts(false) {this->SetTaskName("TCPListenerSocket");} | ^~~~~~~~~~~~~~~~~~~ In file included 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/RTCPTask.cpp:39: CommonUtilitiesLib/TimeoutTask.h: In constructor 'TimeoutTaskThread::TimeoutTaskThread()': CommonUtilitiesLib/TimeoutTask.h:58:83: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 58 | TimeoutTaskThread() : IdleTask(), fMutex() {this->SetTaskName("TimeoutTask");} | ^~~~~~~~~~~~~ In file included from CommonUtilitiesLib/OSRef.h:46, 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<T, K>::OSHashTable(UInt32) [with T = OSRef; K = OSRefKey; UInt32 = unsigned int]': CommonUtilitiesLib/OSRef.h:177:60: required from here CommonUtilitiesLib/OSHashTable.h:46:22: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] 46 | fHashTable = new ( T*[size] ); | ^~~~~~~~~~~~~~~~ CommonUtilitiesLib/OSHashTable.h: In instantiation of 'OSHashTable<T, K>::OSHashTable(UInt32) [with T = UDPDemuxerTask; K = UDPDemuxerKey; UInt32 = unsigned int]': CommonUtilitiesLib/UDPDemuxer.h:142:24: 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 -pipe -O2 -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 APIStubLib/QTSS.h:33, from Server.tproj/QTSSDictionary.h:43, from Server.tproj/RTPSessionInterface.h:39, from Server.tproj/RTPSession.h:48, from Server.tproj/RTPSession.cpp:36: CommonUtilitiesLib/StringFormatter.h: In member function 'void StringFormatter::PutFilePath(StrPtrLen*, StrPtrLen*)': CommonUtilitiesLib/OSHeaders.h:58:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 58 | #define kPathDelimiterString "/" | ^~~ CommonUtilitiesLib/StringFormatter.h:138:17: note: in expansion of macro 'kPathDelimiterString' 138 | Put(kPathDelimiterString); | ^~~~~~~~~~~~~~~~~~~~ In file included from CommonUtilitiesLib/TimeoutTask.h:44, 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:58: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 78 | IdleTask() : Task(), fIdleElem() { this->SetTaskName("IdleTask"); fIdleElem.SetEnclosingObject(this); } | ^~~~~~~~~~ In file included 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/TimeoutTask.h: In constructor 'TimeoutTaskThread::TimeoutTaskThread()': CommonUtilitiesLib/TimeoutTask.h:58:83: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 58 | TimeoutTaskThread() : IdleTask(), fMutex() {this->SetTaskName("TimeoutTask");} | ^~~~~~~~~~~~~ In file included from Server.tproj/QTSServerInterface.h:50, 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:126: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 48 | fAddr(0), fPort(0), fOutOfDescriptors(false), fSleepBetweenAccepts(false) {this->SetTaskName("TCPListenerSocket");} | ^~~~~~~~~~~~~~~~~~~ Server.tproj/RTPSession.cpp: In constructor 'RTPSession::RTPSession()': Server.tproj/RTPSession.cpp:64:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 64 | this->SetTaskName("RTPSession"); | ^~~~~~~~~~~~ Server.tproj/RTPSession.cpp: In member function 'void RTPSession::SendDescribeResponse(RTSPRequestInterface*)': Server.tproj/RTPSession.cpp:440:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 440 | static StrPtrLen sContentType("application/sdp"); | ^~~~~~~~~~~~~~~~~ Server.tproj/RTPSession.cpp:444:46: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 444 | static StrPtrLen sRetransmitProtocolName("our-retransmit"); | ^~~~~~~~~~~~~~~~ Server.tproj/RTPSession.cpp:448:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 448 | static StrPtrLen dynamicRateEnabledStr("1"); | ^~~ In file included from CommonUtilitiesLib/OSRef.h:46, 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<T, K>::OSHashTable(UInt32) [with T = OSRef; K = OSRefKey; UInt32 = unsigned int]': CommonUtilitiesLib/OSRef.h:177:60: required from here CommonUtilitiesLib/OSHashTable.h:46:22: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] 46 | fHashTable = new ( T*[size] ); | ^~~~~~~~~~~~~~~~ CommonUtilitiesLib/OSHashTable.h: In instantiation of 'OSHashTable<T, K>::OSHashTable(UInt32) [with T = UDPDemuxerTask; K = UDPDemuxerKey; UInt32 = unsigned int]': CommonUtilitiesLib/UDPDemuxer.h:142:24: 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 -pipe -O2 -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/PLDoubleLinkedList.h:33, from Server.tproj/RTPPacketResender.h:39, from Server.tproj/RTPPacketResender.cpp:35: CommonUtilitiesLib/StringFormatter.h: In member function 'void StringFormatter::PutFilePath(StrPtrLen*, StrPtrLen*)': CommonUtilitiesLib/OSHeaders.h:58:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 58 | #define kPathDelimiterString "/" | ^~~ CommonUtilitiesLib/StringFormatter.h:138:17: note: in expansion of macro 'kPathDelimiterString' 138 | Put(kPathDelimiterString); | ^~~~~~~~~~~~~~~~~~~~ In file included from CommonUtilitiesLib/TimeoutTask.h:44, 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:58: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 78 | IdleTask() : Task(), fIdleElem() { this->SetTaskName("IdleTask"); fIdleElem.SetEnclosingObject(this); } | ^~~~~~~~~~ In file included 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/TimeoutTask.h: In constructor 'TimeoutTaskThread::TimeoutTaskThread()': CommonUtilitiesLib/TimeoutTask.h:58:83: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 58 | TimeoutTaskThread() : IdleTask(), fMutex() {this->SetTaskName("TimeoutTask");} | ^~~~~~~~~~~~~ In file included from Server.tproj/QTSServerInterface.h:50, 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:126: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 48 | fAddr(0), fPort(0), fOutOfDescriptors(false), fSleepBetweenAccepts(false) {this->SetTaskName("TCPListenerSocket");} | ^~~~~~~~~~~~~~~~~~~ In file included from CommonUtilitiesLib/OSRef.h:46, 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<T, K>::OSHashTable(UInt32) [with T = OSRef; K = OSRefKey; UInt32 = unsigned int]': CommonUtilitiesLib/OSRef.h:177:60: required from here CommonUtilitiesLib/OSHashTable.h:46:22: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] 46 | fHashTable = new ( T*[size] ); | ^~~~~~~~~~~~~~~~ CommonUtilitiesLib/OSHashTable.h: In instantiation of 'OSHashTable<T, K>::OSHashTable(UInt32) [with T = UDPDemuxerTask; K = UDPDemuxerKey; UInt32 = unsigned int]': CommonUtilitiesLib/UDPDemuxer.h:142:24: 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 -pipe -O2 -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 -pipe -O2 -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 -pipe -O2 -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] 349 | qtss_sprintf(curTimeStr, "%"_64BITARG_"d", curTime); | ^ In file included from APIStubLib/QTSS.h:33, from Server.tproj/QTSSDictionary.h:43, from Server.tproj/RTPSessionInterface.h:39, from Server.tproj/RTPSessionInterface.cpp:36: CommonUtilitiesLib/StringFormatter.h: In member function 'void StringFormatter::PutFilePath(StrPtrLen*, StrPtrLen*)': CommonUtilitiesLib/OSHeaders.h:58:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 58 | #define kPathDelimiterString "/" | ^~~ CommonUtilitiesLib/StringFormatter.h:138:17: note: in expansion of macro 'kPathDelimiterString' 138 | Put(kPathDelimiterString); | ^~~~~~~~~~~~~~~~~~~~ In file included from CommonUtilitiesLib/TimeoutTask.h:44, 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:58: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 78 | IdleTask() : Task(), fIdleElem() { this->SetTaskName("IdleTask"); fIdleElem.SetEnclosingObject(this); } | ^~~~~~~~~~ In file included 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/TimeoutTask.h: In constructor 'TimeoutTaskThread::TimeoutTaskThread()': CommonUtilitiesLib/TimeoutTask.h:58:83: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 58 | TimeoutTaskThread() : IdleTask(), fMutex() {this->SetTaskName("TimeoutTask");} | ^~~~~~~~~~~~~ In file included from Server.tproj/QTSServerInterface.h:50, from Server.tproj/RTPSessionInterface.h:48, from Server.tproj/RTPSessionInterface.cpp:36: CommonUtilitiesLib/TCPListenerSocket.h: In constructor 'TCPListenerSocket::TCPListenerSocket()': CommonUtilitiesLib/TCPListenerSocket.h:48:126: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 48 | fAddr(0), fPort(0), fOutOfDescriptors(false), fSleepBetweenAccepts(false) {this->SetTaskName("TCPListenerSocket");} | ^~~~~~~~~~~~~~~~~~~ Server.tproj/RTPSessionInterface.cpp: In constructor 'RTPSessionInterface::RTPSessionInterface()': Server.tproj/RTPSessionInterface.cpp:136:96: warning: conversion from 'long unsigned int' to 'UInt32' {aka 'unsigned int'} changes value from '18446744073709551615' to '4294967295' [-Woverflow] 136 | fOverbufferWindow(QTSServerInterface::GetServer()->GetPrefs()->GetSendIntervalInMsec(),kUInt32_Max, QTSServerInterface::GetServer()->GetPrefs()->GetMaxSendAheadTimeInSecs(), | ^~~~~~~~~~~ In file included from CommonUtilitiesLib/OSRef.h:46, 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<T, K>::OSHashTable(UInt32) [with T = OSRef; K = OSRefKey; UInt32 = unsigned int]': CommonUtilitiesLib/OSRef.h:177:60: required from here CommonUtilitiesLib/OSHashTable.h:46:22: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] 46 | fHashTable = new ( T*[size] ); | ^~~~~~~~~~~~~~~~ CommonUtilitiesLib/OSHashTable.h: In instantiation of 'OSHashTable<T, K>::OSHashTable(UInt32) [with T = UDPDemuxerTask; K = UDPDemuxerKey; UInt32 = unsigned int]': CommonUtilitiesLib/UDPDemuxer.h:142:24: 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 -pipe -O2 -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 APIStubLib/QTSS.h:33, from Server.tproj/RTPStream.h:43, from Server.tproj/RTPStream.cpp:38: CommonUtilitiesLib/StringFormatter.h: In member function 'void StringFormatter::PutFilePath(StrPtrLen*, StrPtrLen*)': CommonUtilitiesLib/OSHeaders.h:58:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 58 | #define kPathDelimiterString "/" | ^~~ CommonUtilitiesLib/StringFormatter.h:138:17: note: in expansion of macro 'kPathDelimiterString' 138 | Put(kPathDelimiterString); | ^~~~~~~~~~~~~~~~~~~~ In file included from CommonUtilitiesLib/TimeoutTask.h:44, 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:58: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 78 | IdleTask() : Task(), fIdleElem() { this->SetTaskName("IdleTask"); fIdleElem.SetEnclosingObject(this); } | ^~~~~~~~~~ In file included 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/TimeoutTask.h: In constructor 'TimeoutTaskThread::TimeoutTaskThread()': CommonUtilitiesLib/TimeoutTask.h:58:83: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 58 | TimeoutTaskThread() : IdleTask(), fMutex() {this->SetTaskName("TimeoutTask");} | ^~~~~~~~~~~~~ In file included from Server.tproj/QTSServerInterface.h:50, 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:126: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 48 | fAddr(0), fPort(0), fOutOfDescriptors(false), fSleepBetweenAccepts(false) {this->SetTaskName("TCPListenerSocket");} | ^~~~~~~~~~~~~~~~~~~ Server.tproj/RTPStream.cpp: At global scope: Server.tproj/RTPStream.cpp:104:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 104 | StrPtrLen("0"), | ^~~ Server.tproj/RTPStream.cpp:105:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 105 | StrPtrLen("1"), | ^~~ Server.tproj/RTPStream.cpp:106:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 106 | StrPtrLen("2"), | ^~~ Server.tproj/RTPStream.cpp:107:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 107 | StrPtrLen("3"), | ^~~ Server.tproj/RTPStream.cpp:108:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 108 | StrPtrLen("4"), | ^~~ Server.tproj/RTPStream.cpp:109:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 109 | StrPtrLen("5"), | ^~~ Server.tproj/RTPStream.cpp:110:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 110 | StrPtrLen("6"), | ^~~ Server.tproj/RTPStream.cpp:111:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 111 | StrPtrLen("7"), | ^~~ Server.tproj/RTPStream.cpp:112:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 112 | StrPtrLen("8"), | ^~~ Server.tproj/RTPStream.cpp:113:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 113 | StrPtrLen("9") | ^~~ Server.tproj/RTPStream.cpp:116:27: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 116 | char *RTPStream::noType = "no-type"; | ^~~~~~~~~ Server.tproj/RTPStream.cpp:117:24: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 117 | char *RTPStream::UDP = "UDP"; | ^~~~~ Server.tproj/RTPStream.cpp:118:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 118 | char *RTPStream::RUDP = "RUDP"; | ^~~~~~ Server.tproj/RTPStream.cpp:119:24: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 119 | 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] 379 | 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' 384 | 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] 389 | if ((fTransportType == qtssRTPTransportTypeReliableUDP) && (inFlags & qtssASFlagsForceUDPTransport)) | ^~ Server.tproj/RTPStream.cpp:394:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 394 | this->SetOverBufferState(request); | ^~~~ Server.tproj/RTPStream.cpp:400:56: warning: conversion from 'long unsigned int' to 'UInt32' {aka 'unsigned int'} changes value from '18446744073709551615' to '4294967295' [-Woverflow] 400 | fSession->GetOverbufferWindow()->SetWindowSize(kUInt32_Max); | ^~~~~~~~~~~ Server.tproj/RTPStream.cpp:489:16: warning: variable 'useSlowStart' set but not used [-Wunused-but-set-variable] 489 | 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] 548 | if ((theRetrHdr->Len > 0) && (fTransportType == qtssRTPTransportTypeReliableUDP)) | ^~ Server.tproj/RTPStream.cpp:552:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 552 | SInt32 theRequestedRate =inRequest->GetDynamicRateState(); | ^~~~~~ Server.tproj/RTPStream.cpp:553:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 553 | static StrPtrLen sHeaderOn("1",1); | ^~~ Server.tproj/RTPStream.cpp:554:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 554 | 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] 1015 | static SInt64 startTime = -1; | ^~~~~~~~~ Server.tproj/RTPStream.cpp:1018:31: warning: variable 'firstTime' set but not used [-Wunused-but-set-variable] 1018 | 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] 1475 | static char* rr="RR"; | ^~~~ Server.tproj/RTPStream.cpp:1476:22: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 1476 | static char* ack="ACK"; | ^~~~~ Server.tproj/RTPStream.cpp:1477:22: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 1477 | static char* app="APP"; | ^~~~~ Server.tproj/RTPStream.cpp:1478:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 1478 | static char* sTypeAudio=" type=audio"; | ^~~~~~~~~~~~~ Server.tproj/RTPStream.cpp:1479:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 1479 | static char* sTypeVideo=" type=video"; | ^~~~~~~~~~~~~ Server.tproj/RTPStream.cpp:1480:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 1480 | static char* sUnknownTypeStr = "?"; | ^~~ In file included from CommonUtilitiesLib/UDPDemuxer.h:38, from Server.tproj/RTPStream.h:47, from Server.tproj/RTPStream.cpp:38: CommonUtilitiesLib/OSHashTable.h: In instantiation of 'OSHashTable<T, K>::OSHashTable(UInt32) [with T = UDPDemuxerTask; K = UDPDemuxerKey; UInt32 = unsigned int]': CommonUtilitiesLib/UDPDemuxer.h:142:24: required from here CommonUtilitiesLib/OSHashTable.h:46:22: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] 46 | fHashTable = new ( T*[size] ); | ^~~~~~~~~~~~~~~~ CommonUtilitiesLib/OSHashTable.h: In instantiation of 'OSHashTable<T, K>::OSHashTable(UInt32) [with T = OSRef; K = OSRefKey; UInt32 = unsigned int]': CommonUtilitiesLib/OSRef.h:177:60: 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 -pipe -O2 -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:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 35 | StrPtrLen RTSPProtocol::sRetrProtName("our-retransmit"); | ^~~~~~~~~~~~~~~~ Server.tproj/RTSPProtocol.cpp:39:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 39 | StrPtrLen("DESCRIBE"), | ^~~~~~~~~~ Server.tproj/RTSPProtocol.cpp:40:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 40 | StrPtrLen("SETUP"), | ^~~~~~~ Server.tproj/RTSPProtocol.cpp:41:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 41 | StrPtrLen("TEARDOWN"), | ^~~~~~~~~~ Server.tproj/RTSPProtocol.cpp:42:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 42 | StrPtrLen("PLAY"), | ^~~~~~ Server.tproj/RTSPProtocol.cpp:43:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 43 | StrPtrLen("PAUSE"), | ^~~~~~~ Server.tproj/RTSPProtocol.cpp:44:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 44 | StrPtrLen("OPTIONS"), | ^~~~~~~~~ Server.tproj/RTSPProtocol.cpp:45:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 45 | StrPtrLen("ANNOUNCE"), | ^~~~~~~~~~ Server.tproj/RTSPProtocol.cpp:46:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 46 | StrPtrLen("GET_PARAMETER"), | ^~~~~~~~~~~~~~~ Server.tproj/RTSPProtocol.cpp:47:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 47 | StrPtrLen("SET_PARAMETER"), | ^~~~~~~~~~~~~~~ Server.tproj/RTSPProtocol.cpp:48:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 48 | StrPtrLen("REDIRECT"), | ^~~~~~~~~~ Server.tproj/RTSPProtocol.cpp:49:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 49 | StrPtrLen("RECORD") | ^~~~~~~~ Server.tproj/RTSPProtocol.cpp:80:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 80 | StrPtrLen("Accept"), | ^~~~~~~~ Server.tproj/RTSPProtocol.cpp:81:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 81 | StrPtrLen("Cseq"), | ^~~~~~ Server.tproj/RTSPProtocol.cpp:82:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 82 | StrPtrLen("User-Agent"), | ^~~~~~~~~~~~ Server.tproj/RTSPProtocol.cpp:83:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 83 | StrPtrLen("Transport"), | ^~~~~~~~~~~ Server.tproj/RTSPProtocol.cpp:84:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 84 | StrPtrLen("Session"), | ^~~~~~~~~ Server.tproj/RTSPProtocol.cpp:85:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 85 | StrPtrLen("Range"), | ^~~~~~~ Server.tproj/RTSPProtocol.cpp:87:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 87 | StrPtrLen("Accept-Encoding"), | ^~~~~~~~~~~~~~~~~ Server.tproj/RTSPProtocol.cpp:88:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 88 | StrPtrLen("Accept-Language"), | ^~~~~~~~~~~~~~~~~ Server.tproj/RTSPProtocol.cpp:89:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 89 | StrPtrLen("Authorization"), | ^~~~~~~~~~~~~~~ Server.tproj/RTSPProtocol.cpp:90:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 90 | StrPtrLen("Bandwidth"), | ^~~~~~~~~~~ Server.tproj/RTSPProtocol.cpp:91:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 91 | StrPtrLen("Blocksize"), | ^~~~~~~~~~~ Server.tproj/RTSPProtocol.cpp:92:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 92 | StrPtrLen("Cache-Control"), | ^~~~~~~~~~~~~~~ Server.tproj/RTSPProtocol.cpp:93:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 93 | StrPtrLen("Conference"), | ^~~~~~~~~~~~ Server.tproj/RTSPProtocol.cpp:94:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 94 | StrPtrLen("Connection"), | ^~~~~~~~~~~~ Server.tproj/RTSPProtocol.cpp:95:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 95 | StrPtrLen("Content-Base"), | ^~~~~~~~~~~~~~ Server.tproj/RTSPProtocol.cpp:96:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 96 | StrPtrLen("Content-Encoding"), | ^~~~~~~~~~~~~~~~~~ Server.tproj/RTSPProtocol.cpp:97:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 97 | StrPtrLen("Content-Language"), | ^~~~~~~~~~~~~~~~~~ Server.tproj/RTSPProtocol.cpp:98:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 98 | StrPtrLen("Content-length"), | ^~~~~~~~~~~~~~~~ Server.tproj/RTSPProtocol.cpp:99:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 99 | StrPtrLen("Content-Location"), | ^~~~~~~~~~~~~~~~~~ Server.tproj/RTSPProtocol.cpp:100:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 100 | StrPtrLen("Content-Type"), | ^~~~~~~~~~~~~~ Server.tproj/RTSPProtocol.cpp:101:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 101 | StrPtrLen("Date"), | ^~~~~~ Server.tproj/RTSPProtocol.cpp:102:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 102 | StrPtrLen("Expires"), | ^~~~~~~~~ Server.tproj/RTSPProtocol.cpp:103:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 103 | StrPtrLen("From"), | ^~~~~~ Server.tproj/RTSPProtocol.cpp:104:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 104 | StrPtrLen("Host"), | ^~~~~~ Server.tproj/RTSPProtocol.cpp:105:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 105 | StrPtrLen("If-Match"), | ^~~~~~~~~~ Server.tproj/RTSPProtocol.cpp:106:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 106 | StrPtrLen("If-Modified-Since"), | ^~~~~~~~~~~~~~~~~~~ Server.tproj/RTSPProtocol.cpp:107:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 107 | StrPtrLen("Last-Modified"), | ^~~~~~~~~~~~~~~ Server.tproj/RTSPProtocol.cpp:108:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 108 | StrPtrLen("Location"), | ^~~~~~~~~~ Server.tproj/RTSPProtocol.cpp:109:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 109 | StrPtrLen("Proxy-Authenticate"), | ^~~~~~~~~~~~~~~~~~~~ Server.tproj/RTSPProtocol.cpp:110:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 110 | StrPtrLen("Proxy-Require"), | ^~~~~~~~~~~~~~~ Server.tproj/RTSPProtocol.cpp:111:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 111 | StrPtrLen("Referer"), | ^~~~~~~~~ Server.tproj/RTSPProtocol.cpp:112:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 112 | StrPtrLen("Retry-After"), | ^~~~~~~~~~~~~ Server.tproj/RTSPProtocol.cpp:113:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 113 | StrPtrLen("Require"), | ^~~~~~~~~ Server.tproj/RTSPProtocol.cpp:114:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 114 | StrPtrLen("RTP-Info"), | ^~~~~~~~~~ Server.tproj/RTSPProtocol.cpp:115:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 115 | StrPtrLen("Scale"), | ^~~~~~~ Server.tproj/RTSPProtocol.cpp:116:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 116 | StrPtrLen("Speed"), | ^~~~~~~ Server.tproj/RTSPProtocol.cpp:117:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 117 | StrPtrLen("Timestamp"), | ^~~~~~~~~~~ Server.tproj/RTSPProtocol.cpp:118:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 118 | StrPtrLen("Vary"), | ^~~~~~ Server.tproj/RTSPProtocol.cpp:119:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 119 | StrPtrLen("Via"), | ^~~~~ Server.tproj/RTSPProtocol.cpp:120:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 120 | StrPtrLen("Allow"), | ^~~~~~~ Server.tproj/RTSPProtocol.cpp:121:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 121 | StrPtrLen("Public"), | ^~~~~~~~ Server.tproj/RTSPProtocol.cpp:122:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 122 | StrPtrLen("Server"), | ^~~~~~~~ Server.tproj/RTSPProtocol.cpp:123:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 123 | StrPtrLen("Unsupported"), | ^~~~~~~~~~~~~ Server.tproj/RTSPProtocol.cpp:124:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 124 | StrPtrLen("WWW-Authenticate"), | ^~~~~~~~~~~~~~~~~~ Server.tproj/RTSPProtocol.cpp:125:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 125 | StrPtrLen(","), | ^~~ Server.tproj/RTSPProtocol.cpp:126:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 126 | StrPtrLen("x-Retransmit"), | ^~~~~~~~~~~~~~ Server.tproj/RTSPProtocol.cpp:127:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 127 | StrPtrLen("x-Accept-Retransmit"), | ^~~~~~~~~~~~~~~~~~~~~ Server.tproj/RTSPProtocol.cpp:128:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 128 | StrPtrLen("x-RTP-Meta-Info"), | ^~~~~~~~~~~~~~~~~ Server.tproj/RTSPProtocol.cpp:129:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 129 | StrPtrLen("x-Transport-Options"), | ^~~~~~~~~~~~~~~~~~~~~ Server.tproj/RTSPProtocol.cpp:130:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 130 | StrPtrLen("x-Packet-Range"), | ^~~~~~~~~~~~~~~~ Server.tproj/RTSPProtocol.cpp:131:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 131 | StrPtrLen("x-Prebuffer"), | ^~~~~~~~~~~~~ Server.tproj/RTSPProtocol.cpp:132:19: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 132 | StrPtrLen("x-Dynamic-Rate"), | ^~~~~~~~~~~~~~~~ Server.tproj/RTSPProtocol.cpp:133:19: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 133 | StrPtrLen("x-Accept-Dynamic-Rate"), | ^~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/RTSPProtocol.cpp:135:19: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 135 | StrPtrLen("x-Random-Data-Size") | ^~~~~~~~~~~~~~~~~~~~ Server.tproj/RTSPProtocol.cpp:191:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 191 | StrPtrLen("Continue"), //kContinue | ^~~~~~~~~~ Server.tproj/RTSPProtocol.cpp:192:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 192 | StrPtrLen("OK"), //kSuccessOK | ^~~~ Server.tproj/RTSPProtocol.cpp:193:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 193 | StrPtrLen("Created"), //kSuccessCreated | ^~~~~~~~~ Server.tproj/RTSPProtocol.cpp:194:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 194 | StrPtrLen("Accepted"), //kSuccessAccepted | ^~~~~~~~~~ Server.tproj/RTSPProtocol.cpp:195:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 195 | StrPtrLen("No Content"), //kSuccessNoContent | ^~~~~~~~~~~~ Server.tproj/RTSPProtocol.cpp:196:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 196 | StrPtrLen("Partial Content"), //kSuccessPartialContent | ^~~~~~~~~~~~~~~~~ Server.tproj/RTSPProtocol.cpp:197:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 197 | StrPtrLen("Low on Storage Space"), //kSuccessLowOnStorage | ^~~~~~~~~~~~~~~~~~~~~~ Server.tproj/RTSPProtocol.cpp:198:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 198 | StrPtrLen("Multiple Choices"), //kMultipleChoices | ^~~~~~~~~~~~~~~~~~ Server.tproj/RTSPProtocol.cpp:199:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 199 | StrPtrLen("Moved Permanently"), //kRedirectPermMoved | ^~~~~~~~~~~~~~~~~~~ Server.tproj/RTSPProtocol.cpp:200:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 200 | StrPtrLen("Found"), //kRedirectTempMoved | ^~~~~~~ Server.tproj/RTSPProtocol.cpp:201:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 201 | StrPtrLen("See Other"), //kRedirectSeeOther | ^~~~~~~~~~~ Server.tproj/RTSPProtocol.cpp:202:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 202 | StrPtrLen("Not Modified"), //kRedirectNotModified | ^~~~~~~~~~~~~~ Server.tproj/RTSPProtocol.cpp:203:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 203 | StrPtrLen("Use Proxy"), //kUseProxy | ^~~~~~~~~~~ Server.tproj/RTSPProtocol.cpp:204:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 204 | StrPtrLen("Bad Request"), //kClientBadRequest | ^~~~~~~~~~~~~ Server.tproj/RTSPProtocol.cpp:205:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 205 | StrPtrLen("Unauthorized"), //kClientUnAuthorized | ^~~~~~~~~~~~~~ Server.tproj/RTSPProtocol.cpp:206:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 206 | StrPtrLen("Payment Required"), //kPaymentRequired | ^~~~~~~~~~~~~~~~~~ Server.tproj/RTSPProtocol.cpp:207:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 207 | StrPtrLen("Forbidden"), //kClientForbidden | ^~~~~~~~~~~ Server.tproj/RTSPProtocol.cpp:208:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 208 | StrPtrLen("Not Found"), //kClientNotFound | ^~~~~~~~~~~ Server.tproj/RTSPProtocol.cpp:209:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 209 | StrPtrLen("Method Not Allowed"), //kClientMethodNotAllowed | ^~~~~~~~~~~~~~~~~~~~ Server.tproj/RTSPProtocol.cpp:210:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 210 | StrPtrLen("Not Acceptable"), //kNotAcceptable | ^~~~~~~~~~~~~~~~ Server.tproj/RTSPProtocol.cpp:211:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 211 | StrPtrLen("Proxy Authentication Required"), //kProxyAuthenticationRequired | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/RTSPProtocol.cpp:212:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 212 | StrPtrLen("Request Time-out"), //kRequestTimeout | ^~~~~~~~~~~~~~~~~~ Server.tproj/RTSPProtocol.cpp:213:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 213 | StrPtrLen("Conflict"), //kClientConflict | ^~~~~~~~~~ Server.tproj/RTSPProtocol.cpp:214:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 214 | StrPtrLen("Gone"), //kGone | ^~~~~~ Server.tproj/RTSPProtocol.cpp:215:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 215 | StrPtrLen("Length Required"), //kLengthRequired | ^~~~~~~~~~~~~~~~~ Server.tproj/RTSPProtocol.cpp:216:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 216 | StrPtrLen("Precondition Failed"), //kPreconditionFailed | ^~~~~~~~~~~~~~~~~~~~~ Server.tproj/RTSPProtocol.cpp:217:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 217 | StrPtrLen("Request Entity Too Large"), //kRequestEntityTooLarge | ^~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/RTSPProtocol.cpp:218:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 218 | StrPtrLen("Request-URI Too Large"), //kRequestURITooLarge | ^~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/RTSPProtocol.cpp:219:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 219 | StrPtrLen("Unsupported Media Type"), //kUnsupportedMediaType | ^~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/RTSPProtocol.cpp:220:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 220 | StrPtrLen("Parameter Not Understood"), //kClientParameterNotUnderstood | ^~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/RTSPProtocol.cpp:221:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 221 | StrPtrLen("Conference Not Found"), //kClientConferenceNotFound | ^~~~~~~~~~~~~~~~~~~~~~ Server.tproj/RTSPProtocol.cpp:222:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 222 | StrPtrLen("Not Enough Bandwidth"), //kClientNotEnoughBandwidth | ^~~~~~~~~~~~~~~~~~~~~~ Server.tproj/RTSPProtocol.cpp:223:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 223 | StrPtrLen("Session Not Found"), //kClientSessionNotFound | ^~~~~~~~~~~~~~~~~~~ Server.tproj/RTSPProtocol.cpp:224:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 224 | StrPtrLen("Method Not Valid in this State"), //kClientMethodNotValidInState | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/RTSPProtocol.cpp:225:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 225 | StrPtrLen("Header Field Not Valid For Resource"), //kClientHeaderFieldNotValid | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/RTSPProtocol.cpp:226:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 226 | StrPtrLen("Invalid Range"), //kClientInvalidRange | ^~~~~~~~~~~~~~~ Server.tproj/RTSPProtocol.cpp:227:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 227 | StrPtrLen("Parameter Is Read-Only"), //kClientReadOnlyParameter | ^~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/RTSPProtocol.cpp:228:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 228 | StrPtrLen("Aggregate Option Not Allowed"), //kClientAggregateOptionNotAllowed | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/RTSPProtocol.cpp:229:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 229 | StrPtrLen("Only Aggregate Option Allowed"), //kClientAggregateOptionAllowed | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/RTSPProtocol.cpp:230:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 230 | StrPtrLen("Unsupported Transport"), //kClientUnsupportedTransport | ^~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/RTSPProtocol.cpp:231:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 231 | StrPtrLen("Destination Unreachable"), //kClientDestinationUnreachable | ^~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/RTSPProtocol.cpp:232:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 232 | StrPtrLen("Internal Server Error"), //kServerInternal | ^~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/RTSPProtocol.cpp:233:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 233 | StrPtrLen("Not Implemented"), //kServerNotImplemented | ^~~~~~~~~~~~~~~~~ Server.tproj/RTSPProtocol.cpp:234:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 234 | StrPtrLen("Bad Gateway"), //kServerBadGateway | ^~~~~~~~~~~~~ Server.tproj/RTSPProtocol.cpp:235:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 235 | StrPtrLen("Service Unavailable"), //kServerUnavailable | ^~~~~~~~~~~~~~~~~~~~~ Server.tproj/RTSPProtocol.cpp:236:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 236 | StrPtrLen("Gateway Timeout"), //kServerGatewayTimeout | ^~~~~~~~~~~~~~~~~ Server.tproj/RTSPProtocol.cpp:237:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 237 | StrPtrLen("RTSP Version not supported"), //kRTSPVersionNotSupported | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/RTSPProtocol.cpp:238:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 238 | StrPtrLen("Option Not Supported") //kServerOptionNotSupported | ^~~~~~~~~~~~~~~~~~~~~~ Server.tproj/RTSPProtocol.cpp:295:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 295 | StrPtrLen("100"), //kContinue | ^~~~~ Server.tproj/RTSPProtocol.cpp:296:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 296 | StrPtrLen("200"), //kSuccessOK | ^~~~~ Server.tproj/RTSPProtocol.cpp:297:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 297 | StrPtrLen("201"), //kSuccessCreated | ^~~~~ Server.tproj/RTSPProtocol.cpp:298:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 298 | StrPtrLen("202"), //kSuccessAccepted | ^~~~~ Server.tproj/RTSPProtocol.cpp:299:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 299 | StrPtrLen("204"), //kSuccessNoContent | ^~~~~ Server.tproj/RTSPProtocol.cpp:300:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 300 | StrPtrLen("206"), //kSuccessPartialContent | ^~~~~ Server.tproj/RTSPProtocol.cpp:301:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 301 | StrPtrLen("250"), //kSuccessLowOnStorage | ^~~~~ Server.tproj/RTSPProtocol.cpp:302:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 302 | StrPtrLen("300"), //kMultipleChoices | ^~~~~ Server.tproj/RTSPProtocol.cpp:303:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 303 | StrPtrLen("301"), //kRedirectPermMoved | ^~~~~ Server.tproj/RTSPProtocol.cpp:304:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 304 | StrPtrLen("302"), //kRedirectTempMoved | ^~~~~ Server.tproj/RTSPProtocol.cpp:305:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 305 | StrPtrLen("303"), //kRedirectSeeOther | ^~~~~ Server.tproj/RTSPProtocol.cpp:306:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 306 | StrPtrLen("304"), //kRedirectNotModified | ^~~~~ Server.tproj/RTSPProtocol.cpp:307:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 307 | StrPtrLen("305"), //kUseProxy | ^~~~~ Server.tproj/RTSPProtocol.cpp:308:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 308 | StrPtrLen("400"), //kClientBadRequest | ^~~~~ Server.tproj/RTSPProtocol.cpp:309:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 309 | StrPtrLen("401"), //kClientUnAuthorized | ^~~~~ Server.tproj/RTSPProtocol.cpp:310:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 310 | StrPtrLen("402"), //kPaymentRequired | ^~~~~ Server.tproj/RTSPProtocol.cpp:311:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 311 | StrPtrLen("403"), //kClientForbidden | ^~~~~ Server.tproj/RTSPProtocol.cpp:312:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 312 | StrPtrLen("404"), //kClientNotFound | ^~~~~ Server.tproj/RTSPProtocol.cpp:313:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 313 | StrPtrLen("405"), //kClientMethodNotAllowed | ^~~~~ Server.tproj/RTSPProtocol.cpp:314:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 314 | StrPtrLen("406"), //kNotAcceptable | ^~~~~ Server.tproj/RTSPProtocol.cpp:315:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 315 | StrPtrLen("407"), //kProxyAuthenticationRequired | ^~~~~ Server.tproj/RTSPProtocol.cpp:316:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 316 | StrPtrLen("408"), //kRequestTimeout | ^~~~~ Server.tproj/RTSPProtocol.cpp:317:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 317 | StrPtrLen("409"), //kClientConflict | ^~~~~ Server.tproj/RTSPProtocol.cpp:318:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 318 | StrPtrLen("410"), //kGone | ^~~~~ Server.tproj/RTSPProtocol.cpp:319:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 319 | StrPtrLen("411"), //kLengthRequired | ^~~~~ Server.tproj/RTSPProtocol.cpp:320:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 320 | StrPtrLen("412"), //kPreconditionFailed | ^~~~~ Server.tproj/RTSPProtocol.cpp:321:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 321 | StrPtrLen("413"), //kRequestEntityTooLarge | ^~~~~ Server.tproj/RTSPProtocol.cpp:322:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 322 | StrPtrLen("414"), //kRequestURITooLarge | ^~~~~ Server.tproj/RTSPProtocol.cpp:323:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 323 | StrPtrLen("415"), //kUnsupportedMediaType | ^~~~~ Server.tproj/RTSPProtocol.cpp:324:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 324 | StrPtrLen("451"), //kClientParameterNotUnderstood | ^~~~~ Server.tproj/RTSPProtocol.cpp:325:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 325 | StrPtrLen("452"), //kClientConferenceNotFound | ^~~~~ Server.tproj/RTSPProtocol.cpp:326:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 326 | StrPtrLen("453"), //kClientNotEnoughBandwidth | ^~~~~ Server.tproj/RTSPProtocol.cpp:327:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 327 | StrPtrLen("454"), //kClientSessionNotFound | ^~~~~ Server.tproj/RTSPProtocol.cpp:328:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 328 | StrPtrLen("455"), //kClientMethodNotValidInState | ^~~~~ Server.tproj/RTSPProtocol.cpp:329:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 329 | StrPtrLen("456"), //kClientHeaderFieldNotValid | ^~~~~ Server.tproj/RTSPProtocol.cpp:330:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 330 | StrPtrLen("457"), //kClientInvalidRange | ^~~~~ Server.tproj/RTSPProtocol.cpp:331:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 331 | StrPtrLen("458"), //kClientReadOnlyParameter | ^~~~~ Server.tproj/RTSPProtocol.cpp:332:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 332 | StrPtrLen("459"), //kClientAggregateOptionNotAllowed | ^~~~~ Server.tproj/RTSPProtocol.cpp:333:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 333 | StrPtrLen("460"), //kClientAggregateOptionAllowed | ^~~~~ Server.tproj/RTSPProtocol.cpp:334:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 334 | StrPtrLen("461"), //kClientUnsupportedTransport | ^~~~~ Server.tproj/RTSPProtocol.cpp:335:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 335 | StrPtrLen("462"), //kClientDestinationUnreachable | ^~~~~ Server.tproj/RTSPProtocol.cpp:336:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 336 | StrPtrLen("500"), //kServerInternal | ^~~~~ Server.tproj/RTSPProtocol.cpp:337:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 337 | StrPtrLen("501"), //kServerNotImplemented | ^~~~~ Server.tproj/RTSPProtocol.cpp:338:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 338 | StrPtrLen("502"), //kServerBadGateway | ^~~~~ Server.tproj/RTSPProtocol.cpp:339:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 339 | StrPtrLen("503"), //kServerUnavailable | ^~~~~ Server.tproj/RTSPProtocol.cpp:340:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 340 | StrPtrLen("504"), //kServerGatewayTimeout | ^~~~~ Server.tproj/RTSPProtocol.cpp:341:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 341 | StrPtrLen("505"), //kRTSPVersionNotSupported | ^~~~~ Server.tproj/RTSPProtocol.cpp:342:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 342 | StrPtrLen("551") //kServerOptionNotSupported | ^~~~~ Server.tproj/RTSPProtocol.cpp:347:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 347 | StrPtrLen("RTSP/1.0") | ^~~~~~~~~~ c++ -fPIC -c -o Server.tproj/RTSPRequest.o -pipe -O2 -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 APIStubLib/QTSS.h:33, from Server.tproj/RTSPRequestInterface.h:41, from Server.tproj/RTSPRequest.h:51, from Server.tproj/RTSPRequest.cpp:35: CommonUtilitiesLib/StringFormatter.h: In member function 'void StringFormatter::PutFilePath(StrPtrLen*, StrPtrLen*)': CommonUtilitiesLib/OSHeaders.h:58:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 58 | #define kPathDelimiterString "/" | ^~~ CommonUtilitiesLib/StringFormatter.h:138:17: note: in expansion of macro 'kPathDelimiterString' 138 | Put(kPathDelimiterString); | ^~~~~~~~~~~~~~~~~~~~ In file included from CommonUtilitiesLib/TimeoutTask.h:44, 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:58: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 78 | IdleTask() : Task(), fIdleElem() { this->SetTaskName("IdleTask"); fIdleElem.SetEnclosingObject(this); } | ^~~~~~~~~~ In file included 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/TimeoutTask.h: In constructor 'TimeoutTaskThread::TimeoutTaskThread()': CommonUtilitiesLib/TimeoutTask.h:58:83: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 58 | TimeoutTaskThread() : IdleTask(), fMutex() {this->SetTaskName("TimeoutTask");} | ^~~~~~~~~~~~~ In file included from Server.tproj/QTSServerInterface.h:50, from Server.tproj/RTSPRequest.cpp:37: CommonUtilitiesLib/TCPListenerSocket.h: In constructor 'TCPListenerSocket::TCPListenerSocket()': CommonUtilitiesLib/TCPListenerSocket.h:48:126: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 48 | fAddr(0), fPort(0), fOutOfDescriptors(false), fSleepBetweenAccepts(false) {this->SetTaskName("TCPListenerSocket");} | ^~~~~~~~~~~~~~~~~~~ Server.tproj/RTSPRequest.cpp: At global scope: Server.tproj/RTSPRequest.cpp:83:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 83 | static StrPtrLen sDefaultRealm("Streaming Server", 16); | ^~~~~~~~~~~~~~~~~~ Server.tproj/RTSPRequest.cpp:84:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 84 | static StrPtrLen sAuthBasicStr("Basic", 5); | ^~~~~~~ Server.tproj/RTSPRequest.cpp:85:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 85 | static StrPtrLen sAuthDigestStr("Digest", 6); | ^~~~~~~~ Server.tproj/RTSPRequest.cpp:86:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 86 | static StrPtrLen sUsernameStr("username", 8); | ^~~~~~~~~~ Server.tproj/RTSPRequest.cpp:87:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 87 | static StrPtrLen sRealmStr("realm", 5); | ^~~~~~~ Server.tproj/RTSPRequest.cpp:88:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 88 | static StrPtrLen sNonceStr("nonce", 5); | ^~~~~~~ Server.tproj/RTSPRequest.cpp:89:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 89 | static StrPtrLen sUriStr("uri", 3); | ^~~~~ Server.tproj/RTSPRequest.cpp:90:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 90 | static StrPtrLen sQopStr("qop", 3); | ^~~~~ Server.tproj/RTSPRequest.cpp:91:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 91 | static StrPtrLen sQopAuthStr("auth", 3); | ^~~~~~ Server.tproj/RTSPRequest.cpp:92:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 92 | static StrPtrLen sQopAuthIntStr("auth-int", 8); | ^~~~~~~~~~ Server.tproj/RTSPRequest.cpp:93:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 93 | static StrPtrLen sNonceCountStr("nc", 2); | ^~~~ Server.tproj/RTSPRequest.cpp:94:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 94 | static StrPtrLen sResponseStr("response", 8); | ^~~~~~~~~~ Server.tproj/RTSPRequest.cpp:95:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 95 | static StrPtrLen sOpaqueStr("opaque", 6); | ^~~~~~~~ Server.tproj/RTSPRequest.cpp:96:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 96 | static StrPtrLen sEqualQuote("=\"", 2); | ^~~~~ Server.tproj/RTSPRequest.cpp:97:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 97 | static StrPtrLen sQuoteCommaSpace("\", ", 3); | ^~~~~~ Server.tproj/RTSPRequest.cpp:98:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 98 | static StrPtrLen sStaleTrue("stale=\"true\", ", 14); | ^~~~~~~~~~~~~~~~~~ Server.tproj/RTSPRequest.cpp: In member function 'QTSS_Error RTSPRequest::ParseURI(StringParser&)': Server.tproj/RTSPRequest.cpp:199:52: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 199 | StrPtrLen nonaggregate(tempCStr.FindString("/trackID=")); | ^~~~~~~~~~~ Server.tproj/RTSPRequest.cpp:214:30: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 214 | static char* sSlashURI = "/"; | ^~~ Server.tproj/RTSPRequest.cpp: In member function 'Bool16 RTSPRequest::ParseNetworkModeSubHeader(StrPtrLen*)': Server.tproj/RTSPRequest.cpp:397:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 397 | static StrPtrLen sUnicast("unicast"); | ^~~~~~~~~ Server.tproj/RTSPRequest.cpp:398:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 398 | static StrPtrLen sMulticast("multiicast"); | ^~~~~~~~~~~~ Server.tproj/RTSPRequest.cpp: In member function 'void RTSPRequest::ParseTransportHeader()': Server.tproj/RTSPRequest.cpp:420:44: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 420 | static char* sRTPAVPTransportStr = "RTP/AVP"; | ^~~~~~~~~ Server.tproj/RTSPRequest.cpp:464:64: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 464 | if ( theTransportSubHeader.EqualIgnoreCase("RTP/AVP/TCP") ) | ^~~~~~~~~~~~~ Server.tproj/RTSPRequest.cpp:477:60: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 477 | static StrPtrLen sDestinationSubHeader("destination"); | ^~~~~~~~~~~~~ Server.tproj/RTSPRequest.cpp:487:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 487 | static StrPtrLen sSourceSubHeader("source"); | ^~~~~~~~ Server.tproj/RTSPRequest.cpp: In member function 'void RTSPRequest::ParseRetransmitHeader()': Server.tproj/RTSPRequest.cpp:562:40: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 562 | static const StrPtrLen kWindow("window"); | ^~~~~~~~ Server.tproj/RTSPRequest.cpp: In member function 'void RTSPRequest::ParsePrebufferHeader()': Server.tproj/RTSPRequest.cpp:597:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 597 | static const StrPtrLen kMaxTimeSubHeader("maxtime"); | ^~~~~~~~~ Server.tproj/RTSPRequest.cpp: In member function 'void RTSPRequest::ParseTransportOptionsHeader()': Server.tproj/RTSPRequest.cpp:645:41: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 645 | static StrPtrLen sLateTolerance("late-tolerance"); | ^~~~~~~~~~~~~~~~ Server.tproj/RTSPRequest.cpp: In member function 'void RTSPRequest::ParseModeSubHeader(StrPtrLen*)': Server.tproj/RTSPRequest.cpp:696:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 696 | static StrPtrLen sModeSubHeader("mode"); | ^~~~~~ Server.tproj/RTSPRequest.cpp:697:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 697 | static StrPtrLen sReceiveMode("receive"); | ^~~~~~~~~ Server.tproj/RTSPRequest.cpp:698:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 698 | static StrPtrLen sRecordMode("record"); | ^~~~~~~~ Server.tproj/RTSPRequest.cpp: In member function 'void RTSPRequest::ParseClientPortSubHeader(StrPtrLen*)': Server.tproj/RTSPRequest.cpp:725:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 725 | static StrPtrLen sClientPortSubHeader("client_port"); | ^~~~~~~~~~~~~ Server.tproj/RTSPRequest.cpp:726:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 726 | static StrPtrLen sErrorMessage("Received invalid client_port field: "); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/RTSPRequest.cpp: In member function 'void RTSPRequest::ParseTimeToLiveSubHeader(StrPtrLen*)': Server.tproj/RTSPRequest.cpp:765:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 765 | static StrPtrLen sTimeToLiveSubHeader("ttl"); | ^~~~~ Server.tproj/RTSPRequest.cpp: In member function 'QTSS_Error RTSPRequest::ParseBasicHeader(StringParser*)': Server.tproj/RTSPRequest.cpp:817:22: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 817 | StrPtrLen name(""); | ^~ Server.tproj/RTSPRequest.cpp:818:26: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 818 | StrPtrLen password(""); | ^~ Server.tproj/RTSPRequest.cpp: In member function 'QTSS_Error RTSPRequest::ParseDigestHeader(StringParser*)': Server.tproj/RTSPRequest.cpp:845:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 845 | StrPtrLen fieldNameAndValue(""); | ^~ Server.tproj/RTSPRequest.cpp:848:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 848 | StrPtrLen fieldName(""); | ^~ Server.tproj/RTSPRequest.cpp:849:30: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 849 | StrPtrLen fieldValue(""); | ^~ Server.tproj/RTSPRequest.cpp: In member function 'QTSS_Error RTSPRequest::ParseAuthHeader()': Server.tproj/RTSPRequest.cpp:909:26: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 909 | StrPtrLen authWord(""); | ^~ In file included from CommonUtilitiesLib/OSRef.h:46, 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<T, K>::OSHashTable(UInt32) [with T = OSRef; K = OSRefKey; UInt32 = unsigned int]': CommonUtilitiesLib/OSRef.h:177:60: required from here CommonUtilitiesLib/OSHashTable.h:46:22: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] 46 | fHashTable = new ( T*[size] ); | ^~~~~~~~~~~~~~~~ CommonUtilitiesLib/OSHashTable.h: In instantiation of 'OSHashTable<T, K>::OSHashTable(UInt32) [with T = UDPDemuxerTask; K = UDPDemuxerKey; UInt32 = unsigned int]': CommonUtilitiesLib/UDPDemuxer.h:142:24: 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 -pipe -O2 -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 APIStubLib/QTSS.h:33, from Server.tproj/RTSPRequestInterface.h:41, from Server.tproj/RTSPRequestInterface.cpp:42: CommonUtilitiesLib/StringFormatter.h: In member function 'void StringFormatter::PutFilePath(StrPtrLen*, StrPtrLen*)': CommonUtilitiesLib/OSHeaders.h:58:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 58 | #define kPathDelimiterString "/" | ^~~ CommonUtilitiesLib/StringFormatter.h:138:17: note: in expansion of macro 'kPathDelimiterString' 138 | Put(kPathDelimiterString); | ^~~~~~~~~~~~~~~~~~~~ In file included from CommonUtilitiesLib/TimeoutTask.h:44, 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:58: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 78 | IdleTask() : Task(), fIdleElem() { this->SetTaskName("IdleTask"); fIdleElem.SetEnclosingObject(this); } | ^~~~~~~~~~ In file included 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/TimeoutTask.h: In constructor 'TimeoutTaskThread::TimeoutTaskThread()': CommonUtilitiesLib/TimeoutTask.h:58:83: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 58 | TimeoutTaskThread() : IdleTask(), fMutex() {this->SetTaskName("TimeoutTask");} | ^~~~~~~~~~~~~ In file included from Server.tproj/QTSServerInterface.h:50, from Server.tproj/RTSPRequestInterface.cpp:53: CommonUtilitiesLib/TCPListenerSocket.h: In constructor 'TCPListenerSocket::TCPListenerSocket()': CommonUtilitiesLib/TCPListenerSocket.h:48:126: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 48 | fAddr(0), fPort(0), fOutOfDescriptors(false), fSleepBetweenAccepts(false) {this->SetTaskName("TCPListenerSocket");} | ^~~~~~~~~~~~~~~~~~~ Server.tproj/RTSPRequestInterface.cpp: At global scope: Server.tproj/RTSPRequestInterface.cpp:62:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 62 | StrPtrLen RTSPRequestInterface::sColonSpace(": ", 2); | ^~~~ Server.tproj/RTSPRequestInterface.cpp: In member function 'void RTSPRequestInterface::AppendSessionHeaderWithTimeout(StrPtrLen*, StrPtrLen*)': Server.tproj/RTSPRequestInterface.cpp:283:44: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 283 | 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:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 336 | static StrPtrLen sServerPortString(";server_port="); | ^~~~~~~~~~~~~~~ Server.tproj/RTSPRequestInterface.cpp:337:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 337 | static StrPtrLen sSourceString(";source="); | ^~~~~~~~~~ Server.tproj/RTSPRequestInterface.cpp:338:44: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 338 | static StrPtrLen sInterleavedString(";interleaved="); | ^~~~~~~~~~~~~~~ Server.tproj/RTSPRequestInterface.cpp:339:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 339 | static StrPtrLen sSSRC(";ssrc="); | ^~~~~~~~ Server.tproj/RTSPRequestInterface.cpp:340:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 340 | static StrPtrLen sInterLeaved("interleaved");//match the interleaved tag | ^~~~~~~~~~~~~ Server.tproj/RTSPRequestInterface.cpp:341:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 341 | static StrPtrLen sClientPort("client_port"); | ^~~~~~~~~~~~~ Server.tproj/RTSPRequestInterface.cpp:342:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 342 | static StrPtrLen sClientPortString(";client_port="); | ^~~~~~~~~~~~~~~ Server.tproj/RTSPRequestInterface.cpp:417:33: warning: format '%lu' expects argument of type 'long unsigned int*', but argument 3 has type 'UInt32*' {aka 'unsigned int*'} [-Wformat=] 417 | ::sscanf(theCString, "%lu", &ssrcVal); | ~~^ ~~~~~~~~ | | | | | UInt32* {aka unsigned int*} | long unsigned int* | %u Server.tproj/RTSPRequestInterface.cpp: In member function 'void RTSPRequestInterface::AppendRetransmitHeader(UInt32)': Server.tproj/RTSPRequestInterface.cpp:444:40: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 444 | 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:27: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 470 | static StrPtrLen sURL("url=", 4); | ^~~~~~ Server.tproj/RTSPRequestInterface.cpp:471:27: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 471 | static StrPtrLen sSeq(";seq=", 5); | ^~~~~~~ Server.tproj/RTSPRequestInterface.cpp:472:28: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 472 | static StrPtrLen sSsrc(";ssrc=", 6); | ^~~~~~~~ Server.tproj/RTSPRequestInterface.cpp:473:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 473 | static StrPtrLen sRTPTime(";rtptime=", 9); | ^~~~~~~~~~~ Server.tproj/RTSPRequestInterface.cpp: In member function 'void RTSPRequestInterface::WriteStandardHeaders()': Server.tproj/RTSPRequestInterface.cpp:526:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 526 | static StrPtrLen sCloseString("Close", 5); | ^~~~~~~ In file included from CommonUtilitiesLib/OSRef.h:46, 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<T, K>::OSHashTable(UInt32) [with T = OSRef; K = OSRefKey; UInt32 = unsigned int]': CommonUtilitiesLib/OSRef.h:177:60: required from here CommonUtilitiesLib/OSHashTable.h:46:22: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] 46 | fHashTable = new ( T*[size] ); | ^~~~~~~~~~~~~~~~ c++ -fPIC -c -o Server.tproj/RTSPRequestStream.o -pipe -O2 -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:41: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 209 | 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:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 209 | str.PrintStrEOL("\n\r\n", "\n");// print the request but stop on \n\r\n and add a \n afterwards. | ^~~~ In file included from CommonUtilitiesLib/OSRef.h:46, 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<T, K>::OSHashTable(UInt32) [with T = OSRef; K = OSRefKey; UInt32 = unsigned int]': CommonUtilitiesLib/OSRef.h:177:60: required from here CommonUtilitiesLib/OSHashTable.h:46:22: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] 46 | fHashTable = new ( T*[size] ); | ^~~~~~~~~~~~~~~~ c++ -fPIC -c -o Server.tproj/RTSPResponseStream.o -pipe -O2 -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/StrPtrLen.h:43, from CommonUtilitiesLib/StringFormatter.h:40, from CommonUtilitiesLib/ResizeableStringFormatter.h:39, from Server.tproj/RTSPResponseStream.h:39, from Server.tproj/RTSPResponseStream.cpp:33: CommonUtilitiesLib/StringFormatter.h: In member function 'void StringFormatter::PutFilePath(StrPtrLen*, StrPtrLen*)': CommonUtilitiesLib/OSHeaders.h:58:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 58 | #define kPathDelimiterString "/" | ^~~ CommonUtilitiesLib/StringFormatter.h:138:17: note: in expansion of macro 'kPathDelimiterString' 138 | Put(kPathDelimiterString); | ^~~~~~~~~~~~~~~~~~~~ In file included from CommonUtilitiesLib/TimeoutTask.h:44, from Server.tproj/RTSPResponseStream.h:41, from Server.tproj/RTSPResponseStream.cpp:33: CommonUtilitiesLib/IdleTask.h: In constructor 'IdleTask::IdleTask()': CommonUtilitiesLib/IdleTask.h:78:58: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 78 | IdleTask() : Task(), fIdleElem() { this->SetTaskName("IdleTask"); fIdleElem.SetEnclosingObject(this); } | ^~~~~~~~~~ In file included from Server.tproj/RTSPResponseStream.h:41, from Server.tproj/RTSPResponseStream.cpp:33: CommonUtilitiesLib/TimeoutTask.h: In constructor 'TimeoutTaskThread::TimeoutTaskThread()': CommonUtilitiesLib/TimeoutTask.h:58:83: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 58 | TimeoutTaskThread() : IdleTask(), fMutex() {this->SetTaskName("TimeoutTask");} | ^~~~~~~~~~~~~ In file included from CommonUtilitiesLib/OSRef.h:46, 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<T, K>::OSHashTable(UInt32) [with T = OSRef; K = OSRefKey; UInt32 = unsigned int]': CommonUtilitiesLib/OSRef.h:177:60: required from here CommonUtilitiesLib/OSHashTable.h:46:22: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] 46 | fHashTable = new ( T*[size] ); | ^~~~~~~~~~~~~~~~ c++ -fPIC -c -o Server.tproj/RTSPSession.o -pipe -O2 -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] 1878 | qtss_sprintf(ioBuffer, "%"_64BITARG_"d", theSessionID); | ^ In file included from CommonUtilitiesLib/StrPtrLen.h:43, from Server.tproj/RTSPRequestStream.h:41, from Server.tproj/RTSPSessionInterface.h:37, from Server.tproj/RTSPSession.h:39, from Server.tproj/RTSPSession.cpp:36: CommonUtilitiesLib/StringFormatter.h: In member function 'void StringFormatter::PutFilePath(StrPtrLen*, StrPtrLen*)': CommonUtilitiesLib/OSHeaders.h:58:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 58 | #define kPathDelimiterString "/" | ^~~ CommonUtilitiesLib/StringFormatter.h:138:17: note: in expansion of macro 'kPathDelimiterString' 138 | Put(kPathDelimiterString); | ^~~~~~~~~~~~~~~~~~~~ In file included from CommonUtilitiesLib/TimeoutTask.h:44, 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:58: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 78 | IdleTask() : Task(), fIdleElem() { this->SetTaskName("IdleTask"); fIdleElem.SetEnclosingObject(this); } | ^~~~~~~~~~ In file included 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/TimeoutTask.h: In constructor 'TimeoutTaskThread::TimeoutTaskThread()': CommonUtilitiesLib/TimeoutTask.h:58:83: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 58 | TimeoutTaskThread() : IdleTask(), fMutex() {this->SetTaskName("TimeoutTask");} | ^~~~~~~~~~~~~ In file included from Server.tproj/QTSServerInterface.h:50, 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:126: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 48 | 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] 104 | static char* sBroadcasterSessionName="QTSSReflectorModuleBroadcasterSession"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/RTSPSession.cpp:108:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 108 | static StrPtrLen sVideoStr("video"); | ^~~~~~~ Server.tproj/RTSPSession.cpp:109:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 109 | static StrPtrLen sAudioStr("audio"); | ^~~~~~~ Server.tproj/RTSPSession.cpp:110:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 110 | static StrPtrLen sRtpMapStr("rtpmap"); | ^~~~~~~~ Server.tproj/RTSPSession.cpp:111:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 111 | static StrPtrLen sControlStr("control"); | ^~~~~~~~~ Server.tproj/RTSPSession.cpp:112:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 112 | static StrPtrLen sBufferDelayStr("x-bufferdelay"); | ^~~~~~~~~~~~~~~ Server.tproj/RTSPSession.cpp:113:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 113 | static StrPtrLen sContentType("application/x-random-data"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/RTSPSession.cpp:115:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 115 | static StrPtrLen sAuthAlgorithm("md5"); | ^~~~~ Server.tproj/RTSPSession.cpp:116:30: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 116 | static StrPtrLen sAuthQop("auth"); | ^~~~~~ Server.tproj/RTSPSession.cpp:117:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 117 | static StrPtrLen sEmptyStr(""); | ^~ Server.tproj/RTSPSession.cpp:130:52: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 130 | 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] 131 | 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:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 161 | 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] 1255 | char *headerFieldPtr = ""; | ^~ Server.tproj/RTSPSession.cpp: In member function 'Bool16 RTSPSession::ParseOptionsResponse()': Server.tproj/RTSPSession.cpp:1513:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 1513 | static StrPtrLen sRTSPStr("RTSP", 4); | ^~~~~~ In file included from CommonUtilitiesLib/OSRef.h:46, 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<T, K>::OSHashTable(UInt32) [with T = OSRef; K = OSRefKey; UInt32 = unsigned int]': CommonUtilitiesLib/OSRef.h:177:60: required from here CommonUtilitiesLib/OSHashTable.h:46:22: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] 46 | fHashTable = new ( T*[size] ); | ^~~~~~~~~~~~~~~~ CommonUtilitiesLib/OSHashTable.h: In instantiation of 'OSHashTable<T, K>::OSHashTable(UInt32) [with T = UDPDemuxerTask; K = UDPDemuxerKey; UInt32 = unsigned int]': CommonUtilitiesLib/UDPDemuxer.h:142:24: 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 CommonUtilitiesLib/StrPtrLen.h:45, from Server.tproj/RTSPRequestStream.h:41, from Server.tproj/RTSPSessionInterface.h:37, from Server.tproj/RTSPSession.h:39, from Server.tproj/RTSPSession.cpp:36: CommonUtilitiesLib/MyAssert.h: In member function 'UInt32 RTSPSession::GenerateNewSessionID(char*)': CommonUtilitiesLib/MyAssert.h:51:9: warning: 'theIter.OSHashTableIter<OSRef, OSRefKey>::fCurrent' may be used uninitialized in this function [-Wmaybe-uninitialized] 51 | if (!(condition)) \ | ^~ Server.tproj/RTSPSession.cpp:1848:32: note: 'theIter.OSHashTableIter<OSRef, OSRefKey>::fCurrent' was declared here 1848 | OSRefHashTableIter theIter(theHashTable); | ^~~~~~~ c++ -fPIC -c -o Server.tproj/RTSPSessionInterface.o -pipe -O2 -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/StrPtrLen.h:43, from Server.tproj/RTSPRequestStream.h:41, from Server.tproj/RTSPSessionInterface.h:37, from Server.tproj/RTSPSessionInterface.cpp:36: CommonUtilitiesLib/StringFormatter.h: In member function 'void StringFormatter::PutFilePath(StrPtrLen*, StrPtrLen*)': CommonUtilitiesLib/OSHeaders.h:58:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 58 | #define kPathDelimiterString "/" | ^~~ CommonUtilitiesLib/StringFormatter.h:138:17: note: in expansion of macro 'kPathDelimiterString' 138 | Put(kPathDelimiterString); | ^~~~~~~~~~~~~~~~~~~~ In file included from CommonUtilitiesLib/TimeoutTask.h:44, 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:58: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 78 | IdleTask() : Task(), fIdleElem() { this->SetTaskName("IdleTask"); fIdleElem.SetEnclosingObject(this); } | ^~~~~~~~~~ In file included from Server.tproj/RTSPResponseStream.h:41, from Server.tproj/RTSPSessionInterface.h:38, from Server.tproj/RTSPSessionInterface.cpp:36: CommonUtilitiesLib/TimeoutTask.h: In constructor 'TimeoutTaskThread::TimeoutTaskThread()': CommonUtilitiesLib/TimeoutTask.h:58:83: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 58 | TimeoutTaskThread() : IdleTask(), fMutex() {this->SetTaskName("TimeoutTask");} | ^~~~~~~~~~~~~ In file included from Server.tproj/QTSServerInterface.h:50, from Server.tproj/RTSPSessionInterface.cpp:37: CommonUtilitiesLib/TCPListenerSocket.h: In constructor 'TCPListenerSocket::TCPListenerSocket()': CommonUtilitiesLib/TCPListenerSocket.h:48:126: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 48 | 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] 79 | for (UInt32 x = 0; x < qtssRTSPSesNumParams; x++) | ^~~ Server.tproj/RTSPSessionInterface.cpp:84:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 84 | ::srand((unsigned int) OS::Microseconds()); | ^~ Server.tproj/RTSPSessionInterface.cpp: In member function 'UInt8 RTSPSessionInterface::GetTwoChannelNumbers(StrPtrLen*)': Server.tproj/RTSPSessionInterface.cpp:233:17: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class StrPtrLen' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 233 | ::memcpy(newMap, fChNumToSessIDMap, sizeof(StrPtrLen) * (numChannelEntries - 1)); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from Server.tproj/RTSPRequestStream.h:41, from Server.tproj/RTSPSessionInterface.h:37, from Server.tproj/RTSPSessionInterface.cpp:36: CommonUtilitiesLib/StrPtrLen.h:50:7: note: 'class StrPtrLen' declared here 50 | class StrPtrLen | ^~~~~~~~~ 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] 294 | if ( ( inLen > kTCPCoalesceDirectWriteSize || inLen == 0 ) && fNumInCoalesceBuffer > 0 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ Server.tproj/RTSPSessionInterface.cpp: In member function 'void RTSPSessionInterface::RevertOutputStream()': Server.tproj/RTSPSessionInterface.cpp:457:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 457 | static StrPtrLen theRTTStr(";rtt=", 5); | ^~~~~~~ Server.tproj/RTSPSessionInterface.cpp: In member function 'void RTSPSessionInterface::SendOptionsRequest()': Server.tproj/RTSPSessionInterface.cpp:495:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 495 | 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, 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<T, K>::OSHashTable(UInt32) [with T = OSRef; K = OSRefKey; UInt32 = unsigned int]': CommonUtilitiesLib/OSRef.h:177:60: required from here CommonUtilitiesLib/OSHashTable.h:46:22: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] 46 | fHashTable = new ( T*[size] ); | ^~~~~~~~~~~~~~~~ c++ -fPIC -c -o Server.tproj/main.o -pipe -O2 -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 /usr/include/bits/getopt_posix.h:27, from /usr/include/unistd.h:903, from /usr/include/bits/sigstksz.h:24, from /usr/include/signal.h:328, from Server.tproj/main.cpp:42: /usr/include/bits/getopt_core.h:91:12: error: declaration of 'int getopt(int, char* const*, const char*) throw ()' has a different exception specifier 91 | extern int getopt (int ___argc, char *const *___argv, const char *__shortopts) | ^~~~~~ In file included from Server.tproj/main.cpp:38: CommonUtilitiesLib/getopt.h:97:5: note: from previous declaration 'int getopt(int, char* const*, const char*)' 97 | int getopt(int argc, char* const *argv, const char *optstr); | ^~~~~~ In file included from PrefsSourceLib/PrefsSource.h:43, from PrefsSourceLib/FilePrefsSource.h:40, from Server.tproj/main.cpp:61: CommonUtilitiesLib/StringFormatter.h: In member function 'void StringFormatter::PutFilePath(StrPtrLen*, StrPtrLen*)': CommonUtilitiesLib/OSHeaders.h:58:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 58 | #define kPathDelimiterString "/" | ^~~ CommonUtilitiesLib/StringFormatter.h:138:17: note: in expansion of macro 'kPathDelimiterString' 138 | Put(kPathDelimiterString); | ^~~~~~~~~~~~~~~~~~~~ In file included from CommonUtilitiesLib/TCPListenerSocket.h:41, 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:58: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 78 | IdleTask() : Task(), fIdleElem() { this->SetTaskName("IdleTask"); fIdleElem.SetEnclosingObject(this); } | ^~~~~~~~~~ In file included 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/TCPListenerSocket.h: In constructor 'TCPListenerSocket::TCPListenerSocket()': CommonUtilitiesLib/TCPListenerSocket.h:48:126: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 48 | 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:224:19: error: no match for 'operator=' (operand types are '__sigset_t' and 'int') 224 | act.sa_mask = 0; | ^ In file included from /usr/include/bits/types/sigset_t.h:4, from /usr/include/sys/select.h:33, from /usr/include/sys/types.h:179, from /usr/include/stdlib.h:394, from /usr/include/c++/11/cstdlib:75, from /usr/include/c++/11/stdlib.h:36, from Server.tproj/main.cpp:34: /usr/include/bits/types/__sigset_t.h:8:3: note: candidate: '__sigset_t& __sigset_t::operator=(const __sigset_t&)' 8 | } __sigset_t; | ^~~~~~~~~~ /usr/include/bits/types/__sigset_t.h:8:3: note: no known conversion for argument 1 from 'int' to 'const __sigset_t&' Server.tproj/main.cpp:226:22: error: invalid conversion from 'void (*)(...)' to '__sighandler_t' {aka 'void (*)(int)'} [-fpermissive] 226 | act.sa_handler = (void(*)(...))&sigcatcher; | ^~~~~~~~~~~~~~~~~~~~~~~~~ | | | void (*)(...) In file included from Server.tproj/main.cpp:36: ./defaultPaths.h:62:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 62 | # define DEFAULTPATHS_ETC_DIR_OLD "/etc/" Server.tproj/main.cpp:289:47: note: in expansion of macro 'DEFAULTPATHS_ETC_DIR_OLD' 289 | static char* sDefaultConfigFilePath = DEFAULTPATHS_ETC_DIR_OLD "streamingserver.conf"; | ^~~~~~~~~~~~~~~~~~~~~~~~ ./defaultPaths.h:61:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 61 | # define DEFAULTPATHS_ETC_DIR "/usr/pkg/etc/streaming/" Server.tproj/main.cpp:290:44: note: in expansion of macro 'DEFAULTPATHS_ETC_DIR' 290 | static char* sDefaultXMLFilePath = DEFAULTPATHS_ETC_DIR "streamingserver.xml"; | ^~~~~~~~~~~~~~~~~~~~ ./defaultPaths.h:61:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 61 | # define DEFAULTPATHS_ETC_DIR "/usr/pkg/etc/streaming/" Server.tproj/main.cpp:323:51: note: in expansion of macro 'DEFAULTPATHS_ETC_DIR' 323 | theXMLFilePath = DEFAULTPATHS_ETC_DIR "streamingserver.xml"; | ^~~~~~~~~~~~~~~~~~~~ In file included from CommonUtilitiesLib/OSRef.h:46, 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<T, K>::OSHashTable(UInt32) [with T = OSRef; K = OSRefKey; UInt32 = unsigned int]': CommonUtilitiesLib/OSRef.h:177:60: required from here CommonUtilitiesLib/OSHashTable.h:46:22: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] 46 | fHashTable = new ( T*[size] ); | ^~~~~~~~~~~~~~~~ *** Error code 1 Stop. bmake: stopped making "all" in /home/pbulk/build/net/DarwinStreamingServer/work/DarwinStreamingSrvr5.5.5-Source *** Error code 1 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/net/DarwinStreamingServer *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/net/DarwinStreamingServer