+ 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.5nb17/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/DarwinStreamingServer-5.5.5nb17/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for DarwinStreamingServer-5.5.5nb17 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 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:0, 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:86: required from here OSHashTable.h:46:20: warning: ISO C++ does not support variable-length array types [-Wvla] 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:0: IdleTask.h: In constructor 'IdleTask::IdleTask()': IdleTask.h:78:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] IdleTask() : Task(), fIdleElem() { this->SetTaskName("IdleTask"); fIdleElem.SetEnclosingObject(this); } ^ c++ -fPIC -c -o MyAssert.o -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 In file included from /usr/include/string.h:638:0, from OSFileSource.cpp:36: In function 'void* memset(void*, int, size_t)', inlined from 'void OSFileSource::Set(const char*)' at OSFileSource.cpp:351:31: /usr/include/bits/string3.h:81:32: warning: call to '__warn_memset_zero_len' declared with attribute warning: memset used with constant zero length parameter; this could be due to transposed parameters [enabled by default] __warn_memset_zero_len (); ^ 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:0, 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:86: required from here OSHashTable.h:46:20: warning: ISO C++ does not support variable-length array types [-Wvla] 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:0, 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:86: required from here OSHashTable.h:46:20: warning: ISO C++ does not support variable-length array types [-Wvla] 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 ResizeableStringFormatter.h:39:0, from ResizeableStringFormatter.cpp:33: StringFormatter.h: In member function 'void StringFormatter::PutFilePath(StrPtrLen*, StrPtrLen*)': StringFormatter.h:138:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Put(kPathDelimiterString); ^ c++ -fPIC -c -o StringFormatter.o -pipe -O2 -I/usr/include -include ../PlatformHeader.h -g -Wall -I. -I.. -I../APIStubLib -I../RTPMetaInfoLib -I../APICommonCode StringFormatter.cpp In file included from StringFormatter.cpp:36:0: StringFormatter.h: In member function 'void StringFormatter::PutFilePath(StrPtrLen*, StrPtrLen*)': StringFormatter.h:138:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Put(kPathDelimiterString); ^ StringFormatter.cpp: At global scope: StringFormatter.cpp:39:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] char* StringFormatter::sEOL = "\r\n"; ^ c++ -fPIC -c -o StringParser.o -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] if (fStartGet >= fEndGet || valType == 0 && index >= 1) ^ 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::NumEqualIgnoreCase(const char*, UInt32) const': StrPtrLen.cpp:143:44: warning: array subscript has type 'char' [-Wchar-subscripts] if (sCaseInsensitiveMask[Ptr[x]] != sCaseInsensitiveMask[compare[x]]) ^ StrPtrLen.cpp:143:80: warning: array subscript has type 'char' [-Wchar-subscripts] if (sCaseInsensitiveMask[Ptr[x]] != sCaseInsensitiveMask[compare[x]]) ^ StrPtrLen.cpp: In member function 'Bool16 StrPtrLen::EqualIgnoreCase(const char*, UInt32) const': StrPtrLen.cpp:156:44: warning: array subscript has type 'char' [-Wchar-subscripts] if (sCaseInsensitiveMask[Ptr[x]] != sCaseInsensitiveMask[compare[x]]) ^ StrPtrLen.cpp:156:80: warning: array subscript has type 'char' [-Wchar-subscripts] if (sCaseInsensitiveMask[Ptr[x]] != sCaseInsensitiveMask[compare[x]]) ^ StrPtrLen.cpp: In member function 'void StrPtrLen::PrintStr()': StrPtrLen.cpp:306:44: warning: array subscript has type 'char' [-Wchar-subscripts] if (StrPtrLen::sNonPrintChars[Ptr[i]]) ^ StrPtrLen.cpp: In member function 'void StrPtrLen::PrintStrEOL(char*, char*)': StrPtrLen.cpp:336:44: warning: array subscript has type 'char' [-Wchar-subscripts] if (StrPtrLen::sNonPrintChars[Ptr[i]]) ^ StrPtrLen.cpp:367:21: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char *cr="\\r"; ^ StrPtrLen.cpp:368:21: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char *lf="\\n\n"; ^ c++ -fPIC -c -o Task.o -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] static char* sTaskStateStr="live_"; //Alive ^ Task.cpp: In constructor 'Task::Task()': Task.cpp:50:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] this->SetTaskName("unknown"); ^ In file included from /usr/include/string.h:638:0, 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:47: /usr/include/bits/string3.h:150:71: warning: call to char* __builtin___strncat_chk(char*, const char*, long unsigned int, long unsigned int) might overflow destination buffer [enabled by default] return __builtin___strncat_chk (__dest, __src, __len, __bos (__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:0, from TCPListenerSocket.cpp:46: IdleTask.h: In constructor 'IdleTask::IdleTask()': IdleTask.h:78:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] IdleTask() : Task(), fIdleElem() { this->SetTaskName("IdleTask"); fIdleElem.SetEnclosingObject(this); } ^ In file included from TCPListenerSocket.cpp:46:0: TCPListenerSocket.h: In constructor 'TCPListenerSocket::TCPListenerSocket()': TCPListenerSocket.h:48:145: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] fAddr(0), fPort(0), fOutOfDescriptors(false), fSleepBetweenAccepts(false) {this->SetTaskName("TCPListenerSocket");} ^ TCPListenerSocket.cpp: In member function 'virtual void TCPListenerSocket::ProcessEvent(int)': TCPListenerSocket.cpp:130:167: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] QTSSModuleUtils::LogErrorStr(qtssFatalVerbosity, "Out of File Descriptors. Set max connections lower and check for competing usage from other processes. Exiting."); ^ In file included from OSRef.h:46:0, from EventContext.h:42, from Socket.h:43, from TCPSocket.h:46, from TCPListenerSocket.h:40, from TCPListenerSocket.cpp:46: OSHashTable.h: In instantiation of 'OSHashTable<T, K>::OSHashTable(UInt32) [with T = OSRef; K = OSRefKey; UInt32 = unsigned int]': OSRef.h:177:86: required from here OSHashTable.h:46:20: warning: ISO C++ does not support variable-length array types [-Wvla] 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:0, 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:86: required from here OSHashTable.h:46:20: warning: ISO C++ does not support variable-length array types [-Wvla] 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:0, from TimeoutTask.cpp:33: IdleTask.h: In constructor 'IdleTask::IdleTask()': IdleTask.h:78:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] IdleTask() : Task(), fIdleElem() { this->SetTaskName("IdleTask"); fIdleElem.SetEnclosingObject(this); } ^ In file included from TimeoutTask.cpp:33:0: TimeoutTask.h: In constructor 'TimeoutTaskThread::TimeoutTaskThread()': TimeoutTask.h:58:96: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] TimeoutTaskThread() : IdleTask(), fMutex() {this->SetTaskName("TimeoutTask");} ^ c++ -fPIC -c -o UDPDemuxer.o -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:0, 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:62: required from here OSHashTable.h:46:20: warning: ISO C++ does not support variable-length array types [-Wvla] 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:0, 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:86: required from here OSHashTable.h:46:20: warning: ISO C++ does not support variable-length array types [-Wvla] 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:62: required from here OSHashTable.h:46:20: warning: ISO C++ does not support variable-length array types [-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:0, 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:62: required from here OSHashTable.h:46:20: warning: ISO C++ does not support variable-length array types [-Wvla] 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:86: required from here OSHashTable.h:46:20: warning: ISO C++ does not support variable-length array types [-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] SInt64 yieldDur = 0; ^ ev.cpp: In function 'bool selecthasdata()': ev.cpp:435:53: warning: ignoring return value of 'ssize_t read(int, void*, size_t)', declared with attribute warn_unused_result [-Wunused-result] (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 UserAgentParser.cpp:37:0: StringFormatter.h: In member function 'void StringFormatter::PutFilePath(StrPtrLen*, StrPtrLen*)': StringFormatter.h:138:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Put(kPathDelimiterString); ^ c++ -fPIC -c -o QueryParamList.o -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:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sColon(":", 1); ^ md5digest.cpp:38:40: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sMD5Sess("md5-sess", 8); ^ md5digest.cpp:39:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sQopAuth("auth", 4); ^ md5digest.cpp:40:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sQopAuthInt("auth-int", 8); ^ md5digest.cpp:262:24: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char *dufr_id = "$dufr$"; ^ c++ -fPIC -c -o SDPUtils.o -pipe -O2 -I/usr/include -include ../PlatformHeader.h -g -Wall -I. -I.. -I../APIStubLib -I../RTPMetaInfoLib -I../APICommonCode SDPUtils.cpp In file included from ResizeableStringFormatter.h:39:0, from SDPUtils.h:38, from SDPUtils.cpp:26: StringFormatter.h: In member function 'void StringFormatter::PutFilePath(StrPtrLen*, StrPtrLen*)': StringFormatter.h:138:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Put(kPathDelimiterString); ^ In file included from SDPUtils.cpp:26:0: SDPUtils.h: In member function 'Bool16 SDPContainer::HasLineType(char)': SDPUtils.h:92:95: warning: array subscript has type 'char' [-Wchar-subscripts] Bool16 HasLineType( char lineType ) { return (Bool16) (lineType == fFieldStr[lineType]) ; } ^ SDPUtils.cpp: In member function 'void SDPContainer::Parse()': SDPUtils.cpp:114:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] char* validChars = "vosiuepcbtrzkam"; ^ SDPUtils.cpp:143:28: warning: array subscript has type 'char' [-Wchar-subscripts] fFieldStr[firstChar] = firstChar; ^ SDPUtils.cpp: At global scope: SDPUtils.cpp:248:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen SDPLineSorter::sEOL("\r\n"); ^ SDPUtils.cpp:249:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen SDPLineSorter::sMaxBandwidthTag("b=AS:"); ^ In file included from /usr/include/string.h:638:0, from StrPtrLen.h:42, from DateTranslator.h:40, from OSThread.h:49, from OSMutex.h:61, from OS.h:39, from SDPUtils.h:36, from SDPUtils.cpp:26: In function 'void* memset(void*, int, size_t)', inlined from 'void SDPContainer::Initialize()' at SDPUtils.cpp:198:46: /usr/include/bits/string3.h:81:32: warning: call to '__warn_memset_zero_len' declared with attribute warning: memset used with constant zero length parameter; this could be due to transposed parameters [enabled by default] __warn_memset_zero_len (); ^ 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 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 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 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 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 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] 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 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: In member function 'QTFile::ErrorCode QTFile::Open(const char*)': QTFile.cpp:188:110: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] QTSS_Error error = QTSS_GetAttrInfoByName(fMovieFD, "QTSSPosixFileSysModuleOSFileSource", &attrInfoObject); ^ c++ -fPIC -DDSS_USE_API_CALLBACKS -c -o QTFile_FileControlBlock.o -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] char *pDataTableStart; ^ QTHintTrack.cpp:1254:44: warning: 'hdrData.QTHintTrackRTPHeaderData::tlvTimestampOffset' may be used uninitialized in this function [-Wmaybe-uninitialized] tempInt32 += hdrData.tlvTimestampOffset; // rtpo tlv offset ^ QTHintTrack.cpp:560:77: warning: 'hdrData.QTHintTrackRTPHeaderData::dataEntryCount' may be used uninitialized in this function [-Wmaybe-uninitialized] htcb.fPointerToNextPacket = pSampleBuffer + (hdrData.dataEntryCount * 16); ^ QTHintTrack.cpp:1159:33: note: 'hdrData.QTHintTrackRTPHeaderData::dataEntryCount' was declared here QTHintTrackRTPHeaderData hdrData; ^ QTHintTrack.cpp:1215:29: warning: 'hdrData.QTHintTrackRTPHeaderData::hintFlags' may be used uninitialized in this function [-Wmaybe-uninitialized] if (( hdrData.hintFlags & kBFrameBitMask) && (dropBFrames)) ^ QTHintTrack.cpp:1203:64: warning: 'hdrData.QTHintTrackRTPHeaderData::relativePacketTransmissionTime' may be used uninitialized in this function [-Wmaybe-uninitialized] + ( hdrData.relativePacketTransmissionTime * fMediaHeaderAtom->GetTimeScaleRecip() ); ^ QTHintTrack.cpp:1243:74: warning: 'hdrData.QTHintTrackRTPHeaderData::rtpHeaderBits' may be used uninitialized in this function [-Wmaybe-uninitialized] tempInt16 = hdrData.rtpHeaderBits | ntohs(0x8000) /* v2 RTP header */; ^ c++ -fPIC -DDSS_USE_API_CALLBACKS -c -o QTRTPFile.o -pipe -O2 -I/usr/include -include ../PlatformHeader.h -g -Wall -I. -I../RTPMetaInfoLib -I../OSMemoryLib -I../APIStubLib -I../CommonUtilitiesLib QTRTPFile.cpp In file included from /usr/include/bits/byteswap.h:35:0, from /usr/include/endian.h:60, from ./../PlatformHeader.h:86, from <command-line>:0: QTRTPFile.cpp: In member function 'Float64 QTRTPFile::GetNextPacket(char**, int*)': QTRTPFile.cpp:1276:91: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] firstPacket->LastSequenceNumber = ntohs(*(UInt16 *)((char *)firstPacket->CurPacket + 2)); ^ 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:92: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'UInt32 {aka unsigned int}' [-Wformat=] printf ("\nReached maximum configured output limit = %luK\n", sMaxTotalCharsInK); ^ ar -r libQTFileLib.a QTAtom.o QTAtom_dref.o QTAtom_elst.o QTAtom_hinf.o QTAtom_mdhd.o QTAtom_mvhd.o QTAtom_stco.o QTAtom_stsc.o QTAtom_stsd.o QTAtom_stss.o QTAtom_stsz.o QTAtom_stts.o QTAtom_tkhd.o QTAtom_tref.o QTFile.o QTFile_FileControlBlock.o QTHintTrack.o QTRTPFile.o QTTrack.o ../SafeStdLib/InternalStdLib.o ar: creating libQTFileLib.a ranlib libQTFileLib.a c++ -fPIC -c -o QTAtom.xo -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 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 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 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 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 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] 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 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 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] char *pDataTableStart; ^ QTHintTrack.cpp:1254:44: warning: 'hdrData.QTHintTrackRTPHeaderData::tlvTimestampOffset' may be used uninitialized in this function [-Wmaybe-uninitialized] tempInt32 += hdrData.tlvTimestampOffset; // rtpo tlv offset ^ QTHintTrack.cpp:560:77: warning: 'hdrData.QTHintTrackRTPHeaderData::dataEntryCount' may be used uninitialized in this function [-Wmaybe-uninitialized] htcb.fPointerToNextPacket = pSampleBuffer + (hdrData.dataEntryCount * 16); ^ QTHintTrack.cpp:1159:33: note: 'hdrData.QTHintTrackRTPHeaderData::dataEntryCount' was declared here QTHintTrackRTPHeaderData hdrData; ^ QTHintTrack.cpp:1215:29: warning: 'hdrData.QTHintTrackRTPHeaderData::hintFlags' may be used uninitialized in this function [-Wmaybe-uninitialized] if (( hdrData.hintFlags & kBFrameBitMask) && (dropBFrames)) ^ QTHintTrack.cpp:1203:64: warning: 'hdrData.QTHintTrackRTPHeaderData::relativePacketTransmissionTime' may be used uninitialized in this function [-Wmaybe-uninitialized] + ( hdrData.relativePacketTransmissionTime * fMediaHeaderAtom->GetTimeScaleRecip() ); ^ QTHintTrack.cpp:1243:74: warning: 'hdrData.QTHintTrackRTPHeaderData::rtpHeaderBits' may be used uninitialized in this function [-Wmaybe-uninitialized] tempInt16 = hdrData.rtpHeaderBits | ntohs(0x8000) /* v2 RTP header */; ^ c++ -fPIC -c -o QTRTPFile.xo -pipe -O2 -I/usr/include -include ../PlatformHeader.h -g -Wall -I. -I../RTPMetaInfoLib -I../OSMemoryLib -I../APIStubLib -I../CommonUtilitiesLib QTRTPFile.cpp In file included from /usr/include/bits/byteswap.h:35:0, from /usr/include/endian.h:60, from ./../PlatformHeader.h:86, from <command-line>:0: QTRTPFile.cpp: In member function 'Float64 QTRTPFile::GetNextPacket(char**, int*)': QTRTPFile.cpp:1276:91: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] firstPacket->LastSequenceNumber = ntohs(*(UInt16 *)((char *)firstPacket->CurPacket + 2)); ^ 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:92: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'UInt32 {aka unsigned int}' [-Wformat=] printf ("\nReached maximum configured output limit = %luK\n", sMaxTotalCharsInK); ^ ar -r libQTFileExternalLib.a QTAtom.xo QTAtom_dref.xo QTAtom_elst.xo QTAtom_hinf.xo QTAtom_mdhd.xo QTAtom_mvhd.xo QTAtom_stco.xo QTAtom_stsc.xo QTAtom_stsd.xo QTAtom_stss.xo QTAtom_stsz.xo QTAtom_stts.xo QTAtom_tkhd.xo QTAtom_tref.xo QTFile.xo QTFile_FileControlBlock.xo QTHintTrack.xo QTRTPFile.xo QTTrack.xo ../SafeStdLib/InternalStdLib.xo ar: creating libQTFileExternalLib.a ranlib libQTFileExternalLib.a 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:9: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] (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] char* QTSSExpirationDate::sExpirationDate = "3/15/2002"; ^ Server.tproj/QTSSExpirationDate.cpp: In static member function 'static Bool16 QTSSExpirationDate::IsSoftwareExpired()': Server.tproj/QTSSExpirationDate.cpp:70:85: warning: format '%ld' expects argument of type 'long int*', but argument 3 has type 'SInt32* {aka int*}' [-Wformat=] if (EOF == ::sscanf(sExpirationDate, "%ld/%ld/%ld", &expMonth, &expDay, &expYear)) ^ Server.tproj/QTSSExpirationDate.cpp:70:85: warning: format '%ld' expects argument of type 'long int*', but argument 4 has type 'SInt32* {aka int*}' [-Wformat=] Server.tproj/QTSSExpirationDate.cpp:70:85: warning: format '%ld' expects argument of type 'long int*', but argument 5 has type 'SInt32* {aka int*}' [-Wformat=] c++ -fPIC -c -o Server.tproj/QTSSCallbacks.o -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 CommonUtilitiesLib/ResizeableStringFormatter.h:39:0, from Server.tproj/RTSPResponseStream.h:39, from Server.tproj/RTSPSessionInterface.h:38, from Server.tproj/RTSPRequestInterface.h:45, from Server.tproj/QTSSCallbacks.cpp:37: CommonUtilitiesLib/StringFormatter.h: In member function 'void StringFormatter::PutFilePath(StrPtrLen*, StrPtrLen*)': CommonUtilitiesLib/StringFormatter.h:138:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Put(kPathDelimiterString); ^ In file included from CommonUtilitiesLib/TimeoutTask.h:44:0, from Server.tproj/RTSPResponseStream.h:41, from Server.tproj/RTSPSessionInterface.h:38, from Server.tproj/RTSPRequestInterface.h:45, from Server.tproj/QTSSCallbacks.cpp:37: CommonUtilitiesLib/IdleTask.h: In constructor 'IdleTask::IdleTask()': CommonUtilitiesLib/IdleTask.h:78:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] IdleTask() : Task(), fIdleElem() { this->SetTaskName("IdleTask"); fIdleElem.SetEnclosingObject(this); } ^ In file included from Server.tproj/RTSPResponseStream.h:41:0, from Server.tproj/RTSPSessionInterface.h:38, from Server.tproj/RTSPRequestInterface.h:45, from Server.tproj/QTSSCallbacks.cpp:37: CommonUtilitiesLib/TimeoutTask.h: In constructor 'TimeoutTaskThread::TimeoutTaskThread()': CommonUtilitiesLib/TimeoutTask.h:58:96: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] TimeoutTaskThread() : IdleTask(), fMutex() {this->SetTaskName("TimeoutTask");} ^ In file included from Server.tproj/RTPSessionInterface.h:41:0, from Server.tproj/RTPSession.h:48, from Server.tproj/QTSSCallbacks.cpp:38: RTCPUtilitiesLib/RTCPSRPacket.h: In member function 'void RTCPSRPacket::SetSSRC(UInt32)': RTCPUtilitiesLib/RTCPSRPacket.h:112:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((UInt32*)&fSenderReportBuffer)[1] = htonl(inSSRC); ^ RTCPUtilitiesLib/RTCPSRPacket.h:115:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((UInt32*)&fSenderReportBuffer)[8] = htonl(inSSRC); ^ RTCPUtilitiesLib/RTCPSRPacket.h: In member function 'void RTCPSRPacket::SetNTPTimestamp(SInt64)': RTCPUtilitiesLib/RTCPSRPacket.h:136:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((SInt64*)&fSenderReportBuffer)[1] = OS::HostToNetworkSInt64(inNTPTimestamp); ^ RTCPUtilitiesLib/RTCPSRPacket.h: In member function 'void RTCPSRPacket::SetRTPTimestamp(UInt32)': RTCPUtilitiesLib/RTCPSRPacket.h:145:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((UInt32*)&fSenderReportBuffer)[4] = htonl(inRTPTimestamp); ^ RTCPUtilitiesLib/RTCPSRPacket.h: In member function 'void RTCPSRPacket::SetPacketCount(UInt32)': RTCPUtilitiesLib/RTCPSRPacket.h:150:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((UInt32*)&fSenderReportBuffer)[5] = htonl(inPacketCount); ^ RTCPUtilitiesLib/RTCPSRPacket.h: In member function 'void RTCPSRPacket::SetByteCount(UInt32)': RTCPUtilitiesLib/RTCPSRPacket.h:155:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((UInt32*)&fSenderReportBuffer)[6] = htonl(inByteCount); ^ In file included from Server.tproj/QTSServerInterface.h:50:0, from Server.tproj/RTPSessionInterface.h:48, from Server.tproj/RTPSession.h:48, from Server.tproj/QTSSCallbacks.cpp:38: CommonUtilitiesLib/TCPListenerSocket.h: In constructor 'TCPListenerSocket::TCPListenerSocket()': CommonUtilitiesLib/TCPListenerSocket.h:48:145: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] fAddr(0), fPort(0), fOutOfDescriptors(false), fSleepBetweenAccepts(false) {this->SetTaskName("TCPListenerSocket");} ^ Server.tproj/QTSSCallbacks.cpp: In static member function 'static QTSS_Error QTSSCallbacks::QTSS_Authorize(QTSS_RTSPRequestObject, char**, Bool16*)': Server.tproj/QTSSCallbacks.cpp:834:11: warning: variable 'curTask' set but not used [-Wunused-but-set-variable] Task* curTask = NULL; ^ In file included from CommonUtilitiesLib/OSRef.h:46:0, from CommonUtilitiesLib/EventContext.h:42, from CommonUtilitiesLib/Socket.h:43, from CommonUtilitiesLib/TCPSocket.h:46, from Server.tproj/RTSPRequestStream.h:42, from Server.tproj/RTSPSessionInterface.h:37, from Server.tproj/RTSPRequestInterface.h:45, from Server.tproj/QTSSCallbacks.cpp:37: CommonUtilitiesLib/OSHashTable.h: In instantiation of 'OSHashTable<T, K>::OSHashTable(UInt32) [with T = OSRef; K = OSRefKey; UInt32 = unsigned int]': CommonUtilitiesLib/OSRef.h:177:86: required from here CommonUtilitiesLib/OSHashTable.h:46:20: warning: ISO C++ does not support variable-length array types [-Wvla] 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:62: required from here CommonUtilitiesLib/OSHashTable.h:46:20: warning: ISO C++ does not support variable-length array types [-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 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:44:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static const StrPtrLen kEnabledStr("true"); ^ Server.tproj/QTSSDataConverter.cpp:45:44: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static const StrPtrLen kDisabledStr("false"); ^ Server.tproj/QTSSDataConverter.cpp:64:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] }; ^ Server.tproj/QTSSDataConverter.cpp:64:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSDataConverter.cpp:64:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSDataConverter.cpp:64:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSDataConverter.cpp:64:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSDataConverter.cpp:64:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSDataConverter.cpp:64:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSDataConverter.cpp:64:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSDataConverter.cpp:64:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSDataConverter.cpp:64:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSDataConverter.cpp:64:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSDataConverter.cpp:64:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSDataConverter.cpp:64:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSDataConverter.cpp:64:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSDataConverter.cpp:64:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSDataConverter.cpp: In static member function 'static QTSS_Error QTSSDataConverter::StringToValue(char*, QTSS_AttrDataType, void*, UInt32*)': Server.tproj/QTSSDataConverter.cpp:177:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] theFormat = "%hu"; ^ Server.tproj/QTSSDataConverter.cpp:184:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] theFormat = "%hd"; ^ Server.tproj/QTSSDataConverter.cpp:191:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] theFormat = "%ld"; ^ Server.tproj/QTSSDataConverter.cpp:198:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] theFormat = "%lu"; ^ Server.tproj/QTSSDataConverter.cpp:205:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] theFormat = "%"_64BITARG_"d"; ^ Server.tproj/QTSSDataConverter.cpp:212:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] theFormat = "%"_64BITARG_"u"; ^ Server.tproj/QTSSDataConverter.cpp:219:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] theFormat = "%f"; ^ Server.tproj/QTSSDataConverter.cpp:226:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] theFormat = "%f"; ^ Server.tproj/QTSSDataConverter.cpp:233:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] theFormat = "%"_64BITARG_"d"; ^ Server.tproj/QTSSDataConverter.cpp: In static member function 'static QTSS_Error QTSSDataConverter::ConvertCHexStringToBytes(char*, void*, UInt32*)': Server.tproj/QTSSDataConverter.cpp:270:47: warning: array subscript has type 'char' [-Wchar-subscripts] char1 = sCharToNums[*inValueAsString++] * 16; ^ Server.tproj/QTSSDataConverter.cpp:272:51: warning: array subscript has type 'char' [-Wchar-subscripts] char2 = sCharToNums[*inValueAsString++]; ^ c++ -fPIC -c -o Server.tproj/QTSSErrorLogModule.o -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 CommonUtilitiesLib/ResizeableStringFormatter.h:39:0, from PrefsSourceLib/XMLParser.h:32, from PrefsSourceLib/XMLPrefsParser.h:39, from Server.tproj/QTSSPrefs.h:40, from Server.tproj/QTSServerPrefs.h:36, from Server.tproj/QTSServerInterface.h:43, from Server.tproj/QTSSErrorLogModule.cpp:38: CommonUtilitiesLib/StringFormatter.h: In member function 'void StringFormatter::PutFilePath(StrPtrLen*, StrPtrLen*)': CommonUtilitiesLib/StringFormatter.h:138:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Put(kPathDelimiterString); ^ In file included from CommonUtilitiesLib/TCPListenerSocket.h:41:0, from Server.tproj/QTSServerInterface.h:50, from Server.tproj/QTSSErrorLogModule.cpp:38: CommonUtilitiesLib/IdleTask.h: In constructor 'IdleTask::IdleTask()': CommonUtilitiesLib/IdleTask.h:78:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] IdleTask() : Task(), fIdleElem() { this->SetTaskName("IdleTask"); fIdleElem.SetEnclosingObject(this); } ^ In file included from Server.tproj/QTSServerInterface.h:50:0, from Server.tproj/QTSSErrorLogModule.cpp:38: CommonUtilitiesLib/TCPListenerSocket.h: In constructor 'TCPListenerSocket::TCPListenerSocket()': CommonUtilitiesLib/TCPListenerSocket.h:48:145: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] fAddr(0), fPort(0), fOutOfDescriptors(false), fSleepBetweenAccepts(false) {this->SetTaskName("TCPListenerSocket");} ^ Server.tproj/QTSSErrorLogModule.cpp: At global scope: Server.tproj/QTSSErrorLogModule.cpp:70:1: warning: deprecated conversion from string constant to 'LevelMsg {aka char*}' [-Wwrite-strings] }; ^ Server.tproj/QTSSErrorLogModule.cpp:70:1: warning: deprecated conversion from string constant to 'LevelMsg {aka char*}' [-Wwrite-strings] Server.tproj/QTSSErrorLogModule.cpp:70:1: warning: deprecated conversion from string constant to 'LevelMsg {aka char*}' [-Wwrite-strings] Server.tproj/QTSSErrorLogModule.cpp:70:1: warning: deprecated conversion from string constant to 'LevelMsg {aka char*}' [-Wwrite-strings] Server.tproj/QTSSErrorLogModule.cpp:70:1: warning: deprecated conversion from string constant to 'LevelMsg {aka char*}' [-Wwrite-strings] Server.tproj/QTSSErrorLogModule.cpp: In constructor 'QTSSErrorLog::QTSSErrorLog()': Server.tproj/QTSSErrorLogModule.cpp:78:76: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] QTSSErrorLog() : QTSSRollingLog() {this->SetTaskName("QTSSErrorLog");} ^ Server.tproj/QTSSErrorLogModule.cpp: In constructor 'ErrorLogCheckTask::ErrorLogCheckTask()': Server.tproj/QTSSErrorLogModule.cpp:96:76: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] ErrorLogCheckTask() : Task() {this->SetTaskName("ErrorLogCheckTask"); this->Signal(Task::kStartEvent); } ^ Server.tproj/QTSSErrorLogModule.cpp: In function 'QTSS_Error Register(QTSS_Register_Params*)': Server.tproj/QTSSErrorLogModule.cpp:163:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sModuleName = "QTSSErrorLogModule"; ^ In file included from CommonUtilitiesLib/OSRef.h:46:0, from CommonUtilitiesLib/EventContext.h:42, from CommonUtilitiesLib/Socket.h:43, from CommonUtilitiesLib/TCPSocket.h:46, from CommonUtilitiesLib/TCPListenerSocket.h:40, from Server.tproj/QTSServerInterface.h:50, from Server.tproj/QTSSErrorLogModule.cpp:38: CommonUtilitiesLib/OSHashTable.h: In instantiation of 'OSHashTable<T, K>::OSHashTable(UInt32) [with T = OSRef; K = OSRefKey; UInt32 = unsigned int]': CommonUtilitiesLib/OSRef.h:177:86: required from here CommonUtilitiesLib/OSHashTable.h:46:20: warning: ISO C++ does not support variable-length array types [-Wvla] 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:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] }; ^ Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:118:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] }; ^ Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSSMessages.cpp:201:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] c++ -fPIC -c -o Server.tproj/QTSSModule.o -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 CommonUtilitiesLib/ResizeableStringFormatter.h:39:0, from PrefsSourceLib/XMLParser.h:32, from PrefsSourceLib/XMLPrefsParser.h:39, from Server.tproj/QTSSPrefs.h:40, from Server.tproj/QTSSModule.h:43, from Server.tproj/QTSSModule.cpp:35: CommonUtilitiesLib/StringFormatter.h: In member function 'void StringFormatter::PutFilePath(StrPtrLen*, StrPtrLen*)': CommonUtilitiesLib/StringFormatter.h:138:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Put(kPathDelimiterString); ^ In file included from CommonUtilitiesLib/TCPListenerSocket.h:41:0, from Server.tproj/QTSServerInterface.h:50, from Server.tproj/QTSSModule.cpp:40: CommonUtilitiesLib/IdleTask.h: In constructor 'IdleTask::IdleTask()': CommonUtilitiesLib/IdleTask.h:78:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] IdleTask() : Task(), fIdleElem() { this->SetTaskName("IdleTask"); fIdleElem.SetEnclosingObject(this); } ^ In file included from Server.tproj/QTSServerInterface.h:50:0, from Server.tproj/QTSSModule.cpp:40: CommonUtilitiesLib/TCPListenerSocket.h: In constructor 'TCPListenerSocket::TCPListenerSocket()': CommonUtilitiesLib/TCPListenerSocket.h:48:145: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] fAddr(0), fPort(0), fOutOfDescriptors(false), fSleepBetweenAccepts(false) {this->SetTaskName("TCPListenerSocket");} ^ Server.tproj/QTSSModule.cpp: In constructor 'QTSSModule::QTSSModule(char*, char*)': Server.tproj/QTSSModule.cpp:76:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] this->SetTaskName("QTSSModule"); ^ Server.tproj/QTSSModule.cpp: In member function 'QTSS_Error QTSSModule::LoadFromDisk(QTSS_Error (**)(void*))': Server.tproj/QTSSModule.cpp:146:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sMainEntrypointName("_Main"); ^ In file included from CommonUtilitiesLib/OSRef.h:46:0, from CommonUtilitiesLib/EventContext.h:42, from CommonUtilitiesLib/Socket.h:43, from Server.tproj/QTSSModule.cpp:39: CommonUtilitiesLib/OSHashTable.h: In instantiation of 'OSHashTable<T, K>::OSHashTable(UInt32) [with T = OSRef; K = OSRefKey; UInt32 = unsigned int]': CommonUtilitiesLib/OSRef.h:177:86: required from here CommonUtilitiesLib/OSHashTable.h:46:20: warning: ISO C++ does not support variable-length array types [-Wvla] 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/ResizeableStringFormatter.h:39:0, from PrefsSourceLib/XMLParser.h:32, from PrefsSourceLib/XMLPrefsParser.h:39, from Server.tproj/QTSSPrefs.h:40, from Server.tproj/QTSServerPrefs.h:36, from Server.tproj/QTSServerPrefs.cpp:34: CommonUtilitiesLib/StringFormatter.h: In member function 'void StringFormatter::PutFilePath(StrPtrLen*, StrPtrLen*)': CommonUtilitiesLib/StringFormatter.h:138:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Put(kPathDelimiterString); ^ Server.tproj/QTSServerPrefs.cpp: At global scope: Server.tproj/QTSServerPrefs.cpp:54:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] }; ^ Server.tproj/QTSServerPrefs.cpp:54:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:54:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:60:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] }; ^ Server.tproj/QTSServerPrefs.cpp:66:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] }; ^ Server.tproj/QTSServerPrefs.cpp:73:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] }; ^ Server.tproj/QTSServerPrefs.cpp:73:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] }; ^ Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp:161:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Server.tproj/QTSServerPrefs.cpp: In member function 'void QTSServerPrefs::UpdateAuthScheme()': Server.tproj/QTSServerPrefs.cpp:518:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sNoAuthScheme("none"); ^ Server.tproj/QTSServerPrefs.cpp:519:46: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sBasicAuthScheme("basic"); ^ Server.tproj/QTSServerPrefs.cpp:520:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sDigestAuthScheme("digest"); ^ Server.tproj/QTSServerPrefs.cpp: In member function 'void QTSServerPrefs::UpdatePrintfOptions()': Server.tproj/QTSServerPrefs.cpp:581:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (theOptions->FindStringIgnoreCase("rtp")) ^ Server.tproj/QTSServerPrefs.cpp:583:46: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (theOptions->FindStringIgnoreCase("sr")) ^ Server.tproj/QTSServerPrefs.cpp:585:46: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (theOptions->FindStringIgnoreCase("rr")) ^ Server.tproj/QTSServerPrefs.cpp:587:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (theOptions->FindStringIgnoreCase("app")) ^ Server.tproj/QTSServerPrefs.cpp:589:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (theOptions->FindStringIgnoreCase("ack")) ^ c++ -fPIC -c -o Server.tproj/QTSSSocket.o -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:0, from CommonUtilitiesLib/EventContext.h:42, from Server.tproj/QTSSSocket.h:41, from Server.tproj/QTSSSocket.cpp:36: CommonUtilitiesLib/OSHashTable.h: In instantiation of 'OSHashTable<T, K>::OSHashTable(UInt32) [with T = OSRef; K = OSRefKey; UInt32 = unsigned int]': CommonUtilitiesLib/OSRef.h:177:86: required from here CommonUtilitiesLib/OSHashTable.h:46:20: warning: ISO C++ does not support variable-length array types [-Wvla] 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 CommonUtilitiesLib/ResizeableStringFormatter.h:39:0, from PrefsSourceLib/XMLParser.h:32, from PrefsSourceLib/XMLPrefsParser.h:39, from Server.tproj/QTSSPrefs.h:40, from Server.tproj/QTSSModule.h:43, from Server.tproj/QTSSFile.h:36, from Server.tproj/QTSSFile.cpp:34: CommonUtilitiesLib/StringFormatter.h: In member function 'void StringFormatter::PutFilePath(StrPtrLen*, StrPtrLen*)': CommonUtilitiesLib/StringFormatter.h:138:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Put(kPathDelimiterString); ^ In file included from CommonUtilitiesLib/TCPListenerSocket.h:41:0, from Server.tproj/QTSServerInterface.h:50, from Server.tproj/QTSSFile.cpp:35: CommonUtilitiesLib/IdleTask.h: In constructor 'IdleTask::IdleTask()': CommonUtilitiesLib/IdleTask.h:78:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] IdleTask() : Task(), fIdleElem() { this->SetTaskName("IdleTask"); fIdleElem.SetEnclosingObject(this); } ^ In file included from Server.tproj/QTSServerInterface.h:50:0, from Server.tproj/QTSSFile.cpp:35: CommonUtilitiesLib/TCPListenerSocket.h: In constructor 'TCPListenerSocket::TCPListenerSocket()': CommonUtilitiesLib/TCPListenerSocket.h:48:145: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] fAddr(0), fPort(0), fOutOfDescriptors(false), fSleepBetweenAccepts(false) {this->SetTaskName("TCPListenerSocket");} ^ In file included from CommonUtilitiesLib/OSRef.h:46:0, from CommonUtilitiesLib/EventContext.h:42, from Server.tproj/QTSSFile.h:39, from Server.tproj/QTSSFile.cpp:34: CommonUtilitiesLib/OSHashTable.h: In instantiation of 'OSHashTable<T, K>::OSHashTable(UInt32) [with T = OSRef; K = OSRefKey; UInt32 = unsigned int]': CommonUtilitiesLib/OSRef.h:177:86: required from here CommonUtilitiesLib/OSHashTable.h:46:20: warning: ISO C++ does not support variable-length array types [-Wvla] 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 CommonUtilitiesLib/ResizeableStringFormatter.h:39:0, from PrefsSourceLib/XMLParser.h:32, from PrefsSourceLib/XMLPrefsParser.h:39, from Server.tproj/QTSSPrefs.h:40, from Server.tproj/QTSSPrefs.cpp:34: CommonUtilitiesLib/StringFormatter.h: In member function 'void StringFormatter::PutFilePath(StrPtrLen*, StrPtrLen*)': CommonUtilitiesLib/StringFormatter.h:138:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Put(kPathDelimiterString); ^ c++ -fPIC -c -o Server.tproj/QTSServer.o -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 CommonUtilitiesLib/ResizeableStringFormatter.h:39:0, from PrefsSourceLib/XMLParser.h:32, from PrefsSourceLib/XMLPrefsParser.h:39, from Server.tproj/QTSSPrefs.h:40, from Server.tproj/QTSServerPrefs.h:36, from Server.tproj/QTSServerInterface.h:43, from Server.tproj/QTSServer.h:38, from Server.tproj/QTSServer.cpp:47: CommonUtilitiesLib/StringFormatter.h: In member function 'void StringFormatter::PutFilePath(StrPtrLen*, StrPtrLen*)': CommonUtilitiesLib/StringFormatter.h:138:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Put(kPathDelimiterString); ^ In file included from CommonUtilitiesLib/TCPListenerSocket.h:41:0, from Server.tproj/QTSServerInterface.h:50, from Server.tproj/QTSServer.h:38, from Server.tproj/QTSServer.cpp:47: CommonUtilitiesLib/IdleTask.h: In constructor 'IdleTask::IdleTask()': CommonUtilitiesLib/IdleTask.h:78:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] IdleTask() : Task(), fIdleElem() { this->SetTaskName("IdleTask"); fIdleElem.SetEnclosingObject(this); } ^ In file included from Server.tproj/QTSServerInterface.h:50:0, from Server.tproj/QTSServer.h:38, from Server.tproj/QTSServer.cpp:47: CommonUtilitiesLib/TCPListenerSocket.h: In constructor 'TCPListenerSocket::TCPListenerSocket()': CommonUtilitiesLib/TCPListenerSocket.h:48:145: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] fAddr(0), fPort(0), fOutOfDescriptors(false), fSleepBetweenAccepts(false) {this->SetTaskName("TCPListenerSocket");} ^ In file included from Server.tproj/RTSPResponseStream.h:41:0, from Server.tproj/RTSPSessionInterface.h:38, from Server.tproj/RTSPRequestInterface.h:45, from Server.tproj/QTSServer.cpp:79: CommonUtilitiesLib/TimeoutTask.h: In constructor 'TimeoutTaskThread::TimeoutTaskThread()': CommonUtilitiesLib/TimeoutTask.h:58:96: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] TimeoutTaskThread() : IdleTask(), fMutex() {this->SetTaskName("TimeoutTask");} ^ In file included from Server.tproj/RTPSessionInterface.h:41:0, from Server.tproj/QTSServer.cpp:81: RTCPUtilitiesLib/RTCPSRPacket.h: In member function 'void RTCPSRPacket::SetSSRC(UInt32)': RTCPUtilitiesLib/RTCPSRPacket.h:112:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((UInt32*)&fSenderReportBuffer)[1] = htonl(inSSRC); ^ RTCPUtilitiesLib/RTCPSRPacket.h:115:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((UInt32*)&fSenderReportBuffer)[8] = htonl(inSSRC); ^ RTCPUtilitiesLib/RTCPSRPacket.h: In member function 'void RTCPSRPacket::SetNTPTimestamp(SInt64)': RTCPUtilitiesLib/RTCPSRPacket.h:136:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((SInt64*)&fSenderReportBuffer)[1] = OS::HostToNetworkSInt64(inNTPTimestamp); ^ RTCPUtilitiesLib/RTCPSRPacket.h: In member function 'void RTCPSRPacket::SetRTPTimestamp(UInt32)': RTCPUtilitiesLib/RTCPSRPacket.h:145:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((UInt32*)&fSenderReportBuffer)[4] = htonl(inRTPTimestamp); ^ RTCPUtilitiesLib/RTCPSRPacket.h: In member function 'void RTCPSRPacket::SetPacketCount(UInt32)': RTCPUtilitiesLib/RTCPSRPacket.h:150:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((UInt32*)&fSenderReportBuffer)[5] = htonl(inPacketCount); ^ RTCPUtilitiesLib/RTCPSRPacket.h: In member function 'void RTCPSRPacket::SetByteCount(UInt32)': RTCPUtilitiesLib/RTCPSRPacket.h:155:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((UInt32*)&fSenderReportBuffer)[6] = htonl(inByteCount); ^ In file included from Server.tproj/QTSServer.cpp:84:0: Server.tproj/RTCPTask.h: In constructor 'RTCPTask::RTCPTask()': Server.tproj/RTCPTask.h:44:58: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] RTCPTask() : Task() {this->SetTaskName("RTCPTask"); this->Signal(Task::kStartEvent); } ^ Server.tproj/QTSServer.cpp: At global scope: Server.tproj/QTSServer.cpp:121:46: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] char* QTSServer::sPortPrefString = "rtsp_port"; ^ Server.tproj/QTSServer.cpp: In member function 'Bool16 QTSServer::Initialize(XMLPrefsParser*, PrefsSource*, UInt16, Bool16)': Server.tproj/QTSServer.cpp:200:71: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] QTSSModule* theLoggingModule = new QTSSModule("QTSSErrorLogModule"); ^ Server.tproj/QTSServer.cpp: In member function 'void QTSServer::LoadCompiledInModules()': Server.tproj/QTSServer.cpp:627:64: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] QTSSModule* theFileModule = new QTSSModule("QTSSFileModule"); ^ Server.tproj/QTSServer.cpp:631:74: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] QTSSModule* theReflectorModule = new QTSSModule("QTSSReflectorModule"); ^ Server.tproj/QTSServer.cpp:635:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] QTSSModule* theRelayModule = new QTSSModule("QTSSRelayModule"); ^ Server.tproj/QTSServer.cpp:639:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] QTSSModule* theAccessLog = new QTSSModule("QTSSAccessLogModule"); ^ Server.tproj/QTSServer.cpp:643:72: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] QTSSModule* theFlowControl = new QTSSModule("QTSSFlowControlModule"); ^ Server.tproj/QTSServer.cpp:647:75: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] QTSSModule* theFileSysModule = new QTSSModule("QTSSPosixFileSysModule"); ^ Server.tproj/QTSServer.cpp:651:66: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] QTSSModule* theAdminModule = new QTSSModule("QTSSAdminModule"); ^ Server.tproj/QTSServer.cpp:655:80: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] QTSSModule* theMP3StreamingModule = new QTSSModule("QTSSMP3StreamingModule"); ^ Server.tproj/QTSServer.cpp:665:69: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] QTSSModule* theQTACESSmodule = new QTSSModule("QTSSAccessModule"); ^ Server.tproj/QTSServer.cpp: In member function 'void QTSServer::SetupPublicHeader()': Server.tproj/QTSServer.cpp:1039:40: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] sPublicHeaderFormatter.Put(", "); ^ In file included from CommonUtilitiesLib/OSRef.h:46:0, from CommonUtilitiesLib/EventContext.h:42, from CommonUtilitiesLib/Socket.h:43, from CommonUtilitiesLib/TCPSocket.h:46, from CommonUtilitiesLib/TCPListenerSocket.h:40, from Server.tproj/QTSServerInterface.h:50, from Server.tproj/QTSServer.h:38, from Server.tproj/QTSServer.cpp:47: CommonUtilitiesLib/OSHashTable.h: In instantiation of 'OSHashTable<T, K>::OSHashTable(UInt32) [with T = OSRef; K = OSRefKey; UInt32 = unsigned int]': CommonUtilitiesLib/OSRef.h:177:86: required from here CommonUtilitiesLib/OSHashTable.h:46:20: warning: ISO C++ does not support variable-length array types [-Wvla] 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:62: required from here CommonUtilitiesLib/OSHashTable.h:46:20: warning: ISO C++ does not support variable-length array types [-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 In file included from CommonUtilitiesLib/ResizeableStringFormatter.h:39:0, from PrefsSourceLib/XMLParser.h:32, from PrefsSourceLib/XMLPrefsParser.h:39, from Server.tproj/QTSSPrefs.h:40, from Server.tproj/QTSServerPrefs.h:36, from Server.tproj/QTSServerInterface.h:43, from Server.tproj/QTSServerInterface.cpp:39: CommonUtilitiesLib/StringFormatter.h: In member function 'void StringFormatter::PutFilePath(StrPtrLen*, StrPtrLen*)': CommonUtilitiesLib/StringFormatter.h:138:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Put(kPathDelimiterString); ^ In file included from CommonUtilitiesLib/TCPListenerSocket.h:41:0, from Server.tproj/QTSServerInterface.h:50, from Server.tproj/QTSServerInterface.cpp:39: CommonUtilitiesLib/IdleTask.h: In constructor 'IdleTask::IdleTask()': CommonUtilitiesLib/IdleTask.h:78:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] IdleTask() : Task(), fIdleElem() { this->SetTaskName("IdleTask"); fIdleElem.SetEnclosingObject(this); } ^ In file included from Server.tproj/QTSServerInterface.h:50:0, from Server.tproj/QTSServerInterface.cpp:39: CommonUtilitiesLib/TCPListenerSocket.h: In constructor 'TCPListenerSocket::TCPListenerSocket()': CommonUtilitiesLib/TCPListenerSocket.h:48:145: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] fAddr(0), fPort(0), fOutOfDescriptors(false), fSleepBetweenAccepts(false) {this->SetTaskName("TCPListenerSocket");} ^ In file included from Server.tproj/RTPSessionInterface.h:41:0, from Server.tproj/QTSServerInterface.cpp:41: RTCPUtilitiesLib/RTCPSRPacket.h: In member function 'void RTCPSRPacket::SetSSRC(UInt32)': RTCPUtilitiesLib/RTCPSRPacket.h:112:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((UInt32*)&fSenderReportBuffer)[1] = htonl(inSSRC); ^ RTCPUtilitiesLib/RTCPSRPacket.h:115:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((UInt32*)&fSenderReportBuffer)[8] = htonl(inSSRC); ^ RTCPUtilitiesLib/RTCPSRPacket.h: In member function 'void RTCPSRPacket::SetNTPTimestamp(SInt64)': RTCPUtilitiesLib/RTCPSRPacket.h:136:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((SInt64*)&fSenderReportBuffer)[1] = OS::HostToNetworkSInt64(inNTPTimestamp); ^ RTCPUtilitiesLib/RTCPSRPacket.h: In member function 'void RTCPSRPacket::SetRTPTimestamp(UInt32)': RTCPUtilitiesLib/RTCPSRPacket.h:145:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((UInt32*)&fSenderReportBuffer)[4] = htonl(inRTPTimestamp); ^ RTCPUtilitiesLib/RTCPSRPacket.h: In member function 'void RTCPSRPacket::SetPacketCount(UInt32)': RTCPUtilitiesLib/RTCPSRPacket.h:150:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((UInt32*)&fSenderReportBuffer)[5] = htonl(inPacketCount); ^ RTCPUtilitiesLib/RTCPSRPacket.h: In member function 'void RTCPSRPacket::SetByteCount(UInt32)': RTCPUtilitiesLib/RTCPSRPacket.h:155:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((UInt32*)&fSenderReportBuffer)[6] = htonl(inByteCount); ^ In file included from Server.tproj/RTSPResponseStream.h:41:0, from Server.tproj/RTSPSessionInterface.h:38, from Server.tproj/RTPSessionInterface.h:42, from Server.tproj/QTSServerInterface.cpp:41: CommonUtilitiesLib/TimeoutTask.h: In constructor 'TimeoutTaskThread::TimeoutTaskThread()': CommonUtilitiesLib/TimeoutTask.h:58:96: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] TimeoutTaskThread() : IdleTask(), fMutex() {this->SetTaskName("TimeoutTask");} ^ Server.tproj/QTSServerInterface.cpp: At global scope: Server.tproj/QTSServerInterface.cpp:57:65: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen QTSServerInterface::sServerNameStr("DSS"); ^ Server.tproj/QTSServerInterface.cpp:61:77: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen QTSServerInterface::sServerVersionStr(kVersionString); ^ Server.tproj/QTSServerInterface.cpp:62:73: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen QTSServerInterface::sServerBuildStr(kBuildString); ^ Server.tproj/QTSServerInterface.cpp:63:77: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen QTSServerInterface::sServerCommentStr(kCommentString); ^ Server.tproj/QTSServerInterface.cpp:65:83: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen QTSServerInterface::sServerPlatformStr(kPlatformNameString); ^ Server.tproj/QTSServerInterface.cpp:66:86: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen QTSServerInterface::sServerBuildDateStr(__DATE__ ", "__TIME__); ^ Server.tproj/QTSServerInterface.cpp: In static member function 'static void QTSServerInterface::Initialize()': Server.tproj/QTSServerInterface.cpp:161:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] serverFormatter.Put(": "); ^ Server.tproj/QTSServerInterface.cpp:168:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] serverFormatter.Put("Build/"); ^ Server.tproj/QTSServerInterface.cpp:170:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] serverFormatter.Put("; "); ^ Server.tproj/QTSServerInterface.cpp:171:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] serverFormatter.Put("Platform/"); ^ Server.tproj/QTSServerInterface.cpp: In constructor 'RTPStatsUpdaterTask::RTPStatsUpdaterTask()': Server.tproj/QTSServerInterface.cpp:342:44: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] this->SetTaskName("RTPStatsUpdaterTask"); ^ In file included from CommonUtilitiesLib/OSRef.h:46:0, from CommonUtilitiesLib/EventContext.h:42, from CommonUtilitiesLib/Socket.h:43, from CommonUtilitiesLib/TCPSocket.h:46, from CommonUtilitiesLib/TCPListenerSocket.h:40, from Server.tproj/QTSServerInterface.h:50, from Server.tproj/QTSServerInterface.cpp:39: CommonUtilitiesLib/OSHashTable.h: In instantiation of 'OSHashTable<T, K>::OSHashTable(UInt32) [with T = OSRef; K = OSRefKey; UInt32 = unsigned int]': CommonUtilitiesLib/OSRef.h:177:86: required from here CommonUtilitiesLib/OSHashTable.h:46:20: warning: ISO C++ does not support variable-length array types [-Wvla] 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:62: required from here CommonUtilitiesLib/OSHashTable.h:46:20: warning: ISO C++ does not support variable-length array types [-Wvla] Server.tproj/QTSServerInterface.cpp: In member function 'void QTSServerInterface::KillAllRTPSessions()': Server.tproj/QTSServerInterface.cpp:294:5: warning: 'theIter.OSHashTableIter<OSRef, OSRefKey>::fCurrent' may be used uninitialized in this function [-Wmaybe-uninitialized] for (OSRefHashTableIter theIter(fRTPMap->GetHashTable()); !theIter.IsDone(); theIter.Next()) ^ In file included from CommonUtilitiesLib/OSRef.h:46:0, from CommonUtilitiesLib/EventContext.h:42, from CommonUtilitiesLib/Socket.h:43, from CommonUtilitiesLib/TCPSocket.h:46, from CommonUtilitiesLib/TCPListenerSocket.h:40, from Server.tproj/QTSServerInterface.h:50, from Server.tproj/QTSServerInterface.cpp:39: CommonUtilitiesLib/OSHashTable.h: In member function 'RTPSessionInterface* RTPStatsUpdaterTask::GetNewestSession(OSRefTable*)': CommonUtilitiesLib/OSHashTable.h:142:9: warning: 'theIter.OSHashTableIter<OSRef, OSRefKey>::fCurrent' may be used uninitialized in this function [-Wmaybe-uninitialized] fCurrent = fCurrent->fNextHashEntry; ^ Server.tproj/QTSServerInterface.cpp:516:29: note: 'theIter.OSHashTableIter<OSRef, OSRefKey>::fCurrent' was declared here 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:0: Server.tproj/RTCPTask.h: In constructor 'RTCPTask::RTCPTask()': Server.tproj/RTCPTask.h:44:58: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] RTCPTask() : Task() {this->SetTaskName("RTCPTask"); this->Signal(Task::kStartEvent); } ^ In file included from CommonUtilitiesLib/ResizeableStringFormatter.h:39:0, from PrefsSourceLib/XMLParser.h:32, from PrefsSourceLib/XMLPrefsParser.h:39, from Server.tproj/QTSSPrefs.h:40, from Server.tproj/QTSServerPrefs.h:36, from Server.tproj/QTSServerInterface.h:43, from Server.tproj/RTCPTask.cpp:37: CommonUtilitiesLib/StringFormatter.h: In member function 'void StringFormatter::PutFilePath(StrPtrLen*, StrPtrLen*)': CommonUtilitiesLib/StringFormatter.h:138:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Put(kPathDelimiterString); ^ In file included from CommonUtilitiesLib/TCPListenerSocket.h:41:0, from Server.tproj/QTSServerInterface.h:50, from Server.tproj/RTCPTask.cpp:37: CommonUtilitiesLib/IdleTask.h: In constructor 'IdleTask::IdleTask()': CommonUtilitiesLib/IdleTask.h:78:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] IdleTask() : Task(), fIdleElem() { this->SetTaskName("IdleTask"); fIdleElem.SetEnclosingObject(this); } ^ In file included from Server.tproj/QTSServerInterface.h:50:0, from Server.tproj/RTCPTask.cpp:37: CommonUtilitiesLib/TCPListenerSocket.h: In constructor 'TCPListenerSocket::TCPListenerSocket()': CommonUtilitiesLib/TCPListenerSocket.h:48:145: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] fAddr(0), fPort(0), fOutOfDescriptors(false), fSleepBetweenAccepts(false) {this->SetTaskName("TCPListenerSocket");} ^ In file included from Server.tproj/RTSPResponseStream.h:41:0, from Server.tproj/RTSPSessionInterface.h:38, from Server.tproj/RTSPRequestInterface.h:45, from Server.tproj/RTPStream.h:50, from Server.tproj/RTCPTask.cpp:39: CommonUtilitiesLib/TimeoutTask.h: In constructor 'TimeoutTaskThread::TimeoutTaskThread()': CommonUtilitiesLib/TimeoutTask.h:58:96: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] TimeoutTaskThread() : IdleTask(), fMutex() {this->SetTaskName("TimeoutTask");} ^ In file included from Server.tproj/RTPSessionInterface.h:41:0, from Server.tproj/RTPStream.h:51, from Server.tproj/RTCPTask.cpp:39: RTCPUtilitiesLib/RTCPSRPacket.h: In member function 'void RTCPSRPacket::SetSSRC(UInt32)': RTCPUtilitiesLib/RTCPSRPacket.h:112:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((UInt32*)&fSenderReportBuffer)[1] = htonl(inSSRC); ^ RTCPUtilitiesLib/RTCPSRPacket.h:115:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((UInt32*)&fSenderReportBuffer)[8] = htonl(inSSRC); ^ RTCPUtilitiesLib/RTCPSRPacket.h: In member function 'void RTCPSRPacket::SetNTPTimestamp(SInt64)': RTCPUtilitiesLib/RTCPSRPacket.h:136:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((SInt64*)&fSenderReportBuffer)[1] = OS::HostToNetworkSInt64(inNTPTimestamp); ^ RTCPUtilitiesLib/RTCPSRPacket.h: In member function 'void RTCPSRPacket::SetRTPTimestamp(UInt32)': RTCPUtilitiesLib/RTCPSRPacket.h:145:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((UInt32*)&fSenderReportBuffer)[4] = htonl(inRTPTimestamp); ^ RTCPUtilitiesLib/RTCPSRPacket.h: In member function 'void RTCPSRPacket::SetPacketCount(UInt32)': RTCPUtilitiesLib/RTCPSRPacket.h:150:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((UInt32*)&fSenderReportBuffer)[5] = htonl(inPacketCount); ^ RTCPUtilitiesLib/RTCPSRPacket.h: In member function 'void RTCPSRPacket::SetByteCount(UInt32)': RTCPUtilitiesLib/RTCPSRPacket.h:155:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((UInt32*)&fSenderReportBuffer)[6] = htonl(inByteCount); ^ In file included from CommonUtilitiesLib/OSRef.h:46:0, from CommonUtilitiesLib/EventContext.h:42, from CommonUtilitiesLib/Socket.h:43, from CommonUtilitiesLib/TCPSocket.h:46, from CommonUtilitiesLib/TCPListenerSocket.h:40, from Server.tproj/QTSServerInterface.h:50, from Server.tproj/RTCPTask.cpp:37: CommonUtilitiesLib/OSHashTable.h: In instantiation of 'OSHashTable<T, K>::OSHashTable(UInt32) [with T = OSRef; K = OSRefKey; UInt32 = unsigned int]': CommonUtilitiesLib/OSRef.h:177:86: required from here CommonUtilitiesLib/OSHashTable.h:46:20: warning: ISO C++ does not support variable-length array types [-Wvla] 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:62: required from here CommonUtilitiesLib/OSHashTable.h:46:20: warning: ISO C++ does not support variable-length array types [-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 Server.tproj/RTPSessionInterface.h:41:0, from Server.tproj/RTPSession.h:48, from Server.tproj/RTPSession.cpp:36: RTCPUtilitiesLib/RTCPSRPacket.h: In member function 'void RTCPSRPacket::SetSSRC(UInt32)': RTCPUtilitiesLib/RTCPSRPacket.h:112:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((UInt32*)&fSenderReportBuffer)[1] = htonl(inSSRC); ^ RTCPUtilitiesLib/RTCPSRPacket.h:115:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((UInt32*)&fSenderReportBuffer)[8] = htonl(inSSRC); ^ RTCPUtilitiesLib/RTCPSRPacket.h: In member function 'void RTCPSRPacket::SetNTPTimestamp(SInt64)': RTCPUtilitiesLib/RTCPSRPacket.h:136:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((SInt64*)&fSenderReportBuffer)[1] = OS::HostToNetworkSInt64(inNTPTimestamp); ^ RTCPUtilitiesLib/RTCPSRPacket.h: In member function 'void RTCPSRPacket::SetRTPTimestamp(UInt32)': RTCPUtilitiesLib/RTCPSRPacket.h:145:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((UInt32*)&fSenderReportBuffer)[4] = htonl(inRTPTimestamp); ^ RTCPUtilitiesLib/RTCPSRPacket.h: In member function 'void RTCPSRPacket::SetPacketCount(UInt32)': RTCPUtilitiesLib/RTCPSRPacket.h:150:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((UInt32*)&fSenderReportBuffer)[5] = htonl(inPacketCount); ^ RTCPUtilitiesLib/RTCPSRPacket.h: In member function 'void RTCPSRPacket::SetByteCount(UInt32)': RTCPUtilitiesLib/RTCPSRPacket.h:155:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((UInt32*)&fSenderReportBuffer)[6] = htonl(inByteCount); ^ In file included from CommonUtilitiesLib/ResizeableStringFormatter.h:39:0, from Server.tproj/RTSPResponseStream.h:39, from Server.tproj/RTSPSessionInterface.h:38, from Server.tproj/RTPSessionInterface.h:42, from Server.tproj/RTPSession.h:48, from Server.tproj/RTPSession.cpp:36: CommonUtilitiesLib/StringFormatter.h: In member function 'void StringFormatter::PutFilePath(StrPtrLen*, StrPtrLen*)': CommonUtilitiesLib/StringFormatter.h:138:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Put(kPathDelimiterString); ^ In file included from CommonUtilitiesLib/TimeoutTask.h:44:0, from Server.tproj/RTSPResponseStream.h:41, from Server.tproj/RTSPSessionInterface.h:38, from Server.tproj/RTPSessionInterface.h:42, from Server.tproj/RTPSession.h:48, from Server.tproj/RTPSession.cpp:36: CommonUtilitiesLib/IdleTask.h: In constructor 'IdleTask::IdleTask()': CommonUtilitiesLib/IdleTask.h:78:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] IdleTask() : Task(), fIdleElem() { this->SetTaskName("IdleTask"); fIdleElem.SetEnclosingObject(this); } ^ In file included from Server.tproj/RTSPResponseStream.h:41:0, from Server.tproj/RTSPSessionInterface.h:38, from Server.tproj/RTPSessionInterface.h:42, from Server.tproj/RTPSession.h:48, from Server.tproj/RTPSession.cpp:36: CommonUtilitiesLib/TimeoutTask.h: In constructor 'TimeoutTaskThread::TimeoutTaskThread()': CommonUtilitiesLib/TimeoutTask.h:58:96: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] TimeoutTaskThread() : IdleTask(), fMutex() {this->SetTaskName("TimeoutTask");} ^ In file included from Server.tproj/QTSServerInterface.h:50:0, from Server.tproj/RTPSessionInterface.h:48, from Server.tproj/RTPSession.h:48, from Server.tproj/RTPSession.cpp:36: CommonUtilitiesLib/TCPListenerSocket.h: In constructor 'TCPListenerSocket::TCPListenerSocket()': CommonUtilitiesLib/TCPListenerSocket.h:48:145: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] fAddr(0), fPort(0), fOutOfDescriptors(false), fSleepBetweenAccepts(false) {this->SetTaskName("TCPListenerSocket");} ^ Server.tproj/RTPSession.cpp: In constructor 'RTPSession::RTPSession()': Server.tproj/RTPSession.cpp:64:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] this->SetTaskName("RTPSession"); ^ Server.tproj/RTPSession.cpp: In member function 'void RTPSession::SendDescribeResponse(RTSPRequestInterface*)': Server.tproj/RTPSession.cpp:440:52: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sContentType("application/sdp"); ^ Server.tproj/RTPSession.cpp:444:62: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sRetransmitProtocolName("our-retransmit"); ^ Server.tproj/RTPSession.cpp:448:44: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen dynamicRateEnabledStr("1"); ^ In file included from CommonUtilitiesLib/OSRef.h:46:0, from CommonUtilitiesLib/EventContext.h:42, from CommonUtilitiesLib/Socket.h:43, from CommonUtilitiesLib/TCPSocket.h:46, from Server.tproj/RTSPRequestStream.h:42, from Server.tproj/RTSPSessionInterface.h:37, from Server.tproj/RTPSessionInterface.h:42, from Server.tproj/RTPSession.h:48, from Server.tproj/RTPSession.cpp:36: CommonUtilitiesLib/OSHashTable.h: In instantiation of 'OSHashTable<T, K>::OSHashTable(UInt32) [with T = OSRef; K = OSRefKey; UInt32 = unsigned int]': CommonUtilitiesLib/OSRef.h:177:86: required from here CommonUtilitiesLib/OSHashTable.h:46:20: warning: ISO C++ does not support variable-length array types [-Wvla] 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:62: required from here CommonUtilitiesLib/OSHashTable.h:46:20: warning: ISO C++ does not support variable-length array types [-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/ResizeableStringFormatter.h:39:0, from Server.tproj/RTSPResponseStream.h:39, from Server.tproj/RTSPSessionInterface.h:38, from Server.tproj/RTSPRequestInterface.h:45, from Server.tproj/RTPStream.h:50, from Server.tproj/RTPPacketResender.cpp:36: CommonUtilitiesLib/StringFormatter.h: In member function 'void StringFormatter::PutFilePath(StrPtrLen*, StrPtrLen*)': CommonUtilitiesLib/StringFormatter.h:138:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Put(kPathDelimiterString); ^ In file included from CommonUtilitiesLib/TimeoutTask.h:44:0, from Server.tproj/RTSPResponseStream.h:41, from Server.tproj/RTSPSessionInterface.h:38, from Server.tproj/RTSPRequestInterface.h:45, from Server.tproj/RTPStream.h:50, from Server.tproj/RTPPacketResender.cpp:36: CommonUtilitiesLib/IdleTask.h: In constructor 'IdleTask::IdleTask()': CommonUtilitiesLib/IdleTask.h:78:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] IdleTask() : Task(), fIdleElem() { this->SetTaskName("IdleTask"); fIdleElem.SetEnclosingObject(this); } ^ In file included from Server.tproj/RTSPResponseStream.h:41:0, from Server.tproj/RTSPSessionInterface.h:38, from Server.tproj/RTSPRequestInterface.h:45, from Server.tproj/RTPStream.h:50, from Server.tproj/RTPPacketResender.cpp:36: CommonUtilitiesLib/TimeoutTask.h: In constructor 'TimeoutTaskThread::TimeoutTaskThread()': CommonUtilitiesLib/TimeoutTask.h:58:96: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] TimeoutTaskThread() : IdleTask(), fMutex() {this->SetTaskName("TimeoutTask");} ^ In file included from Server.tproj/RTPSessionInterface.h:41:0, from Server.tproj/RTPStream.h:51, from Server.tproj/RTPPacketResender.cpp:36: RTCPUtilitiesLib/RTCPSRPacket.h: In member function 'void RTCPSRPacket::SetSSRC(UInt32)': RTCPUtilitiesLib/RTCPSRPacket.h:112:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((UInt32*)&fSenderReportBuffer)[1] = htonl(inSSRC); ^ RTCPUtilitiesLib/RTCPSRPacket.h:115:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((UInt32*)&fSenderReportBuffer)[8] = htonl(inSSRC); ^ RTCPUtilitiesLib/RTCPSRPacket.h: In member function 'void RTCPSRPacket::SetNTPTimestamp(SInt64)': RTCPUtilitiesLib/RTCPSRPacket.h:136:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((SInt64*)&fSenderReportBuffer)[1] = OS::HostToNetworkSInt64(inNTPTimestamp); ^ RTCPUtilitiesLib/RTCPSRPacket.h: In member function 'void RTCPSRPacket::SetRTPTimestamp(UInt32)': RTCPUtilitiesLib/RTCPSRPacket.h:145:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((UInt32*)&fSenderReportBuffer)[4] = htonl(inRTPTimestamp); ^ RTCPUtilitiesLib/RTCPSRPacket.h: In member function 'void RTCPSRPacket::SetPacketCount(UInt32)': RTCPUtilitiesLib/RTCPSRPacket.h:150:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((UInt32*)&fSenderReportBuffer)[5] = htonl(inPacketCount); ^ RTCPUtilitiesLib/RTCPSRPacket.h: In member function 'void RTCPSRPacket::SetByteCount(UInt32)': RTCPUtilitiesLib/RTCPSRPacket.h:155:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((UInt32*)&fSenderReportBuffer)[6] = htonl(inByteCount); ^ In file included from Server.tproj/QTSServerInterface.h:50:0, from Server.tproj/RTPSessionInterface.h:48, from Server.tproj/RTPStream.h:51, from Server.tproj/RTPPacketResender.cpp:36: CommonUtilitiesLib/TCPListenerSocket.h: In constructor 'TCPListenerSocket::TCPListenerSocket()': CommonUtilitiesLib/TCPListenerSocket.h:48:145: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] fAddr(0), fPort(0), fOutOfDescriptors(false), fSleepBetweenAccepts(false) {this->SetTaskName("TCPListenerSocket");} ^ In file included from CommonUtilitiesLib/OSRef.h:46:0, from CommonUtilitiesLib/EventContext.h:42, from CommonUtilitiesLib/Socket.h:43, from CommonUtilitiesLib/UDPSocket.h:44, from Server.tproj/RTPPacketResender.h:43, from Server.tproj/RTPPacketResender.cpp:35: CommonUtilitiesLib/OSHashTable.h: In instantiation of 'OSHashTable<T, K>::OSHashTable(UInt32) [with T = OSRef; K = OSRefKey; UInt32 = unsigned int]': CommonUtilitiesLib/OSRef.h:177:86: required from here CommonUtilitiesLib/OSHashTable.h:46:20: warning: ISO C++ does not support variable-length array types [-Wvla] 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:62: required from here CommonUtilitiesLib/OSHashTable.h:46:20: warning: ISO C++ does not support variable-length array types [-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 In file included from Server.tproj/RTPSessionInterface.h:41:0, from Server.tproj/RTPSessionInterface.cpp:36: RTCPUtilitiesLib/RTCPSRPacket.h: In member function 'void RTCPSRPacket::SetSSRC(UInt32)': RTCPUtilitiesLib/RTCPSRPacket.h:112:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((UInt32*)&fSenderReportBuffer)[1] = htonl(inSSRC); ^ RTCPUtilitiesLib/RTCPSRPacket.h:115:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((UInt32*)&fSenderReportBuffer)[8] = htonl(inSSRC); ^ RTCPUtilitiesLib/RTCPSRPacket.h: In member function 'void RTCPSRPacket::SetNTPTimestamp(SInt64)': RTCPUtilitiesLib/RTCPSRPacket.h:136:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((SInt64*)&fSenderReportBuffer)[1] = OS::HostToNetworkSInt64(inNTPTimestamp); ^ RTCPUtilitiesLib/RTCPSRPacket.h: In member function 'void RTCPSRPacket::SetRTPTimestamp(UInt32)': RTCPUtilitiesLib/RTCPSRPacket.h:145:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((UInt32*)&fSenderReportBuffer)[4] = htonl(inRTPTimestamp); ^ RTCPUtilitiesLib/RTCPSRPacket.h: In member function 'void RTCPSRPacket::SetPacketCount(UInt32)': RTCPUtilitiesLib/RTCPSRPacket.h:150:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((UInt32*)&fSenderReportBuffer)[5] = htonl(inPacketCount); ^ RTCPUtilitiesLib/RTCPSRPacket.h: In member function 'void RTCPSRPacket::SetByteCount(UInt32)': RTCPUtilitiesLib/RTCPSRPacket.h:155:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((UInt32*)&fSenderReportBuffer)[6] = htonl(inByteCount); ^ In file included from CommonUtilitiesLib/ResizeableStringFormatter.h:39:0, from Server.tproj/RTSPResponseStream.h:39, from Server.tproj/RTSPSessionInterface.h:38, from Server.tproj/RTPSessionInterface.h:42, from Server.tproj/RTPSessionInterface.cpp:36: CommonUtilitiesLib/StringFormatter.h: In member function 'void StringFormatter::PutFilePath(StrPtrLen*, StrPtrLen*)': CommonUtilitiesLib/StringFormatter.h:138:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Put(kPathDelimiterString); ^ In file included from CommonUtilitiesLib/TimeoutTask.h:44:0, from Server.tproj/RTSPResponseStream.h:41, from Server.tproj/RTSPSessionInterface.h:38, from Server.tproj/RTPSessionInterface.h:42, from Server.tproj/RTPSessionInterface.cpp:36: CommonUtilitiesLib/IdleTask.h: In constructor 'IdleTask::IdleTask()': CommonUtilitiesLib/IdleTask.h:78:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] IdleTask() : Task(), fIdleElem() { this->SetTaskName("IdleTask"); fIdleElem.SetEnclosingObject(this); } ^ In file included from Server.tproj/RTSPResponseStream.h:41:0, from Server.tproj/RTSPSessionInterface.h:38, from Server.tproj/RTPSessionInterface.h:42, from Server.tproj/RTPSessionInterface.cpp:36: CommonUtilitiesLib/TimeoutTask.h: In constructor 'TimeoutTaskThread::TimeoutTaskThread()': CommonUtilitiesLib/TimeoutTask.h:58:96: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] TimeoutTaskThread() : IdleTask(), fMutex() {this->SetTaskName("TimeoutTask");} ^ In file included from Server.tproj/QTSServerInterface.h:50:0, from Server.tproj/RTPSessionInterface.h:48, from Server.tproj/RTPSessionInterface.cpp:36: CommonUtilitiesLib/TCPListenerSocket.h: In constructor 'TCPListenerSocket::TCPListenerSocket()': CommonUtilitiesLib/TCPListenerSocket.h:48:145: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] fAddr(0), fPort(0), fOutOfDescriptors(false), fSleepBetweenAccepts(false) {this->SetTaskName("TCPListenerSocket");} ^ Server.tproj/RTPSessionInterface.cpp: In constructor 'RTPSessionInterface::RTPSessionInterface()': Server.tproj/RTPSessionInterface.cpp:141:21: warning: large integer implicitly truncated to unsigned type [-Woverflow] fFramesSkipped(0) ^ In file included from CommonUtilitiesLib/OSRef.h:46:0, from CommonUtilitiesLib/EventContext.h:42, from CommonUtilitiesLib/Socket.h:43, from CommonUtilitiesLib/TCPSocket.h:46, from Server.tproj/RTSPRequestStream.h:42, from Server.tproj/RTSPSessionInterface.h:37, from Server.tproj/RTPSessionInterface.h:42, from Server.tproj/RTPSessionInterface.cpp:36: CommonUtilitiesLib/OSHashTable.h: In instantiation of 'OSHashTable<T, K>::OSHashTable(UInt32) [with T = OSRef; K = OSRefKey; UInt32 = unsigned int]': CommonUtilitiesLib/OSRef.h:177:86: required from here CommonUtilitiesLib/OSHashTable.h:46:20: warning: ISO C++ does not support variable-length array types [-Wvla] 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:62: required from here CommonUtilitiesLib/OSHashTable.h:46:20: warning: ISO C++ does not support variable-length array types [-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 CommonUtilitiesLib/ResizeableStringFormatter.h:39:0, from Server.tproj/RTSPResponseStream.h:39, from Server.tproj/RTSPSessionInterface.h:38, from Server.tproj/RTSPRequestInterface.h:45, from Server.tproj/RTPStream.h:50, from Server.tproj/RTPStream.cpp:38: CommonUtilitiesLib/StringFormatter.h: In member function 'void StringFormatter::PutFilePath(StrPtrLen*, StrPtrLen*)': CommonUtilitiesLib/StringFormatter.h:138:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Put(kPathDelimiterString); ^ In file included from CommonUtilitiesLib/TimeoutTask.h:44:0, from Server.tproj/RTSPResponseStream.h:41, from Server.tproj/RTSPSessionInterface.h:38, from Server.tproj/RTSPRequestInterface.h:45, from Server.tproj/RTPStream.h:50, from Server.tproj/RTPStream.cpp:38: CommonUtilitiesLib/IdleTask.h: In constructor 'IdleTask::IdleTask()': CommonUtilitiesLib/IdleTask.h:78:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] IdleTask() : Task(), fIdleElem() { this->SetTaskName("IdleTask"); fIdleElem.SetEnclosingObject(this); } ^ In file included from Server.tproj/RTSPResponseStream.h:41:0, from Server.tproj/RTSPSessionInterface.h:38, from Server.tproj/RTSPRequestInterface.h:45, from Server.tproj/RTPStream.h:50, from Server.tproj/RTPStream.cpp:38: CommonUtilitiesLib/TimeoutTask.h: In constructor 'TimeoutTaskThread::TimeoutTaskThread()': CommonUtilitiesLib/TimeoutTask.h:58:96: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] TimeoutTaskThread() : IdleTask(), fMutex() {this->SetTaskName("TimeoutTask");} ^ In file included from Server.tproj/RTPSessionInterface.h:41:0, from Server.tproj/RTPStream.h:51, from Server.tproj/RTPStream.cpp:38: RTCPUtilitiesLib/RTCPSRPacket.h: In member function 'void RTCPSRPacket::SetSSRC(UInt32)': RTCPUtilitiesLib/RTCPSRPacket.h:112:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((UInt32*)&fSenderReportBuffer)[1] = htonl(inSSRC); ^ RTCPUtilitiesLib/RTCPSRPacket.h:115:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((UInt32*)&fSenderReportBuffer)[8] = htonl(inSSRC); ^ RTCPUtilitiesLib/RTCPSRPacket.h: In member function 'void RTCPSRPacket::SetNTPTimestamp(SInt64)': RTCPUtilitiesLib/RTCPSRPacket.h:136:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((SInt64*)&fSenderReportBuffer)[1] = OS::HostToNetworkSInt64(inNTPTimestamp); ^ RTCPUtilitiesLib/RTCPSRPacket.h: In member function 'void RTCPSRPacket::SetRTPTimestamp(UInt32)': RTCPUtilitiesLib/RTCPSRPacket.h:145:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((UInt32*)&fSenderReportBuffer)[4] = htonl(inRTPTimestamp); ^ RTCPUtilitiesLib/RTCPSRPacket.h: In member function 'void RTCPSRPacket::SetPacketCount(UInt32)': RTCPUtilitiesLib/RTCPSRPacket.h:150:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((UInt32*)&fSenderReportBuffer)[5] = htonl(inPacketCount); ^ RTCPUtilitiesLib/RTCPSRPacket.h: In member function 'void RTCPSRPacket::SetByteCount(UInt32)': RTCPUtilitiesLib/RTCPSRPacket.h:155:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((UInt32*)&fSenderReportBuffer)[6] = htonl(inByteCount); ^ In file included from Server.tproj/QTSServerInterface.h:50:0, from Server.tproj/RTPSessionInterface.h:48, from Server.tproj/RTPStream.h:51, from Server.tproj/RTPStream.cpp:38: CommonUtilitiesLib/TCPListenerSocket.h: In constructor 'TCPListenerSocket::TCPListenerSocket()': CommonUtilitiesLib/TCPListenerSocket.h:48:145: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] fAddr(0), fPort(0), fOutOfDescriptors(false), fSleepBetweenAccepts(false) {this->SetTaskName("TCPListenerSocket");} ^ Server.tproj/RTPStream.cpp: At global scope: Server.tproj/RTPStream.cpp:104:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("0"), ^ Server.tproj/RTPStream.cpp:105:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("1"), ^ Server.tproj/RTPStream.cpp:106:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("2"), ^ Server.tproj/RTPStream.cpp:107:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("3"), ^ Server.tproj/RTPStream.cpp:108:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("4"), ^ Server.tproj/RTPStream.cpp:109:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("5"), ^ Server.tproj/RTPStream.cpp:110:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("6"), ^ Server.tproj/RTPStream.cpp:111:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("7"), ^ Server.tproj/RTPStream.cpp:112:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("8"), ^ Server.tproj/RTPStream.cpp:113:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("9") ^ Server.tproj/RTPStream.cpp:116:27: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] char *RTPStream::noType = "no-type"; ^ Server.tproj/RTPStream.cpp:117:24: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] char *RTPStream::UDP = "UDP"; ^ Server.tproj/RTPStream.cpp:118:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] char *RTPStream::RUDP = "RUDP"; ^ Server.tproj/RTPStream.cpp:119:24: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] char *RTPStream::TCP = "TCP"; ^ Server.tproj/RTPStream.cpp: In member function 'QTSS_Error RTPStream::Setup(RTSPRequestInterface*, QTSS_AddStreamFlags)': Server.tproj/RTPStream.cpp:400:67: warning: large integer implicitly truncated to unsigned type [-Woverflow] fSession->GetOverbufferWindow()->SetWindowSize(kUInt32_Max); ^ Server.tproj/RTPStream.cpp:489:16: warning: variable 'useSlowStart' set but not used [-Wunused-but-set-variable] Bool16 useSlowStart = !(inFlags & qtssASFlagsDontUseSlowStart); ^ Server.tproj/RTPStream.cpp: In member function 'void RTPStream::SendSetupResponse(RTSPRequestInterface*)': Server.tproj/RTPStream.cpp:553:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sHeaderOn("1",1); ^ Server.tproj/RTPStream.cpp:554:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sHeaderOff("0",1); ^ Server.tproj/RTPStream.cpp: In member function 'virtual QTSS_Error RTPStream::Write(void*, UInt32, UInt32*, UInt32)': Server.tproj/RTPStream.cpp:1015:31: warning: variable 'startTime' set but not used [-Wunused-but-set-variable] static SInt64 startTime = -1; ^ Server.tproj/RTPStream.cpp:1018:31: warning: variable 'firstTime' set but not used [-Wunused-but-set-variable] static SInt64 firstTime; ^ Server.tproj/RTPStream.cpp: In member function 'void RTPStream::PrintPacket(char*, UInt32, SInt32)': Server.tproj/RTPStream.cpp:1475:21: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* rr="RR"; ^ Server.tproj/RTPStream.cpp:1476:22: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* ack="ACK"; ^ Server.tproj/RTPStream.cpp:1477:22: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* app="APP"; ^ Server.tproj/RTPStream.cpp:1478:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sTypeAudio=" type=audio"; ^ Server.tproj/RTPStream.cpp:1479:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sTypeVideo=" type=video"; ^ Server.tproj/RTPStream.cpp:1480:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sUnknownTypeStr = "?"; ^ In file included from CommonUtilitiesLib/UDPDemuxer.h:38:0, from Server.tproj/RTPStream.h:47, from Server.tproj/RTPStream.cpp:38: CommonUtilitiesLib/OSHashTable.h: In instantiation of 'OSHashTable<T, K>::OSHashTable(UInt32) [with T = UDPDemuxerTask; K = UDPDemuxerKey; UInt32 = unsigned int]': CommonUtilitiesLib/UDPDemuxer.h:142:62: required from here CommonUtilitiesLib/OSHashTable.h:46:20: warning: ISO C++ does not support variable-length array types [-Wvla] 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:86: required from here CommonUtilitiesLib/OSHashTable.h:46:20: warning: ISO C++ does not support variable-length array types [-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:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen RTSPProtocol::sRetrProtName("our-retransmit"); ^ Server.tproj/RTSPProtocol.cpp:39:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("DESCRIBE"), ^ Server.tproj/RTSPProtocol.cpp:40:22: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("SETUP"), ^ Server.tproj/RTSPProtocol.cpp:41:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("TEARDOWN"), ^ Server.tproj/RTSPProtocol.cpp:42:21: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("PLAY"), ^ Server.tproj/RTSPProtocol.cpp:43:22: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("PAUSE"), ^ Server.tproj/RTSPProtocol.cpp:44:24: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("OPTIONS"), ^ Server.tproj/RTSPProtocol.cpp:45:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("ANNOUNCE"), ^ Server.tproj/RTSPProtocol.cpp:46:30: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("GET_PARAMETER"), ^ Server.tproj/RTSPProtocol.cpp:47:30: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("SET_PARAMETER"), ^ Server.tproj/RTSPProtocol.cpp:48:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("REDIRECT"), ^ Server.tproj/RTSPProtocol.cpp:49:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("RECORD") ^ Server.tproj/RTSPProtocol.cpp:80:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Accept"), ^ Server.tproj/RTSPProtocol.cpp:81:21: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Cseq"), ^ Server.tproj/RTSPProtocol.cpp:82:27: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("User-Agent"), ^ Server.tproj/RTSPProtocol.cpp:83:26: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Transport"), ^ Server.tproj/RTSPProtocol.cpp:84:24: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Session"), ^ Server.tproj/RTSPProtocol.cpp:85:22: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Range"), ^ Server.tproj/RTSPProtocol.cpp:87:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Accept-Encoding"), ^ Server.tproj/RTSPProtocol.cpp:88:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Accept-Language"), ^ Server.tproj/RTSPProtocol.cpp:89:30: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Authorization"), ^ Server.tproj/RTSPProtocol.cpp:90:26: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Bandwidth"), ^ Server.tproj/RTSPProtocol.cpp:91:26: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Blocksize"), ^ Server.tproj/RTSPProtocol.cpp:92:30: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Cache-Control"), ^ Server.tproj/RTSPProtocol.cpp:93:27: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Conference"), ^ Server.tproj/RTSPProtocol.cpp:94:27: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Connection"), ^ Server.tproj/RTSPProtocol.cpp:95:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Content-Base"), ^ Server.tproj/RTSPProtocol.cpp:96:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Content-Encoding"), ^ Server.tproj/RTSPProtocol.cpp:97:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Content-Language"), ^ Server.tproj/RTSPProtocol.cpp:98:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Content-length"), ^ Server.tproj/RTSPProtocol.cpp:99:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Content-Location"), ^ Server.tproj/RTSPProtocol.cpp:100:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Content-Type"), ^ Server.tproj/RTSPProtocol.cpp:101:21: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Date"), ^ Server.tproj/RTSPProtocol.cpp:102:24: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Expires"), ^ Server.tproj/RTSPProtocol.cpp:103:21: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("From"), ^ Server.tproj/RTSPProtocol.cpp:104:21: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Host"), ^ Server.tproj/RTSPProtocol.cpp:105:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("If-Match"), ^ Server.tproj/RTSPProtocol.cpp:106:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("If-Modified-Since"), ^ Server.tproj/RTSPProtocol.cpp:107:30: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Last-Modified"), ^ Server.tproj/RTSPProtocol.cpp:108:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Location"), ^ Server.tproj/RTSPProtocol.cpp:109:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Proxy-Authenticate"), ^ Server.tproj/RTSPProtocol.cpp:110:30: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Proxy-Require"), ^ Server.tproj/RTSPProtocol.cpp:111:24: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Referer"), ^ Server.tproj/RTSPProtocol.cpp:112:28: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Retry-After"), ^ Server.tproj/RTSPProtocol.cpp:113:24: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Require"), ^ Server.tproj/RTSPProtocol.cpp:114:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("RTP-Info"), ^ Server.tproj/RTSPProtocol.cpp:115:22: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Scale"), ^ Server.tproj/RTSPProtocol.cpp:116:22: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Speed"), ^ Server.tproj/RTSPProtocol.cpp:117:26: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Timestamp"), ^ Server.tproj/RTSPProtocol.cpp:118:21: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Vary"), ^ Server.tproj/RTSPProtocol.cpp:119:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Via"), ^ Server.tproj/RTSPProtocol.cpp:120:22: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Allow"), ^ Server.tproj/RTSPProtocol.cpp:121:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Public"), ^ Server.tproj/RTSPProtocol.cpp:122:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Server"), ^ Server.tproj/RTSPProtocol.cpp:123:28: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Unsupported"), ^ Server.tproj/RTSPProtocol.cpp:124:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("WWW-Authenticate"), ^ Server.tproj/RTSPProtocol.cpp:125:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen(","), ^ Server.tproj/RTSPProtocol.cpp:126:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("x-Retransmit"), ^ Server.tproj/RTSPProtocol.cpp:127:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("x-Accept-Retransmit"), ^ Server.tproj/RTSPProtocol.cpp:128:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("x-RTP-Meta-Info"), ^ Server.tproj/RTSPProtocol.cpp:129:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("x-Transport-Options"), ^ Server.tproj/RTSPProtocol.cpp:130:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("x-Packet-Range"), ^ Server.tproj/RTSPProtocol.cpp:131:28: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("x-Prebuffer"), ^ Server.tproj/RTSPProtocol.cpp:132:28: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("x-Dynamic-Rate"), ^ Server.tproj/RTSPProtocol.cpp:133:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("x-Accept-Dynamic-Rate"), ^ Server.tproj/RTSPProtocol.cpp:135:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("x-Random-Data-Size") ^ Server.tproj/RTSPProtocol.cpp:191:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Continue"), //kContinue ^ Server.tproj/RTSPProtocol.cpp:192:19: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("OK"), //kSuccessOK ^ Server.tproj/RTSPProtocol.cpp:193:24: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Created"), //kSuccessCreated ^ Server.tproj/RTSPProtocol.cpp:194:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Accepted"), //kSuccessAccepted ^ Server.tproj/RTSPProtocol.cpp:195:27: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("No Content"), //kSuccessNoContent ^ Server.tproj/RTSPProtocol.cpp:196:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Partial Content"), //kSuccessPartialContent ^ Server.tproj/RTSPProtocol.cpp:197:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Low on Storage Space"), //kSuccessLowOnStorage ^ Server.tproj/RTSPProtocol.cpp:198:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Multiple Choices"), //kMultipleChoices ^ Server.tproj/RTSPProtocol.cpp:199:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Moved Permanently"), //kRedirectPermMoved ^ Server.tproj/RTSPProtocol.cpp:200:22: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Found"), //kRedirectTempMoved ^ Server.tproj/RTSPProtocol.cpp:201:26: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("See Other"), //kRedirectSeeOther ^ Server.tproj/RTSPProtocol.cpp:202:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Not Modified"), //kRedirectNotModified ^ Server.tproj/RTSPProtocol.cpp:203:26: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Use Proxy"), //kUseProxy ^ Server.tproj/RTSPProtocol.cpp:204:28: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Bad Request"), //kClientBadRequest ^ Server.tproj/RTSPProtocol.cpp:205:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Unauthorized"), //kClientUnAuthorized ^ Server.tproj/RTSPProtocol.cpp:206:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Payment Required"), //kPaymentRequired ^ Server.tproj/RTSPProtocol.cpp:207:26: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Forbidden"), //kClientForbidden ^ Server.tproj/RTSPProtocol.cpp:208:26: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Not Found"), //kClientNotFound ^ Server.tproj/RTSPProtocol.cpp:209:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Method Not Allowed"), //kClientMethodNotAllowed ^ Server.tproj/RTSPProtocol.cpp:210:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Not Acceptable"), //kNotAcceptable ^ Server.tproj/RTSPProtocol.cpp:211:46: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Proxy Authentication Required"), //kProxyAuthenticationRequired ^ Server.tproj/RTSPProtocol.cpp:212:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Request Time-out"), //kRequestTimeout ^ Server.tproj/RTSPProtocol.cpp:213:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Conflict"), //kClientConflict ^ Server.tproj/RTSPProtocol.cpp:214:21: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Gone"), //kGone ^ Server.tproj/RTSPProtocol.cpp:215:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Length Required"), //kLengthRequired ^ Server.tproj/RTSPProtocol.cpp:216:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Precondition Failed"), //kPreconditionFailed ^ Server.tproj/RTSPProtocol.cpp:217:41: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Request Entity Too Large"), //kRequestEntityTooLarge ^ Server.tproj/RTSPProtocol.cpp:218:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Request-URI Too Large"), //kRequestURITooLarge ^ Server.tproj/RTSPProtocol.cpp:219:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Unsupported Media Type"), //kUnsupportedMediaType ^ Server.tproj/RTSPProtocol.cpp:220:41: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Parameter Not Understood"), //kClientParameterNotUnderstood ^ Server.tproj/RTSPProtocol.cpp:221:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Conference Not Found"), //kClientConferenceNotFound ^ Server.tproj/RTSPProtocol.cpp:222:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Not Enough Bandwidth"), //kClientNotEnoughBandwidth ^ Server.tproj/RTSPProtocol.cpp:223:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Session Not Found"), //kClientSessionNotFound ^ Server.tproj/RTSPProtocol.cpp:224:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Method Not Valid in this State"), //kClientMethodNotValidInState ^ Server.tproj/RTSPProtocol.cpp:225:52: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Header Field Not Valid For Resource"), //kClientHeaderFieldNotValid ^ Server.tproj/RTSPProtocol.cpp:226:30: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Invalid Range"), //kClientInvalidRange ^ Server.tproj/RTSPProtocol.cpp:227:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Parameter Is Read-Only"), //kClientReadOnlyParameter ^ Server.tproj/RTSPProtocol.cpp:228:45: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Aggregate Option Not Allowed"), //kClientAggregateOptionNotAllowed ^ Server.tproj/RTSPProtocol.cpp:229:46: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Only Aggregate Option Allowed"), //kClientAggregateOptionAllowed ^ Server.tproj/RTSPProtocol.cpp:230:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Unsupported Transport"), //kClientUnsupportedTransport ^ Server.tproj/RTSPProtocol.cpp:231:40: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Destination Unreachable"), //kClientDestinationUnreachable ^ Server.tproj/RTSPProtocol.cpp:232:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Internal Server Error"), //kServerInternal ^ Server.tproj/RTSPProtocol.cpp:233:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Not Implemented"), //kServerNotImplemented ^ Server.tproj/RTSPProtocol.cpp:234:28: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Bad Gateway"), //kServerBadGateway ^ Server.tproj/RTSPProtocol.cpp:235:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Service Unavailable"), //kServerUnavailable ^ Server.tproj/RTSPProtocol.cpp:236:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Gateway Timeout"), //kServerGatewayTimeout ^ Server.tproj/RTSPProtocol.cpp:237:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("RTSP Version not supported"), //kRTSPVersionNotSupported ^ Server.tproj/RTSPProtocol.cpp:238:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("Option Not Supported") //kServerOptionNotSupported ^ Server.tproj/RTSPProtocol.cpp:295:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("100"), //kContinue ^ Server.tproj/RTSPProtocol.cpp:296:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("200"), //kSuccessOK ^ Server.tproj/RTSPProtocol.cpp:297:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("201"), //kSuccessCreated ^ Server.tproj/RTSPProtocol.cpp:298:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("202"), //kSuccessAccepted ^ Server.tproj/RTSPProtocol.cpp:299:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("204"), //kSuccessNoContent ^ Server.tproj/RTSPProtocol.cpp:300:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("206"), //kSuccessPartialContent ^ Server.tproj/RTSPProtocol.cpp:301:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("250"), //kSuccessLowOnStorage ^ Server.tproj/RTSPProtocol.cpp:302:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("300"), //kMultipleChoices ^ Server.tproj/RTSPProtocol.cpp:303:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("301"), //kRedirectPermMoved ^ Server.tproj/RTSPProtocol.cpp:304:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("302"), //kRedirectTempMoved ^ Server.tproj/RTSPProtocol.cpp:305:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("303"), //kRedirectSeeOther ^ Server.tproj/RTSPProtocol.cpp:306:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("304"), //kRedirectNotModified ^ Server.tproj/RTSPProtocol.cpp:307:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("305"), //kUseProxy ^ Server.tproj/RTSPProtocol.cpp:308:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("400"), //kClientBadRequest ^ Server.tproj/RTSPProtocol.cpp:309:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("401"), //kClientUnAuthorized ^ Server.tproj/RTSPProtocol.cpp:310:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("402"), //kPaymentRequired ^ Server.tproj/RTSPProtocol.cpp:311:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("403"), //kClientForbidden ^ Server.tproj/RTSPProtocol.cpp:312:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("404"), //kClientNotFound ^ Server.tproj/RTSPProtocol.cpp:313:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("405"), //kClientMethodNotAllowed ^ Server.tproj/RTSPProtocol.cpp:314:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("406"), //kNotAcceptable ^ Server.tproj/RTSPProtocol.cpp:315:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("407"), //kProxyAuthenticationRequired ^ Server.tproj/RTSPProtocol.cpp:316:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("408"), //kRequestTimeout ^ Server.tproj/RTSPProtocol.cpp:317:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("409"), //kClientConflict ^ Server.tproj/RTSPProtocol.cpp:318:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("410"), //kGone ^ Server.tproj/RTSPProtocol.cpp:319:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("411"), //kLengthRequired ^ Server.tproj/RTSPProtocol.cpp:320:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("412"), //kPreconditionFailed ^ Server.tproj/RTSPProtocol.cpp:321:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("413"), //kRequestEntityTooLarge ^ Server.tproj/RTSPProtocol.cpp:322:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("414"), //kRequestURITooLarge ^ Server.tproj/RTSPProtocol.cpp:323:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("415"), //kUnsupportedMediaType ^ Server.tproj/RTSPProtocol.cpp:324:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("451"), //kClientParameterNotUnderstood ^ Server.tproj/RTSPProtocol.cpp:325:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("452"), //kClientConferenceNotFound ^ Server.tproj/RTSPProtocol.cpp:326:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("453"), //kClientNotEnoughBandwidth ^ Server.tproj/RTSPProtocol.cpp:327:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("454"), //kClientSessionNotFound ^ Server.tproj/RTSPProtocol.cpp:328:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("455"), //kClientMethodNotValidInState ^ Server.tproj/RTSPProtocol.cpp:329:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("456"), //kClientHeaderFieldNotValid ^ Server.tproj/RTSPProtocol.cpp:330:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("457"), //kClientInvalidRange ^ Server.tproj/RTSPProtocol.cpp:331:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("458"), //kClientReadOnlyParameter ^ Server.tproj/RTSPProtocol.cpp:332:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("459"), //kClientAggregateOptionNotAllowed ^ Server.tproj/RTSPProtocol.cpp:333:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("460"), //kClientAggregateOptionAllowed ^ Server.tproj/RTSPProtocol.cpp:334:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("461"), //kClientUnsupportedTransport ^ Server.tproj/RTSPProtocol.cpp:335:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("462"), //kClientDestinationUnreachable ^ Server.tproj/RTSPProtocol.cpp:336:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("500"), //kServerInternal ^ Server.tproj/RTSPProtocol.cpp:337:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("501"), //kServerNotImplemented ^ Server.tproj/RTSPProtocol.cpp:338:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("502"), //kServerBadGateway ^ Server.tproj/RTSPProtocol.cpp:339:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("503"), //kServerUnavailable ^ Server.tproj/RTSPProtocol.cpp:340:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("504"), //kServerGatewayTimeout ^ Server.tproj/RTSPProtocol.cpp:341:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("505"), //kRTSPVersionNotSupported ^ Server.tproj/RTSPProtocol.cpp:342:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("551") //kServerOptionNotSupported ^ Server.tproj/RTSPProtocol.cpp:347:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen("RTSP/1.0") ^ c++ -fPIC -c -o Server.tproj/RTSPRequest.o -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 CommonUtilitiesLib/ResizeableStringFormatter.h:39:0, from Server.tproj/RTSPResponseStream.h:39, from Server.tproj/RTSPSessionInterface.h:38, from Server.tproj/RTSPRequestInterface.h:45, from Server.tproj/RTSPRequest.h:51, from Server.tproj/RTSPRequest.cpp:35: CommonUtilitiesLib/StringFormatter.h: In member function 'void StringFormatter::PutFilePath(StrPtrLen*, StrPtrLen*)': CommonUtilitiesLib/StringFormatter.h:138:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Put(kPathDelimiterString); ^ In file included from CommonUtilitiesLib/TimeoutTask.h:44:0, from Server.tproj/RTSPResponseStream.h:41, from Server.tproj/RTSPSessionInterface.h:38, from Server.tproj/RTSPRequestInterface.h:45, from Server.tproj/RTSPRequest.h:51, from Server.tproj/RTSPRequest.cpp:35: CommonUtilitiesLib/IdleTask.h: In constructor 'IdleTask::IdleTask()': CommonUtilitiesLib/IdleTask.h:78:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] IdleTask() : Task(), fIdleElem() { this->SetTaskName("IdleTask"); fIdleElem.SetEnclosingObject(this); } ^ In file included from Server.tproj/RTSPResponseStream.h:41:0, from Server.tproj/RTSPSessionInterface.h:38, from Server.tproj/RTSPRequestInterface.h:45, from Server.tproj/RTSPRequest.h:51, from Server.tproj/RTSPRequest.cpp:35: CommonUtilitiesLib/TimeoutTask.h: In constructor 'TimeoutTaskThread::TimeoutTaskThread()': CommonUtilitiesLib/TimeoutTask.h:58:96: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] TimeoutTaskThread() : IdleTask(), fMutex() {this->SetTaskName("TimeoutTask");} ^ In file included from Server.tproj/QTSServerInterface.h:50:0, from Server.tproj/RTSPRequest.cpp:37: CommonUtilitiesLib/TCPListenerSocket.h: In constructor 'TCPListenerSocket::TCPListenerSocket()': CommonUtilitiesLib/TCPListenerSocket.h:48:145: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] fAddr(0), fPort(0), fOutOfDescriptors(false), fSleepBetweenAccepts(false) {this->SetTaskName("TCPListenerSocket");} ^ In file included from Server.tproj/RTPSessionInterface.h:41:0, from Server.tproj/RTPSession.h:48, from Server.tproj/RTSPSession.h:42, from Server.tproj/RTSPRequest.cpp:39: RTCPUtilitiesLib/RTCPSRPacket.h: In member function 'void RTCPSRPacket::SetSSRC(UInt32)': RTCPUtilitiesLib/RTCPSRPacket.h:112:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((UInt32*)&fSenderReportBuffer)[1] = htonl(inSSRC); ^ RTCPUtilitiesLib/RTCPSRPacket.h:115:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((UInt32*)&fSenderReportBuffer)[8] = htonl(inSSRC); ^ RTCPUtilitiesLib/RTCPSRPacket.h: In member function 'void RTCPSRPacket::SetNTPTimestamp(SInt64)': RTCPUtilitiesLib/RTCPSRPacket.h:136:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((SInt64*)&fSenderReportBuffer)[1] = OS::HostToNetworkSInt64(inNTPTimestamp); ^ RTCPUtilitiesLib/RTCPSRPacket.h: In member function 'void RTCPSRPacket::SetRTPTimestamp(UInt32)': RTCPUtilitiesLib/RTCPSRPacket.h:145:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((UInt32*)&fSenderReportBuffer)[4] = htonl(inRTPTimestamp); ^ RTCPUtilitiesLib/RTCPSRPacket.h: In member function 'void RTCPSRPacket::SetPacketCount(UInt32)': RTCPUtilitiesLib/RTCPSRPacket.h:150:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((UInt32*)&fSenderReportBuffer)[5] = htonl(inPacketCount); ^ RTCPUtilitiesLib/RTCPSRPacket.h: In member function 'void RTCPSRPacket::SetByteCount(UInt32)': RTCPUtilitiesLib/RTCPSRPacket.h:155:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((UInt32*)&fSenderReportBuffer)[6] = htonl(inByteCount); ^ Server.tproj/RTSPRequest.cpp: At global scope: Server.tproj/RTSPRequest.cpp:83:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sDefaultRealm("Streaming Server", 16); ^ Server.tproj/RTSPRequest.cpp:84:45: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sAuthBasicStr("Basic", 5); ^ Server.tproj/RTSPRequest.cpp:85:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sAuthDigestStr("Digest", 6); ^ Server.tproj/RTSPRequest.cpp:86:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sUsernameStr("username", 8); ^ Server.tproj/RTSPRequest.cpp:87:41: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sRealmStr("realm", 5); ^ Server.tproj/RTSPRequest.cpp:88:41: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sNonceStr("nonce", 5); ^ Server.tproj/RTSPRequest.cpp:89:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sUriStr("uri", 3); ^ Server.tproj/RTSPRequest.cpp:90:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sQopStr("qop", 3); ^ Server.tproj/RTSPRequest.cpp:91:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sQopAuthStr("auth", 3); ^ Server.tproj/RTSPRequest.cpp:92:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sQopAuthIntStr("auth-int", 8); ^ Server.tproj/RTSPRequest.cpp:93:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sNonceCountStr("nc", 2); ^ Server.tproj/RTSPRequest.cpp:94:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sResponseStr("response", 8); ^ Server.tproj/RTSPRequest.cpp:95:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sOpaqueStr("opaque", 6); ^ Server.tproj/RTSPRequest.cpp:96:41: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sEqualQuote("=\"", 2); ^ Server.tproj/RTSPRequest.cpp:97:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sQuoteCommaSpace("\", ", 3); ^ Server.tproj/RTSPRequest.cpp:98:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sStaleTrue("stale=\"true\", ", 14); ^ Server.tproj/RTSPRequest.cpp: In member function 'QTSS_Error RTSPRequest::ParseURI(StringParser&)': Server.tproj/RTSPRequest.cpp:199:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen nonaggregate(tempCStr.FindString("/trackID=")); ^ Server.tproj/RTSPRequest.cpp:214:30: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sSlashURI = "/"; ^ Server.tproj/RTSPRequest.cpp: In member function 'Bool16 RTSPRequest::ParseNetworkModeSubHeader(StrPtrLen*)': Server.tproj/RTSPRequest.cpp:397:40: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sUnicast("unicast"); ^ Server.tproj/RTSPRequest.cpp:398:45: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sMulticast("multiicast"); ^ Server.tproj/RTSPRequest.cpp: In member function 'void RTSPRequest::ParseTransportHeader()': Server.tproj/RTSPRequest.cpp:420:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sRTPAVPTransportStr = "RTP/AVP"; ^ Server.tproj/RTSPRequest.cpp:464:77: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if ( theTransportSubHeader.EqualIgnoreCase("RTP/AVP/TCP") ) ^ Server.tproj/RTSPRequest.cpp:477:73: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sDestinationSubHeader("destination"); ^ Server.tproj/RTSPRequest.cpp:487:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sSourceSubHeader("source"); ^ Server.tproj/RTSPRequest.cpp: In member function 'void RTSPRequest::ParseRetransmitHeader()': Server.tproj/RTSPRequest.cpp:562:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static const StrPtrLen kWindow("window"); ^ Server.tproj/RTSPRequest.cpp: In member function 'void RTSPRequest::ParsePrebufferHeader()': Server.tproj/RTSPRequest.cpp:597:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static const StrPtrLen kMaxTimeSubHeader("maxtime"); ^ Server.tproj/RTSPRequest.cpp: In member function 'void RTSPRequest::ParseTransportOptionsHeader()': Server.tproj/RTSPRequest.cpp:645:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sLateTolerance("late-tolerance"); ^ Server.tproj/RTSPRequest.cpp: In member function 'void RTSPRequest::ParseModeSubHeader(StrPtrLen*)': Server.tproj/RTSPRequest.cpp:696:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sModeSubHeader("mode"); ^ Server.tproj/RTSPRequest.cpp:697:44: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sReceiveMode("receive"); ^ Server.tproj/RTSPRequest.cpp:698:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sRecordMode("record"); ^ Server.tproj/RTSPRequest.cpp: In member function 'void RTSPRequest::ParseClientPortSubHeader(StrPtrLen*)': Server.tproj/RTSPRequest.cpp:725:56: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sClientPortSubHeader("client_port"); ^ Server.tproj/RTSPRequest.cpp:726:74: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sErrorMessage("Received invalid client_port field: "); ^ Server.tproj/RTSPRequest.cpp: In member function 'void RTSPRequest::ParseTimeToLiveSubHeader(StrPtrLen*)': Server.tproj/RTSPRequest.cpp:765:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sTimeToLiveSubHeader("ttl"); ^ Server.tproj/RTSPRequest.cpp: In member function 'QTSS_Error RTSPRequest::ParseBasicHeader(StringParser*)': Server.tproj/RTSPRequest.cpp:817:24: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen name(""); ^ Server.tproj/RTSPRequest.cpp:818:28: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen password(""); ^ Server.tproj/RTSPRequest.cpp: In member function 'QTSS_Error RTSPRequest::ParseDigestHeader(StringParser*)': Server.tproj/RTSPRequest.cpp:845:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen fieldNameAndValue(""); ^ Server.tproj/RTSPRequest.cpp:848:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen fieldName(""); ^ Server.tproj/RTSPRequest.cpp:849:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen fieldValue(""); ^ Server.tproj/RTSPRequest.cpp: In member function 'QTSS_Error RTSPRequest::ParseAuthHeader()': Server.tproj/RTSPRequest.cpp:909:28: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen authWord(""); ^ In file included from CommonUtilitiesLib/OSRef.h:46:0, from CommonUtilitiesLib/EventContext.h:42, from CommonUtilitiesLib/Socket.h:43, from CommonUtilitiesLib/TCPSocket.h:46, from Server.tproj/RTSPRequestStream.h:42, from Server.tproj/RTSPSessionInterface.h:37, from Server.tproj/RTSPRequestInterface.h:45, from Server.tproj/RTSPRequest.h:51, from Server.tproj/RTSPRequest.cpp:35: CommonUtilitiesLib/OSHashTable.h: In instantiation of 'OSHashTable<T, K>::OSHashTable(UInt32) [with T = OSRef; K = OSRefKey; UInt32 = unsigned int]': CommonUtilitiesLib/OSRef.h:177:86: required from here CommonUtilitiesLib/OSHashTable.h:46:20: warning: ISO C++ does not support variable-length array types [-Wvla] 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:62: required from here CommonUtilitiesLib/OSHashTable.h:46:20: warning: ISO C++ does not support variable-length array types [-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 CommonUtilitiesLib/ResizeableStringFormatter.h:39:0, from Server.tproj/RTSPResponseStream.h:39, from Server.tproj/RTSPSessionInterface.h:38, from Server.tproj/RTSPRequestInterface.h:45, from Server.tproj/RTSPRequestInterface.cpp:42: CommonUtilitiesLib/StringFormatter.h: In member function 'void StringFormatter::PutFilePath(StrPtrLen*, StrPtrLen*)': CommonUtilitiesLib/StringFormatter.h:138:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Put(kPathDelimiterString); ^ In file included from CommonUtilitiesLib/TimeoutTask.h:44:0, from Server.tproj/RTSPResponseStream.h:41, from Server.tproj/RTSPSessionInterface.h:38, from Server.tproj/RTSPRequestInterface.h:45, from Server.tproj/RTSPRequestInterface.cpp:42: CommonUtilitiesLib/IdleTask.h: In constructor 'IdleTask::IdleTask()': CommonUtilitiesLib/IdleTask.h:78:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] IdleTask() : Task(), fIdleElem() { this->SetTaskName("IdleTask"); fIdleElem.SetEnclosingObject(this); } ^ In file included from Server.tproj/RTSPResponseStream.h:41:0, from Server.tproj/RTSPSessionInterface.h:38, from Server.tproj/RTSPRequestInterface.h:45, from Server.tproj/RTSPRequestInterface.cpp:42: CommonUtilitiesLib/TimeoutTask.h: In constructor 'TimeoutTaskThread::TimeoutTaskThread()': CommonUtilitiesLib/TimeoutTask.h:58:96: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] TimeoutTaskThread() : IdleTask(), fMutex() {this->SetTaskName("TimeoutTask");} ^ In file included from Server.tproj/QTSServerInterface.h:50:0, from Server.tproj/RTSPRequestInterface.cpp:53: CommonUtilitiesLib/TCPListenerSocket.h: In constructor 'TCPListenerSocket::TCPListenerSocket()': CommonUtilitiesLib/TCPListenerSocket.h:48:145: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] fAddr(0), fPort(0), fOutOfDescriptors(false), fSleepBetweenAccepts(false) {this->SetTaskName("TCPListenerSocket");} ^ Server.tproj/RTSPRequestInterface.cpp: At global scope: Server.tproj/RTSPRequestInterface.cpp:62:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] StrPtrLen RTSPRequestInterface::sColonSpace(": ", 2); ^ Server.tproj/RTSPRequestInterface.cpp: In member function 'void RTSPRequestInterface::AppendSessionHeaderWithTimeout(StrPtrLen*, StrPtrLen*)': Server.tproj/RTSPRequestInterface.cpp:283:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sTimeoutString(";timeout="); ^ Server.tproj/RTSPRequestInterface.cpp: In member function 'void RTSPRequestInterface::AppendTransportHeader(StrPtrLen*, StrPtrLen*, StrPtrLen*, StrPtrLen*, StrPtrLen*, StrPtrLen*)': Server.tproj/RTSPRequestInterface.cpp:336:58: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sServerPortString(";server_port="); ^ Server.tproj/RTSPRequestInterface.cpp:337:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sSourceString(";source="); ^ Server.tproj/RTSPRequestInterface.cpp:338:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sInterleavedString(";interleaved="); ^ Server.tproj/RTSPRequestInterface.cpp:339:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sSSRC(";ssrc="); ^ Server.tproj/RTSPRequestInterface.cpp:340:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sInterLeaved("interleaved");//match the interleaved tag ^ Server.tproj/RTSPRequestInterface.cpp:341:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sClientPort("client_port"); ^ Server.tproj/RTSPRequestInterface.cpp:342:58: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sClientPortString(";client_port="); ^ Server.tproj/RTSPRequestInterface.cpp:417:45: warning: format '%lu' expects argument of type 'long unsigned int*', but argument 3 has type 'UInt32* {aka unsigned int*}' [-Wformat=] ::sscanf(theCString, "%lu", &ssrcVal); ^ Server.tproj/RTSPRequestInterface.cpp: In member function 'void RTSPRequestInterface::AppendRetransmitHeader(UInt32)': Server.tproj/RTSPRequestInterface.cpp:444:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static const StrPtrLen kAckTimeout("ack-timeout="); ^ Server.tproj/RTSPRequestInterface.cpp: In member function 'void RTSPRequestInterface::AppendRTPInfoHeader(QTSS_RTSPHeader, StrPtrLen*, StrPtrLen*, StrPtrLen*, StrPtrLen*, Bool16)': Server.tproj/RTSPRequestInterface.cpp:470:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sURL("url=", 4); ^ Server.tproj/RTSPRequestInterface.cpp:471:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sSeq(";seq=", 5); ^ Server.tproj/RTSPRequestInterface.cpp:472:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sSsrc(";ssrc=", 6); ^ Server.tproj/RTSPRequestInterface.cpp:473:45: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sRTPTime(";rtptime=", 9); ^ Server.tproj/RTSPRequestInterface.cpp: In member function 'void RTSPRequestInterface::WriteStandardHeaders()': Server.tproj/RTSPRequestInterface.cpp:526:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sCloseString("Close", 5); ^ In file included from CommonUtilitiesLib/OSRef.h:46:0, from CommonUtilitiesLib/EventContext.h:42, from CommonUtilitiesLib/Socket.h:43, from CommonUtilitiesLib/TCPSocket.h:46, from Server.tproj/RTSPRequestStream.h:42, from Server.tproj/RTSPSessionInterface.h:37, from Server.tproj/RTSPRequestInterface.h:45, from Server.tproj/RTSPRequestInterface.cpp:42: CommonUtilitiesLib/OSHashTable.h: In instantiation of 'OSHashTable<T, K>::OSHashTable(UInt32) [with T = OSRef; K = OSRefKey; UInt32 = unsigned int]': CommonUtilitiesLib/OSRef.h:177:86: required from here CommonUtilitiesLib/OSHashTable.h:46:20: warning: ISO C++ does not support variable-length array types [-Wvla] 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:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] str.PrintStrEOL("\n\r\n", "\n");// print the request but stop on \n\r\n and add a \n afterwards. ^ Server.tproj/RTSPRequestStream.cpp:209:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] In file included from CommonUtilitiesLib/OSRef.h:46:0, from CommonUtilitiesLib/EventContext.h:42, from CommonUtilitiesLib/Socket.h:43, from CommonUtilitiesLib/TCPSocket.h:46, from Server.tproj/RTSPRequestStream.h:42, from Server.tproj/RTSPRequestStream.cpp:35: CommonUtilitiesLib/OSHashTable.h: In instantiation of 'OSHashTable<T, K>::OSHashTable(UInt32) [with T = OSRef; K = OSRefKey; UInt32 = unsigned int]': CommonUtilitiesLib/OSRef.h:177:86: required from here CommonUtilitiesLib/OSHashTable.h:46:20: warning: ISO C++ does not support variable-length array types [-Wvla] 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/ResizeableStringFormatter.h:39:0, from Server.tproj/RTSPResponseStream.h:39, from Server.tproj/RTSPResponseStream.cpp:33: CommonUtilitiesLib/StringFormatter.h: In member function 'void StringFormatter::PutFilePath(StrPtrLen*, StrPtrLen*)': CommonUtilitiesLib/StringFormatter.h:138:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Put(kPathDelimiterString); ^ In file included from CommonUtilitiesLib/TimeoutTask.h:44:0, from Server.tproj/RTSPResponseStream.h:41, from Server.tproj/RTSPResponseStream.cpp:33: CommonUtilitiesLib/IdleTask.h: In constructor 'IdleTask::IdleTask()': CommonUtilitiesLib/IdleTask.h:78:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] IdleTask() : Task(), fIdleElem() { this->SetTaskName("IdleTask"); fIdleElem.SetEnclosingObject(this); } ^ In file included from Server.tproj/RTSPResponseStream.h:41:0, from Server.tproj/RTSPResponseStream.cpp:33: CommonUtilitiesLib/TimeoutTask.h: In constructor 'TimeoutTaskThread::TimeoutTaskThread()': CommonUtilitiesLib/TimeoutTask.h:58:96: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] TimeoutTaskThread() : IdleTask(), fMutex() {this->SetTaskName("TimeoutTask");} ^ In file included from CommonUtilitiesLib/OSRef.h:46:0, from CommonUtilitiesLib/EventContext.h:42, from CommonUtilitiesLib/Socket.h:43, from CommonUtilitiesLib/TCPSocket.h:46, from Server.tproj/RTSPResponseStream.h:40, from Server.tproj/RTSPResponseStream.cpp:33: CommonUtilitiesLib/OSHashTable.h: In instantiation of 'OSHashTable<T, K>::OSHashTable(UInt32) [with T = OSRef; K = OSRefKey; UInt32 = unsigned int]': CommonUtilitiesLib/OSRef.h:177:86: required from here CommonUtilitiesLib/OSHashTable.h:46:20: warning: ISO C++ does not support variable-length array types [-Wvla] 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 In file included from CommonUtilitiesLib/ResizeableStringFormatter.h:39:0, from Server.tproj/RTSPResponseStream.h:39, from Server.tproj/RTSPSessionInterface.h:38, from Server.tproj/RTSPSession.h:39, from Server.tproj/RTSPSession.cpp:36: CommonUtilitiesLib/StringFormatter.h: In member function 'void StringFormatter::PutFilePath(StrPtrLen*, StrPtrLen*)': CommonUtilitiesLib/StringFormatter.h:138:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Put(kPathDelimiterString); ^ In file included from CommonUtilitiesLib/TimeoutTask.h:44:0, from Server.tproj/RTSPResponseStream.h:41, from Server.tproj/RTSPSessionInterface.h:38, from Server.tproj/RTSPSession.h:39, from Server.tproj/RTSPSession.cpp:36: CommonUtilitiesLib/IdleTask.h: In constructor 'IdleTask::IdleTask()': CommonUtilitiesLib/IdleTask.h:78:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] IdleTask() : Task(), fIdleElem() { this->SetTaskName("IdleTask"); fIdleElem.SetEnclosingObject(this); } ^ In file included from Server.tproj/RTSPResponseStream.h:41:0, from Server.tproj/RTSPSessionInterface.h:38, from Server.tproj/RTSPSession.h:39, from Server.tproj/RTSPSession.cpp:36: CommonUtilitiesLib/TimeoutTask.h: In constructor 'TimeoutTaskThread::TimeoutTaskThread()': CommonUtilitiesLib/TimeoutTask.h:58:96: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] TimeoutTaskThread() : IdleTask(), fMutex() {this->SetTaskName("TimeoutTask");} ^ In file included from Server.tproj/RTPSessionInterface.h:41:0, from Server.tproj/RTPSession.h:48, from Server.tproj/RTSPSession.h:42, from Server.tproj/RTSPSession.cpp:36: RTCPUtilitiesLib/RTCPSRPacket.h: In member function 'void RTCPSRPacket::SetSSRC(UInt32)': RTCPUtilitiesLib/RTCPSRPacket.h:112:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((UInt32*)&fSenderReportBuffer)[1] = htonl(inSSRC); ^ RTCPUtilitiesLib/RTCPSRPacket.h:115:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((UInt32*)&fSenderReportBuffer)[8] = htonl(inSSRC); ^ RTCPUtilitiesLib/RTCPSRPacket.h: In member function 'void RTCPSRPacket::SetNTPTimestamp(SInt64)': RTCPUtilitiesLib/RTCPSRPacket.h:136:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((SInt64*)&fSenderReportBuffer)[1] = OS::HostToNetworkSInt64(inNTPTimestamp); ^ RTCPUtilitiesLib/RTCPSRPacket.h: In member function 'void RTCPSRPacket::SetRTPTimestamp(UInt32)': RTCPUtilitiesLib/RTCPSRPacket.h:145:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((UInt32*)&fSenderReportBuffer)[4] = htonl(inRTPTimestamp); ^ RTCPUtilitiesLib/RTCPSRPacket.h: In member function 'void RTCPSRPacket::SetPacketCount(UInt32)': RTCPUtilitiesLib/RTCPSRPacket.h:150:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((UInt32*)&fSenderReportBuffer)[5] = htonl(inPacketCount); ^ RTCPUtilitiesLib/RTCPSRPacket.h: In member function 'void RTCPSRPacket::SetByteCount(UInt32)': RTCPUtilitiesLib/RTCPSRPacket.h:155:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((UInt32*)&fSenderReportBuffer)[6] = htonl(inByteCount); ^ In file included from Server.tproj/QTSServerInterface.h:50:0, from Server.tproj/RTPSessionInterface.h:48, from Server.tproj/RTPSession.h:48, from Server.tproj/RTSPSession.h:42, from Server.tproj/RTSPSession.cpp:36: CommonUtilitiesLib/TCPListenerSocket.h: In constructor 'TCPListenerSocket::TCPListenerSocket()': CommonUtilitiesLib/TCPListenerSocket.h:48:145: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] fAddr(0), fPort(0), fOutOfDescriptors(false), fSleepBetweenAccepts(false) {this->SetTaskName("TCPListenerSocket");} ^ Server.tproj/RTSPSession.cpp: At global scope: Server.tproj/RTSPSession.cpp:104:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sBroadcasterSessionName="QTSSReflectorModuleBroadcasterSession"; ^ Server.tproj/RTSPSession.cpp:108:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sVideoStr("video"); ^ Server.tproj/RTSPSession.cpp:109:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sAudioStr("audio"); ^ Server.tproj/RTSPSession.cpp:110:40: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sRtpMapStr("rtpmap"); ^ Server.tproj/RTSPSession.cpp:111:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sControlStr("control"); ^ Server.tproj/RTSPSession.cpp:112:52: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sBufferDelayStr("x-bufferdelay"); ^ Server.tproj/RTSPSession.cpp:113:61: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sContentType("application/x-random-data"); ^ Server.tproj/RTSPSession.cpp:115:41: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sAuthAlgorithm("md5"); ^ Server.tproj/RTSPSession.cpp:116:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sAuthQop("auth"); ^ Server.tproj/RTSPSession.cpp:117:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sEmptyStr(""); ^ Server.tproj/RTSPSession.cpp:130:52: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] char* RTSPSession::sHTTPResponseFormatStr = "HTTP/1.0 200 OK\r\n%s%s%s%s\r\nConnection: close\r\nDate: Thu, 19 Aug 1982 18:30:00 GMT\r\nCache-Control: no-store\r\nPragma: no-cache\r\nContent-Type: application/x-rtsp-tunnelled\r\n\r\n"; ^ Server.tproj/RTSPSession.cpp:131:60: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] char* RTSPSession::sHTTPNoServerResponseFormatStr = "HTTP/1.0 200 OK\r\n%s%s%s%sConnection: close\r\nDate: Thu, 19 Aug 1982 18:30:00 GMT\r\nCache-Control: no-store\r\nPragma: no-cache\r\nContent-Type: application/x-rtsp-tunnelled\r\n\r\n"; ^ Server.tproj/RTSPSession.cpp: In constructor 'RTSPSession::RTSPSession(Bool16)': Server.tproj/RTSPSession.cpp:161:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] this->SetTaskName("RTSPSession"); ^ Server.tproj/RTSPSession.cpp: In member function 'QTSS_Error RTSPSession::PreFilterForHTTPProxyTunnel()': Server.tproj/RTSPSession.cpp:1255:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] char *headerFieldPtr = ""; ^ Server.tproj/RTSPSession.cpp: In member function 'Bool16 RTSPSession::ParseOptionsResponse()': Server.tproj/RTSPSession.cpp:1513:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sRTSPStr("RTSP", 4); ^ In file included from CommonUtilitiesLib/OSRef.h:46:0, from CommonUtilitiesLib/EventContext.h:42, from CommonUtilitiesLib/Socket.h:43, from CommonUtilitiesLib/TCPSocket.h:46, from Server.tproj/RTSPRequestStream.h:42, from Server.tproj/RTSPSessionInterface.h:37, from Server.tproj/RTSPSession.h:39, from Server.tproj/RTSPSession.cpp:36: CommonUtilitiesLib/OSHashTable.h: In instantiation of 'OSHashTable<T, K>::OSHashTable(UInt32) [with T = OSRef; K = OSRefKey; UInt32 = unsigned int]': CommonUtilitiesLib/OSRef.h:177:86: required from here CommonUtilitiesLib/OSHashTable.h:46:20: warning: ISO C++ does not support variable-length array types [-Wvla] 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:62: required from here CommonUtilitiesLib/OSHashTable.h:46:20: warning: ISO C++ does not support variable-length array types [-Wvla] CommonUtilitiesLib/OSHashTable.h: In member function 'UInt32 RTSPSession::GenerateNewSessionID(char*)': CommonUtilitiesLib/OSHashTable.h:142:9: warning: 'theIter.OSHashTableIter<OSRef, OSRefKey>::fCurrent' may be used uninitialized in this function [-Wmaybe-uninitialized] fCurrent = fCurrent->fNextHashEntry; ^ Server.tproj/RTSPSession.cpp:1848:32: note: 'theIter.OSHashTableIter<OSRef, OSRefKey>::fCurrent' was declared here 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/ResizeableStringFormatter.h:39:0, from Server.tproj/RTSPResponseStream.h:39, from Server.tproj/RTSPSessionInterface.h:38, from Server.tproj/RTSPSessionInterface.cpp:36: CommonUtilitiesLib/StringFormatter.h: In member function 'void StringFormatter::PutFilePath(StrPtrLen*, StrPtrLen*)': CommonUtilitiesLib/StringFormatter.h:138:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Put(kPathDelimiterString); ^ In file included from CommonUtilitiesLib/TimeoutTask.h:44:0, from Server.tproj/RTSPResponseStream.h:41, from Server.tproj/RTSPSessionInterface.h:38, from Server.tproj/RTSPSessionInterface.cpp:36: CommonUtilitiesLib/IdleTask.h: In constructor 'IdleTask::IdleTask()': CommonUtilitiesLib/IdleTask.h:78:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] IdleTask() : Task(), fIdleElem() { this->SetTaskName("IdleTask"); fIdleElem.SetEnclosingObject(this); } ^ In file included from Server.tproj/RTSPResponseStream.h:41:0, from Server.tproj/RTSPSessionInterface.h:38, from Server.tproj/RTSPSessionInterface.cpp:36: CommonUtilitiesLib/TimeoutTask.h: In constructor 'TimeoutTaskThread::TimeoutTaskThread()': CommonUtilitiesLib/TimeoutTask.h:58:96: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] TimeoutTaskThread() : IdleTask(), fMutex() {this->SetTaskName("TimeoutTask");} ^ In file included from Server.tproj/QTSServerInterface.h:50:0, from Server.tproj/RTSPSessionInterface.cpp:37: CommonUtilitiesLib/TCPListenerSocket.h: In constructor 'TCPListenerSocket::TCPListenerSocket()': CommonUtilitiesLib/TCPListenerSocket.h:48:145: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] fAddr(0), fPort(0), fOutOfDescriptors(false), fSleepBetweenAccepts(false) {this->SetTaskName("TCPListenerSocket");} ^ Server.tproj/RTSPSessionInterface.cpp: In member function 'QTSS_Error RTSPSessionInterface::InterleavedWrite(void*, UInt32, UInt32*, unsigned char)': Server.tproj/RTSPSessionInterface.cpp:294:64: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if ( ( inLen > kTCPCoalesceDirectWriteSize || inLen == 0 ) && fNumInCoalesceBuffer > 0 ^ Server.tproj/RTSPSessionInterface.cpp: In member function 'void RTSPSessionInterface::RevertOutputStream()': Server.tproj/RTSPSessionInterface.cpp:457:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen theRTTStr(";rtt=", 5); ^ Server.tproj/RTSPSessionInterface.cpp: In member function 'void RTSPSessionInterface::SendOptionsRequest()': Server.tproj/RTSPSessionInterface.cpp:495:136: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static StrPtrLen sOptionsRequestHeader("OPTIONS * RTSP/1.0\r\nContent-Type: application/x-random-data\r\nContent-Length: 1400\r\n\r\n"); ^ In file included from CommonUtilitiesLib/OSRef.h:46:0, from CommonUtilitiesLib/EventContext.h:42, from CommonUtilitiesLib/Socket.h:43, from CommonUtilitiesLib/TCPSocket.h:46, from Server.tproj/RTSPRequestStream.h:42, from Server.tproj/RTSPSessionInterface.h:37, from Server.tproj/RTSPSessionInterface.cpp:36: CommonUtilitiesLib/OSHashTable.h: In instantiation of 'OSHashTable<T, K>::OSHashTable(UInt32) [with T = OSRef; K = OSRefKey; UInt32 = unsigned int]': CommonUtilitiesLib/OSRef.h:177:86: required from here CommonUtilitiesLib/OSHashTable.h:46:20: warning: ISO C++ does not support variable-length array types [-Wvla] 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 CommonUtilitiesLib/ResizeableStringFormatter.h:39:0, from PrefsSourceLib/XMLParser.h:32, from PrefsSourceLib/XMLPrefsParser.h:39, from Server.tproj/RunServer.h:35, from Server.tproj/main.cpp:62: CommonUtilitiesLib/StringFormatter.h: In member function 'void StringFormatter::PutFilePath(StrPtrLen*, StrPtrLen*)': CommonUtilitiesLib/StringFormatter.h:138:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Put(kPathDelimiterString); ^ In file included from CommonUtilitiesLib/TCPListenerSocket.h:41:0, from Server.tproj/QTSServerInterface.h:50, from Server.tproj/QTSServer.h:38, from Server.tproj/RunServer.h:38, from Server.tproj/main.cpp:62: CommonUtilitiesLib/IdleTask.h: In constructor 'IdleTask::IdleTask()': CommonUtilitiesLib/IdleTask.h:78:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] IdleTask() : Task(), fIdleElem() { this->SetTaskName("IdleTask"); fIdleElem.SetEnclosingObject(this); } ^ In file included from Server.tproj/QTSServerInterface.h:50:0, from Server.tproj/QTSServer.h:38, from Server.tproj/RunServer.h:38, from Server.tproj/main.cpp:62: CommonUtilitiesLib/TCPListenerSocket.h: In constructor 'TCPListenerSocket::TCPListenerSocket()': CommonUtilitiesLib/TCPListenerSocket.h:48:145: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] fAddr(0), fPort(0), fOutOfDescriptors(false), fSleepBetweenAccepts(false) {this->SetTaskName("TCPListenerSocket");} ^ Server.tproj/main.cpp: In function 'int main(int, char**)': Server.tproj/main.cpp:224:17: error: no match for 'operator=' (operand types are '__sigset_t' and 'int') act.sa_mask = 0; ^ Server.tproj/main.cpp:224:17: note: candidate is: In file included from /usr/include/sys/select.h:33:0, from /usr/include/sys/types.h:219, from /usr/include/stdlib.h:314, from Server.tproj/main.cpp:34: /usr/include/bits/sigset.h:31:5: note: __sigset_t& __sigset_t::operator=(const __sigset_t&) } __sigset_t; ^ /usr/include/bits/sigset.h:31:5: note: no known conversion for argument 1 from 'int' to 'const __sigset_t&' Server.tproj/main.cpp:226:20: error: invalid conversion from 'void (*)(...)' to '__sighandler_t {aka void (*)(int)}' [-fpermissive] act.sa_handler = (void(*)(...))&sigcatcher; ^ Server.tproj/main.cpp:289:65: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sDefaultConfigFilePath = DEFAULTPATHS_ETC_DIR_OLD "streamingserver.conf"; ^ Server.tproj/main.cpp:290:58: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char* sDefaultXMLFilePath = DEFAULTPATHS_ETC_DIR "streamingserver.xml"; ^ Server.tproj/main.cpp:323:21: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] theXMLFilePath = DEFAULTPATHS_ETC_DIR "streamingserver.xml"; ^ In file included from CommonUtilitiesLib/OSRef.h:46:0, from CommonUtilitiesLib/EventContext.h:42, from CommonUtilitiesLib/Socket.h:43, from CommonUtilitiesLib/TCPSocket.h:46, from CommonUtilitiesLib/TCPListenerSocket.h:40, from Server.tproj/QTSServerInterface.h:50, from Server.tproj/QTSServer.h:38, from Server.tproj/RunServer.h:38, from Server.tproj/main.cpp:62: CommonUtilitiesLib/OSHashTable.h: In instantiation of 'OSHashTable<T, K>::OSHashTable(UInt32) [with T = OSRef; K = OSRefKey; UInt32 = unsigned int]': CommonUtilitiesLib/OSRef.h:177:86: required from here CommonUtilitiesLib/OSHashTable.h:46:20: warning: ISO C++ does not support variable-length array types [-Wvla] fHashTable = new ( T*[size] ); ^ *** Error code 1 Stop. bmake: stopped in /home/pbulk/build/net/DarwinStreamingServer/work/DarwinStreamingSrvr5.5.5-Source *** Error code 1 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/net/DarwinStreamingServer *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/net/DarwinStreamingServer