Message-ID: <8D53104ECD0CD211AF4000A0C9D60AE30162E5F0@probe-2.acclaim-euro.net> From: Shawn Hargreaves To: djgpp AT delorie DOT com Subject: Re: Annoying: const char * in Allegro Date: Mon, 6 Sep 1999 13:05:00 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.0.1460.8) Content-Type: text/plain Reply-To: djgpp AT delorie DOT com Damian Yerrick writes: > All of Allegro's string-handling (textout(), textprintf(), > files, etc.) functions take a char * instead of a const > char *. Anyone know why? No particular reason, except that I've never particularly grokked things being const, don't tend to use it myself, and hence never used it in Allegro either. I think I probably wouldn't mind fixing this if you want to make some patches for it, but I'm a little bit hesitant to leap into that because my experience of making things const is that it tends to ripple all the way through your sources, and that might end up quite ugly. I guess what I'm saying is that I don't mind you fixing this as long as the fixes don't get too messy, but I don't care enough to do anything about it myself :-) Shawn Hargreaves.