It looks like Apple compiler is more strict than gcc:


MrCpp C++ Compiler 4.1.0f1c1
Copyright (C) 1994-1999 by Apple Computer, Inc.

                m_labelTable[index] = pLabel;
                                            ^
File "ev_Menu_Labels.cpp"; line 119 #Error: can't assign to const variable

This can be done because method is qualified as using a const 
instance while m_labelTable is a class member.


Same here:

MrCpp C++ Compiler 4.1.0f1c1
Copyright (C) 1994-1999 by Apple Computer, Inc.

                m_labelTable[index] = pLabel;
                                            ^
File "ev_Toolbar_Labels.cpp"; line 137 #Error: can't assign to const variable
#-----------------------


Solution: either remove the const qualifier or remove this statement. 
I vote for solution #1.

If it's OK, I'll commit.

Hub

Reply via email to