|
From: | Bob Friesenhahn |
Subject: | Re: Fix bindir and dlopen tests for C++ compilers (CC=g++). |
Date: | Mon, 30 Nov 2009 09:47:02 -0600 (CST) |
User-agent: | Alpine 2.01 (GSO 1266 2009-07-14) |
On Mon, 30 Nov 2009, Ralf Wildenhues wrote:
Well, the cast only looks random as long as we don't know a good rationale for it, I guess.
I should mention that there is a very good reason why strrchr() should return 'const char *'. The reason is that the input string is 'const char *' and since the returned string points into the input string, it would be wrong for it to not also be 'const char *'
Bob -- Bob Friesenhahn address@hidden, http://www.simplesystems.org/users/bfriesen/ GraphicsMagick Maintainer, http://www.GraphicsMagick.org/
[Prev in Thread] | Current Thread | [Next in Thread] |