AlloSphere-Research-Group / AlloSystem

AlloSystem is a cross-platform suite of C++ components for building interactive multimedia tools and applications.
http://mat.ucsb.edu/allosphere/software.php
BSD 3-Clause "New" or "Revised" License
65 stars 22 forks source link

al_Zeroconf_OSX.mm does not compile with GCC 4.9 #29

Open DrewRWx opened 10 years ago

DrewRWx commented 10 years ago

On Mavericks and GCC 4.9 is from MacPorts.

/Users/dtemp/Development/MAT/AlloScraper/AlloSystem/allocore/src/protocol/al_Zeroconf_OSX.mm: In function '-[ClientDelegate search:]':
/Users/dtemp/Development/MAT/AlloScraper/AlloSystem/allocore/src/protocol/al_Zeroconf_OSX.mm:47:22: warning: class 'ClientDelegate' does not implement the 'NSNetServiceBrowserDelegate' protocol
     browser.delegate = self;
                      ^
/Users/dtemp/Development/MAT/AlloScraper/AlloSystem/allocore/src/protocol/al_Zeroconf_OSX.mm: In function '-[ClientDelegate netServiceBrowser:didFindService:moreComing:]':
/Users/dtemp/Development/MAT/AlloScraper/AlloSystem/allocore/src/protocol/al_Zeroconf_OSX.mm:80:22: warning: class 'ClientDelegate' does not implement the 'NSNetServiceDelegate' protocol
     service.delegate = self;
                      ^
/Users/dtemp/Development/MAT/AlloScraper/AlloSystem/allocore/src/protocol/al_Zeroconf_OSX.mm: In function '-[ClientDelegate resolvedService:]':
/Users/dtemp/Development/MAT/AlloScraper/AlloSystem/allocore/src/protocol/al_Zeroconf_OSX.mm:117:16: error: expected ';' before 'in'
  for(NSData *d in [service addresses]) {
                ^
/Users/dtemp/Development/MAT/AlloScraper/AlloSystem/allocore/src/protocol/al_Zeroconf_OSX.mm:117:16: error: 'in' was not declared in this scope
/Users/dtemp/Development/MAT/AlloScraper/AlloSystem/allocore/src/protocol/al_Zeroconf_OSX.mm:117:28: error: expected ']' before 'addresses'
  for(NSData *d in [service addresses]) {
                            ^
/Users/dtemp/Development/MAT/AlloScraper/AlloSystem/allocore/src/protocol/al_Zeroconf_OSX.mm:117:28: error: expected ';' before 'addresses'
/Users/dtemp/Development/MAT/AlloScraper/AlloSystem/allocore/src/protocol/al_Zeroconf_OSX.mm:117:28: error: 'addresses' was not declared in this scope
/Users/dtemp/Development/MAT/AlloScraper/AlloSystem/allocore/src/protocol/al_Zeroconf_OSX.mm:117:37: error: expected ')' before ']' token
  for(NSData *d in [service addresses]) {
                                     ^
/Users/dtemp/Development/MAT/AlloScraper/AlloSystem/allocore/src/protocol/al_Zeroconf_OSX.mm:117:37: error: expected primary-expression before ']' token
/Users/dtemp/Development/MAT/AlloScraper/AlloSystem/allocore/src/protocol/al_Zeroconf_OSX.mm: In function '-[ServerDelegate initWithDomain:type:name:port:]':
/Users/dtemp/Development/MAT/AlloScraper/AlloSystem/allocore/src/protocol/al_Zeroconf_OSX.mm:150:23: warning: class 'ServerDelegate' does not implement the 'NSNetServiceDelegate' protocol
   netService.delegate = self;