httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dan Jacobowitz <d...@false.org>
Subject Re: [Fwd: Problem 2534]
Date Mon, 03 Aug 1998 23:29:33 GMT
On Mon, Aug 03, 1998 at 08:03:32PM -0400, Jim Jagielski wrote:
> The "problem" is getting the right declaration. A quick test shows that
> 
> 	static const char *end_foor = "</Bar>";
> 
> may not be right because the compiler doesn't see end_foor as a
> const char* (at least with gcc 2.7.2.x on one of my test machines)
> and complains when building :
> 
>     "initializer element for `core_cmds[1].name' is not constant"
> 
> Most likely a -f flag needed? Dean?


Try :
static const char const *end_foor = "</Bar>";

Dan

Mime
View raw message