Date: Sun, 30 Oct 2005 20:14:28 -0800 From: Brandon Fosdick <bfoz@bfoz.net> To: Clement Laforet <clement@FreeBSD.org> Cc: apache@FreeBSD.org Subject: Re: www/apache21 update? Message-ID: <43659A24.2060804@bfoz.net> In-Reply-To: <20051030210955.GB49025@goofy.cultdeadsheep.org> References: <436442E5.4090508@bfoz.net> <20051030210955.GB49025@goofy.cultdeadsheep.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Clement Laforet wrote: > I updated it few minutes ago. When I compile mod_dav_userdir I get the folowing errors: src/mod_dav_userdir.cc:86: error: expected primary-expression before '.' token src/mod_dav_userdir.cc:87: error: expected primary-expression before '.' token src/mod_dav_userdir.cc:88: error: expected primary-expression before '.' token src/mod_dav_userdir.cc:89: error: expected primary-expression before '.' token which refer to: 84: const command_rec dav_userdir_cmds[] = 85: { 86: AP_INIT_TAKE1("DavUserDirHost", CAST_HANDLER(handle_config_host), NULL, RSRC_CONF, "the RDBMS host address"), 87: AP_INIT_TAKE1("DavUserDirHostUser", CAST_HANDLER(handle_config_host_user), NULL, RSRC_CONF, "the RDBMS user name"), 88: AP_INIT_TAKE1("DavUserDirHostPass", CAST_HANDLER(handle_config_host_pass), NULL, RSRC_CONF, "the RDBMS user password"), 89: AP_INIT_TAKE1("DavUserDirDbName", CAST_HANDLER(handle_config_db_name), NULL, RSRC_CONF, "the name of database to store user tables in"), 90: {NULL} 91: }; It appears that the problem lies in the definition of AP_INIT_TAKE1 in http_config.h. There are two different definitions selected by an #ifdef AP_HAVE_DESIGNATED_INITIALIZER, only one of them has any '.' characters. I don't see any way to change this at compile time, although I didn't look very hard. Did I miss something?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43659A24.2060804>