View Single Post
psychonic

BAFFLED
Join Date: May 2008
Old 02-09-2015 , 08:10   Re: SourceMod 1.7 released!
#48

Quote:
Originally Posted by Wilczek View Post
I've tried to edit SourceBans on my own and that's why line numbers don't match, but it doesn't really matter at this time. The real problem is attached error log. When you try to compile SB plugin with SM 1.7, you'll get:

Code:
error 174: symbol 'Database' is a type and cannot be used as a value
Database is the name of the new methodmap for database handles. It cannot be used as a variable name (and wouldn't have been in the most common naming conventions used in plugins). You should be able to just rename the variable.

This is the same sort of thing that would happen if we were to add a new function to SM that just happened to be the name of a function already used in a plugin. We unfortunately cannot avoid all conflicts (unless we just cease adding anything to the API).

Last edited by psychonic; 02-09-2015 at 08:11.
psychonic is offline