[Scummvm-devel] [Scummvm-cvs-logs] SF.net SVN: scummvm:[40351] scummvm/trunk/sound/softsynth/opl/opl.h

Johannes Schickel lordhoto at gmail.com
Thu May 7 18:24:41 CEST 2009


Paul Gilbert wrote:
> On Wed, May 6, 2009 at 11:51 PM, Johannes Schickel <lordhoto at gmail.com 
> <mailto:lordhoto at gmail.com>> wrote:
>
>     This looks wrong, as you might see opl.h is included in opl.cpp,
>     which is included in dosbox.cpp inside a sperate namespace, thus
>     it would double define those types in that namespace. Could you
>     please give me the exact compiler errors?
>
>     // Johannes
>
>
> I was originally getting compile errors staritng with the typedefs at 
> the beginning, but the further work done last night seems to have 
> resolved it. I've just committed a change to MSVC8 project with the 
> two OPL files removed, and it compiles fine now.

The actual problem was, that the opl.cpp file was added as a file to be 
compiled. To avoid problems like that I renamed both files to have an .h 
extension.

// Johannes




More information about the Scummvm-devel mailing list