pingus-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Windows Updates


From: Neil Mitchell
Subject: Windows Updates
Date: Mon, 30 Dec 2002 21:43:34 -0000

Hi

Updates:
It seems VC++ and GCC have issues over what is visible to child classes,
without the patch it doesn't compile, with it it does. This just makes the
enum type public which might not be a good idea (or it might, not sure).
Protected also might work,  but I always avoid it from personal prefrence.

Without the patch:
-------------------------------------
snow_particle_holder.cxx
C:\Documents\Programs\Active\Pingus\src\Games\Pingus\src\particles\snow_part
icle_holder.cxx(39) : error C2248: 'Snow1' : cannot access private
enumerator declared in class 'SnowParticleHolder'

C:\Documents\Programs\Active\Pingus\src\Games\Pingus\src\particles\snow_part
icle_holder.hxx(33) : see declaration of 'Snow1'
C:\Documents\Programs\Active\Pingus\src\Games\Pingus\src\particles\snow_part
icle_holder.cxx(42) : error C2248: 'Snow2' : cannot access private
enumerator declared in class 'SnowParticleHolder'

C:\Documents\Programs\Active\Pingus\src\Games\Pingus\src\particles\snow_part
icle_holder.hxx(33) : see declaration of 'Snow2'
C:\Documents\Programs\Active\Pingus\src\Games\Pingus\src\particles\snow_part
icle_holder.cxx(46) : error C2248: 'Snow3' : cannot access private
enumerator declared in class 'SnowParticleHolder'

C:\Documents\Programs\Active\Pingus\src\Games\Pingus\src\particles\snow_part
icle_holder.hxx(33) : see declaration of 'Snow3'
C:\Documents\Programs\Active\Pingus\src\Games\Pingus\src\particles\snow_part
icle_holder.cxx(50) : error C2248: 'Snow4' : cannot access private
enumerator declared in class 'SnowParticleHolder'

C:\Documents\Programs\Active\Pingus\src\Games\Pingus\src\particles\snow_part
icle_holder.hxx(33) : see declaration of 'Snow4'
C:\Documents\Programs\Active\Pingus\src\Games\Pingus\src\particles\snow_part
icle_holder.cxx(52) : error C2248: 'Snow5' : cannot access private
enumerator declared in class 'SnowParticleHolder'

C:\Documents\Programs\Active\Pingus\src\Games\Pingus\src\particles\snow_part
icle_holder.hxx(33) : see declaration of 'Snow5'
Error executing cl.exe.
---------------------------

Also a new pingus.dsp - remember to run unix2dos over it before committing.
Is there any way I can be given CVS access to just the pingus.dsp project
file to save reposting so often, and try to avoid the unix/dos line end
problems?

Ginge


Attachment: windows_update.patch
Description: Binary data

Attachment: pingus.dsp
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]