Thu 03 Jun 2010 03:25:31 PM UTC, comment #2:
This was fixed recently in trunk. The old namespace for libbase/AMF.* was AMF, but when it got changed to lower case, it collided with the amf namespace used in Cygnal. As cygnal isn't built by default, this wasn't noticed at first. Now all the AMF handling code in Cygnal all uses the Cygnal namespace.
|
Sat 22 May 2010 11:13:15 AM UTC, original submission:
CXX http_server.lo
http_server.cpp: In member function 'gnash::HTTP::http_method_e cygnal::HTTPServer::processClientRequest(int)':
http_server.cpp:94:18: warning: unused variable 'buf'
http_server.cpp: At global scope:
http_server.cpp:90:1: warning: unused parameter 'fd'
http_server.cpp: In member function 'amf::Buffer& cygnal::HTTPServer::processGetRequest(cygnal::Handler, int, amf::Buffer)':
http_server.cpp:194:14: warning: reference to local variable 'buf' returned
http_server.cpp: At global scope:
http_server.cpp:273:1: warning: unused parameter 'bufFIXME'
rtmp_server.cpp: In member function 'boost::shared_ptr<amf::Buffer> cygnal::RTMPServer::encodeVideo(uint8_t*, size_t)':
rtmp_server.cpp:1071:1: warning: no return statement in function returning non-void
rtmp_server.cpp: At global scope:
rtmp_server.cpp:1068:1: warning: unused parameter 'data'
rtmp_server.cpp:1068:1: warning: unused parameter 'size'
In file included from handler.h:42:0,
from cvm.cpp:48:
./libnet/network.h:141:2: error: 'Buffer' in namespace 'gnash::amf' does not name a type
./libnet/network.h:207:23: error: 'Buffer' is not a member of 'gnash::amf'
./libnet/network.h:207:23: error: 'Buffer' is not a member of 'gnash::amf'
./libnet/network.h:207:34: error: template argument 1 is invalid
./libnet/network.h:208:22: error: 'gnash::amf::Buffer' has not been declared
./libnet/network.h:209:30: error: 'gnash::amf::Buffer' has not been declared
./libnet/network.h:210:30: error: 'gnash::amf::Buffer' has not been declared
./libnet/network.h:211:22: error: 'gnash::amf::Buffer' has not been declared
./libnet/network.h:212:30: error: 'gnash::amf::Buffer' has not been declared
./libnet/network.h:229:23: error: 'gnash::amf::Buffer' has not been declared
./libnet/network.h:230:23: error: 'gnash::amf::Buffer' has not been declared
./libnet/network.h:231:31: error: 'gnash::amf::Buffer' has not been declared
./libnet/network.h:232:31: error: 'gnash::amf::Buffer' has not been declared
In file included from handler.h:45:0,
from cvm.cpp:48:
./libnet/cque.h:39:42: error: 'Buffer' is not a member of 'gnash::amf'
./libnet/cque.h:39:42: error: 'Buffer' is not a member of 'gnash::amf'
./libnet/cque.h:39:53: error: template argument 1 is invalid
./libnet/cque.h:39:55: error: template argument 1 is invalid
./libnet/cque.h:39:55: error: template argument 2 is invalid
./libnet/cque.h:53:33: error: 'Buffer' is not a member of 'gnash::amf'
./libnet/cque.h:53:33: error: 'Buffer' is not a member of 'gnash::amf'
./libnet/cque.h:53:44: error: template argument 1 is invalid
./libnet/cque.h:55:23: error: 'Buffer' is not a member of 'gnash::amf'
./libnet/cque.h:55:23: error: 'Buffer' is not a member of 'gnash::amf'
./libnet/cque.h:55:34: error: template argument 1 is invalid
./libnet/cque.h:57:23: error: 'Buffer' is not a member of 'gnash::amf'
./libnet/cque.h:57:23: error: 'Buffer' is not a member of 'gnash::amf'
./libnet/cque.h:57:34: error: template argument 1 is invalid
./libnet/cque.h:67:35: error: 'Buffer' is not a member of 'gnash::amf'
./libnet/cque.h:67:35: error: 'Buffer' is not a member of 'gnash::amf'
./libnet/cque.h:67:46: error: template argument 1 is invalid
./libnet/cque.h:67:73: error: 'Buffer' is not a member of 'gnash::amf'
./libnet/cque.h:67:73: error: 'Buffer' is not a member of 'gnash::amf'
./libnet/cque.h:67:84: error: template argument 1 is invalid
./libnet/cque.h:70:35: error: 'Buffer' is not a member of 'gnash::amf'
./libnet/cque.h:70:35: error: 'Buffer' is not a member of 'gnash::amf'
./libnet/cque.h:70:46: error: template argument 1 is invalid
./libnet/cque.h:73:23: error: 'Buffer' is not a member of 'gnash::amf'
./libnet/cque.h:73:23: error: 'Buffer' is not a member of 'gnash::amf'
./libnet/cque.h:73:34: error: template argument 1 is invalid
./libnet/cque.h:73:70: error: 'Buffer' is not a member of 'gnash::amf'
./libnet/cque.h:73:70: error: 'Buffer' is not a member of 'gnash::amf'
./libnet/cque.h:73:81: error: template argument 1 is invalid
./libnet/cque.h:74:23: error: 'Buffer' is not a member of 'gnash::amf'
./libnet/cque.h:74:23: error: 'Buffer' is not a member of 'gnash::amf'
./libnet/cque.h:74:34: error: template argument 1 is invalid
./libnet/cque.h:76:23: error: 'Buffer' is not a member of 'gnash::amf'
./libnet/cque.h:76:23: error: 'Buffer' is not a member of 'gnash::amf'
./libnet/cque.h:76:34: error: template argument 1 is invalid
./libnet/cque.h: In member function 'int gnash::CQue::operator[](int)':
./libnet/cque.h:76:78: error: invalid types 'gnash::CQue::que_t[int]' for array subscript
In file included from handler.h:50:0,
from cvm.cpp:48:
./libnet/diskstream.h: At global scope:
./libnet/diskstream.h:91:60: error: 'gnash::amf::Buffer' has not been declared
./libnet/diskstream.h:203:66: error: 'gnash::amf::Buffer' has not been declared
./libnet/diskstream.h:356:23: error: 'Flv' is not a member of 'gnash::amf'
./libnet/diskstream.h:356:23: error: 'Flv' is not a member of 'gnash::amf'
./libnet/diskstream.h:356:31: error: template argument 1 is invalid
In file included from ./libnet/rtmp.h:35:0,
from handler.h:55,
from cvm.cpp:48:
./libnet/rtmp_msg.h:95:38: error: 'Element' is not a member of 'gnash::amf'
./libnet/rtmp_msg.h:95:38: error: 'Element' is not a member of 'gnash::amf'
./libnet/rtmp_msg.h:95:50: error: template argument 1 is invalid
./libnet/rtmp_msg.h:97:35: error: 'Element' is not a member of 'gnash::amf'
./libnet/rtmp_msg.h:97:35: error: 'Element' is not a member of 'gnash::amf'
./libnet/rtmp_msg.h:97:47: error: template argument 1 is invalid
./libnet/rtmp_msg.h:97:49: error: template argument 1 is invalid
./libnet/rtmp_msg.h:97:49: error: template argument 2 is invalid
./libnet/rtmp_msg.h:105:49: error: 'Element' is not a member of 'gnash::amf'
./libnet/rtmp_msg.h:105:49: error: 'Element' is not a member of 'gnash::amf'
./libnet/rtmp_msg.h:105:61: error: template argument 1 is invalid
./libnet/rtmp_msg.h:112:23: error: 'Element' is not a member of 'gnash::amf'
./libnet/rtmp_msg.h:112:23: error: 'Element' is not a member of 'gnash::amf'
./libnet/rtmp_msg.h:112:35: error: template argument 1 is invalid
./libnet/rtmp_msg.h:113:23: error: 'Element' is not a member of 'gnash::amf'
./libnet/rtmp_msg.h:113:23: error: 'Element' is not a member of 'gnash::amf'
./libnet/rtmp_msg.h:113:35: error: template argument 1 is invalid
./libnet/rtmp_msg.h:121:33: error: 'Element' is not a member of 'gnash::amf'
./libnet/rtmp_msg.h:121:33: error: 'Element' is not a member of 'gnash::amf'
./libnet/rtmp_msg.h:121:45: error: template argument 1 is invalid
./libnet/rtmp_msg.h:133:35: error: 'Element' is not a member of 'gnash::amf'
./libnet/rtmp_msg.h:133:35: error: 'Element' is not a member of 'gnash::amf'
./libnet/rtmp_msg.h:133:47: error: template argument 1 is invalid
./libnet/rtmp_msg.h:133:49: error: template argument 1 is invalid
./libnet/rtmp_msg.h:133:49: error: template argument 2 is invalid
./libnet/rtmp_msg.h: In member function 'void gnash::RTMPMsg::addObject(int)':
./libnet/rtmp_msg.h:95:67: error: request for member 'push_back' in '((gnash::RTMPMsg*)this)->gnash::RTMPMsg::_amfobjs', which is of non-class type 'int'
./libnet/rtmp_msg.h: In member function 'size_t gnash::RTMPMsg::size()':
./libnet/rtmp_msg.h:96:37: error: request for member 'size' in '((gnash::RTMPMsg*)this)->gnash::RTMPMsg::_amfobjs', which is of non-class type 'int'
./libnet/rtmp_msg.h: In member function 'int gnash::RTMPMsg::at(size_t)':
./libnet/rtmp_msg.h:113:69: error: invalid types 'int[size_t]' for array subscript
In file included from handler.h:55:0,
from cvm.cpp:48:
./libnet/rtmp.h: At global scope:
./libnet/rtmp.h:146:35: error: 'Element' is not a member of 'gnash::amf'
./libnet/rtmp.h:146:35: error: 'Element' is not a member of 'gnash::amf'
./libnet/rtmp.h:146:47: error: template argument 2 is invalid
./libnet/rtmp.h:146:47: error: template argument 4 is invalid
./libnet/rtmp.h:327:54: error: 'gnash::amf::Buffer' has not been declared
./libnet/rtmp.h:329:23: error: 'Buffer' is not a member of 'gnash::amf'
./libnet/rtmp.h:329:23: error: 'Buffer' is not a member of 'gnash::amf'
./libnet/rtmp.h:329:34: error: template argument 1 is invalid
./libnet/rtmp.h:333:23: error: 'Buffer' is not a member of 'gnash::amf'
./libnet/rtmp.h:333:23: error: 'Buffer' is not a member of 'gnash::amf'
./libnet/rtmp.h:333:34: error: template argument 1 is invalid
./libnet/rtmp.h:336:27: error: 'gnash::amf::Element' has not been declared
./libnet/rtmp.h:337:39: error: 'gnash::amf::Element' has not been declared
./libnet/rtmp.h:338:46: error: 'gnash::amf::Element' has not been declared
./libnet/rtmp.h:339:5: error: 'Element' in namespace 'gnash::amf' does not name a type
./libnet/rtmp.h:353:51: error: 'gnash::amf::Buffer' has not been declared
./libnet/rtmp.h:356:52: error: 'gnash::amf::Buffer' has not been declared
./libnet/rtmp.h:359:60: error: 'gnash::amf::Buffer' has not been declared
./libnet/rtmp.h:360:31: error: 'Buffer' is not a member of 'gnash::amf'
./libnet/rtmp.h:360:31: error: 'Buffer' is not a member of 'gnash::amf'
./libnet/rtmp.h:360:42: error: template argument 1 is invalid
./libnet/rtmp.h:364:31: error: 'Buffer' is not a member of 'gnash::amf'
./libnet/rtmp.h:364:31: error: 'Buffer' is not a member of 'gnash::amf'
./libnet/rtmp.h:364:42: error: template argument 1 is invalid
./libnet/rtmp.h:367:31: error: 'Buffer' is not a member of 'gnash::amf'
./libnet/rtmp.h:367:31: error: 'Buffer' is not a member of 'gnash::amf'
./libnet/rtmp.h:367:42: error: template argument 1 is invalid
./libnet/rtmp.h:369:31: error: 'Buffer' is not a member of 'gnash::amf'
./libnet/rtmp.h:369:31: error: 'Buffer' is not a member of 'gnash::amf'
./libnet/rtmp.h:369:42: error: template argument 1 is invalid
./libnet/rtmp.h:372:31: error: 'Buffer' is not a member of 'gnash::amf'
./libnet/rtmp.h:372:31: error: 'Buffer' is not a member of 'gnash::amf'
./libnet/rtmp.h:372:42: error: template argument 1 is invalid
./libnet/rtmp.h:375:31: error: 'Buffer' is not a member of 'gnash::amf'
./libnet/rtmp.h:375:31: error: 'Buffer' is not a member of 'gnash::amf'
./libnet/rtmp.h:375:42: error: template argument 1 is invalid
./libnet/rtmp.h:378:31: error: 'Buffer' is not a member of 'gnash::amf'
./libnet/rtmp.h:378:31: error: 'Buffer' is not a member of 'gnash::amf'
./libnet/rtmp.h:378:42: error: template argument 1 is invalid
./libnet/rtmp.h:381:31: error: 'Buffer' is not a member of 'gnash::amf'
./libnet/rtmp.h:381:31: error: 'Buffer' is not a member of 'gnash::amf'
./libnet/rtmp.h:381:42: error: template argument 1 is invalid
./libnet/rtmp.h:384:31: error: 'Buffer' is not a member of 'gnash::amf'
./libnet/rtmp.h:384:31: error: 'Buffer' is not a member of 'gnash::amf'
./libnet/rtmp.h:384:42: error: template argument 1 is invalid
./libnet/rtmp.h:387:31: error: 'Buffer' is not a member of 'gnash::amf'
./libnet/rtmp.h:387:31: error: 'Buffer' is not a member of 'gnash::amf'
./libnet/rtmp.h:387:42: error: template argument 1 is invalid
./libnet/rtmp.h:393:23: error: 'Buffer' is not a member of 'gnash::amf'
./libnet/rtmp.h:393:23: error: 'Buffer' is not a member of 'gnash::amf'
./libnet/rtmp.h:393:34: error: template argument 1 is invalid
./libnet/rtmp.h:394:23: error: 'Buffer' is not a member of 'gnash::amf'
./libnet/rtmp.h:394:23: error: 'Buffer' is not a member of 'gnash::amf'
./libnet/rtmp.h:394:34: error: template argument 1 is invalid
./libnet/rtmp.h:400:23: error: 'gnash::amf::Buffer' has not been declared
./libnet/rtmp.h:403:45: error: 'gnash::amf::Buffer' has not been declared
./libnet/rtmp.h:406:45: error: 'gnash::amf::Buffer' has not been declared
./libnet/rtmp.h:425:44: error: 'gnash::amf::Buffer' has not been declared
./libnet/rtmp.h:443:5: error: 'Buffer' in namespace 'gnash::amf' does not name a type
./libnet/rtmp.h:455:5: error: 'Buffer' in namespace 'gnash::amf' does not name a type
In file included from handler.h:57:0,
from cvm.cpp:48:
./libnet/http.h:134:34: error: 'gnash::amf::Buffer' has not been declared
./libnet/http.h:135:33: error: 'gnash::amf::Buffer' has not been declared
./libnet/http.h:136:34: error: 'gnash::amf::Buffer' has not been declared
./libnet/http.h:139:35: error: 'Element' is not a member of 'gnash::amf'
./libnet/http.h:139:35: error: 'Element' is not a member of 'gnash::amf'
./libnet/http.h:139:48: error: template argument 1 is invalid
./libnet/http.h:139:50: error: template argument 1 is invalid
./libnet/http.h:139:50: error: template argument 2 is invalid
./libnet/http.h:139:74: error: 'gnash::amf::Buffer' has not been declared
In file included from handler.h:57:0,
from cvm.cpp:48:
./libnet/http.h:140:35: error: 'Element' is not a member of 'gnash::amf'
./libnet/http.h:140:35: error: 'Element' is not a member of 'gnash::amf'
./libnet/http.h:140:48: error: template argument 1 is invalid
./libnet/http.h:140:50: error: template argument 1 is invalid
./libnet/http.h:140:50: error: template argument 2 is invalid
./libnet/http.h:148:40: error: expected ';' before '(' token
./libnet/http.h:163:23: error: 'Buffer' is not a member of 'gnash::amf'
./libnet/http.h:163:23: error: 'Buffer' is not a member of 'gnash::amf'
./libnet/http.h:163:34: error: template argument 1 is invalid
./libnet/http.h:164:5: error: 'Buffer' in namespace 'gnash::amf' does not name a type
./libnet/http.h:165:5: error: 'Buffer' in namespace 'gnash::amf' does not name a type
./libnet/http.h:166:5: error: 'Buffer' in namespace 'gnash::amf' does not name a type
./libnet/http.h:167:5: error: 'Buffer' in namespace 'gnash::amf' does not name a type
./libnet/http.h:188:5: error: 'Buffer' in namespace 'gnash::amf' does not name a type
./libnet/http.h:190:5: error: 'Buffer' in namespace 'gnash::amf' does not name a type
./libnet/http.h:192:5: error: 'Buffer' in namespace 'gnash::amf' does not name a type
./libnet/http.h:193:5: error: 'Buffer' in namespace 'gnash::amf' does not name a type
./libnet/http.h:194:5: error: 'Buffer' in namespace 'gnash::amf' does not name a type
./libnet/http.h:196:5: error: 'Buffer' in namespace 'gnash::amf' does not name a type
./libnet/http.h:197:5: error: 'Buffer' in namespace 'gnash::amf' does not name a type
./libnet/http.h:198:5: error: 'Buffer' in namespace 'gnash::amf' does not name a type
./libnet/http.h:200:5: error: 'Buffer' in namespace 'gnash::amf' does not name a type
./libnet/http.h:202:5: error: 'Buffer' in namespace 'gnash::amf' does not name a type
./libnet/http.h:203:5: error: 'Buffer' in namespace 'gnash::amf' does not name a type
./libnet/http.h:204:5: error: 'Buffer' in namespace 'gnash::amf' does not name a type
./libnet/http.h:205:5: error: 'Buffer' in namespace 'gnash::amf' does not name a type
./libnet/http.h:207:5: error: 'Buffer' in namespace 'gnash::amf' does not name a type
./libnet/http.h:209:5: error: 'Buffer' in namespace 'gnash::amf' does not name a type
./libnet/http.h:211:5: error: 'Buffer' in namespace 'gnash::amf' does not name a type
./libnet/http.h:212:5: error: 'Buffer' in namespace 'gnash::amf' does not name a type
./libnet/http.h:213:5: error: 'Buffer' in namespace 'gnash::amf' does not name a type
./libnet/http.h:214:5: error: 'Buffer' in namespace 'gnash::amf' does not name a type
./libnet/http.h:215:5: error: 'Buffer' in namespace 'gnash::amf' does not name a type
./libnet/http.h:217:5: error: 'Buffer' in namespace 'gnash::amf' does not name a type
./libnet/http.h:219:5: error: 'Buffer' in namespace 'gnash::amf' does not name a type
./libnet/http.h:221:5: error: 'Buffer' in namespace 'gnash::amf' does not name a type
./libnet/http.h:222:5: error: 'Buffer' in namespace 'gnash::amf' does not name a type
./libnet/http.h:224:5: error: 'Buffer' in namespace 'gnash::amf' does not name a type
./libnet/http.h:226:5: error: 'Buffer' in namespace 'gnash::amf' does not name a type
./libnet/http.h:228:5: error: 'Buffer' in namespace 'gnash::amf' does not name a type
./libnet/http.h:230:5: error: 'Buffer' in namespace 'gnash::amf' does not name a type
./libnet/http.h:232:5: error: 'Buffer' in namespace 'gnash::amf' does not name a type
./libnet/http.h:243:5: error: 'Buffer' in namespace 'gnash::amf' does not name a type
./libnet/http.h:277:35: error: 'Buffer' is not a member of 'gnash::amf'
./libnet/http.h:277:35: error: 'Buffer' is not a member of 'gnash::amf'
./libnet/http.h:277:46: error: template argument 1 is invalid
./libnet/http.h:300:23: error: 'Buffer' is not a member of 'gnash::amf'
./libnet/http.h:300:23: error: 'Buffer' is not a member of 'gnash::amf'
./libnet/http.h:300:34: error: template argument 1 is invalid
./libnet/http.h:302:23: error: 'Buffer' is not a member of 'gnash::amf'
./libnet/http.h:302:23: error: 'Buffer' is not a member of 'gnash::amf'
./libnet/http.h:302:34: error: template argument 1 is invalid
./libnet/http.h:306:23: error: 'Buffer' is not a member of 'gnash::amf'
./libnet/http.h:306:23: error: 'Buffer' is not a member of 'gnash::amf'
./libnet/http.h:306:34: error: template argument 1 is invalid
./libnet/http.h:314:39: error: 'gnash::amf::Buffer' has not been declared
./libnet/http.h:321:5: error: 'Buffer' in namespace 'gnash::amf' does not name a type
In file included from handler.h:57:0,
from cvm.cpp:48:
./libnet/http.h: In member function 'int gnash::HTTP::parseEchoRequest(int&)':
./libnet/http.h:139:117: error: request for member 'reference' in 'buf', which is of non-class type 'int'
In file included from handler.h:57:0,
from cvm.cpp:48:
./libnet/http.h:139:134: error: request for member 'size' in 'buf', which is of non-class type 'int'
./libnet/http.h: In member function 'void gnash::HTTP::terminateHeader()':
./libnet/http.h:235:30: error: '_buffer' was not declared in this scope
./libnet/http.h: In member function 'uint8_t* gnash::HTTP::getHeader()':
./libnet/http.h:240:42: error: '_buffer' was not declared in this scope
./libnet/http.h: In member function 'int gnash::HTTP::sendMsg(int&)':
./libnet/http.h:278:22: error: base operand of '->' is not a pointer
./libnet/http.h:278:40: error: base operand of '->' is not a pointer
./libnet/http.h: In member function 'gnash::HTTP::http_method_e gnash::HTTP::extractCommand(int&)':
./libnet/http.h:315:31: error: request for member 'reference' in 'data', which is of non-class type 'int'
cvm.cpp: In function 'boost::intrusive_ptr<gnash::movie_definition> cygnal::play_movie(const std::string&, const gnash::RunResources&)':
cvm.cpp:450:49: error: no matching function for call to 'gnash::movie_root::init(gnash::movie_definition*, gnash::MovieClip::MovieVariables)'
../libcore/movie_root.h:190:12: note: candidate is: gnash::Movie* gnash::movie_root::init(gnash::movie_definition*, const gnash::MovieClip::MovieVariables&, const gnash::MovieClip::MovieVariables&)
make[3]: *** [cvm.lo] Error 1
|