[Pharo-project] Issue 3735 in pharo: ODBCLibrary class moduleName calls deprecated method

pharo at googlecode.com pharo at googlecode.com
Sat Feb 19 09:30:23 CET 2011

Status: New
Owner: ----

New issue 3735 by DougEdmu... at gmail.com: ODBCLibrary class moduleName calls  
deprecated method

I ran the sqlite/odbc tutorial on an XP box.

When creating the sqlite database using ODBC, a warning pops up:

"The method SmalltalkImage platformName has been deprecated.
Use Smalltalk os platformName."

I traced the warning to this Sender:

ODBCLibrary class >> moduleName
	"Return the name of the module for this library"
	SmalltalkImage current platformName = 'Win32' ifTrue: [ ^ 'odbc32' ].
	SmalltalkImage current platformName = 'unix' ifTrue: [ ^ 'libodbc.so' ].
	^ self error: 'Don''t know the ODBC library name'

More information about the Pharo-project mailing list