From: <no...@so...> - 2002-01-31 00:59:23
|
Task #46746 has been updated. Project: Generic Graphics Toolkit Subproject: GMTL Summary: Eliminate global const variables Complete: 100% Status: Open Authority : allenb Assigned to: subatomic, nonchocoboy, allenb Description: Global consts require library (.o code) and we are not into that. Maybe look at boot for ideas of how to get around it. Follow-Ups: ------------------------------------------------------- Date: 2002-01-30 18:59 By: allenb Comment: Looks like this has been fixed now. ------------------------------------------------------- Date: 2002-01-30 13:21 By: subatomic Comment: you can declare them like so: namespace gmtl { const float pi = 3.1459f; } ------------------------------------------------------- For more info, visit: http://sourceforge.net/pm/task.php?func=detailtask&project_task_id=46746&group_id=43735&group_project_id=16299 |