Matthias Hryniszak wrote:
> Hello,
>
> I'm wondering.. Is possible to compile the minimal_client.c with the
> VCToolkit2003 that microsoft is making available for download under
> http://msdn.microsoft.com/visualc/vctoolkit2003? I've been thinking it
> should be most the easy way to start playing around with this compiler
> and the svn-win32-1.2.1_dev.zip since there are all of the required
> libs and header files already precompiled for the microsoft compiler.
>
> But there are a lot of errors comming when I compile this example.
> Here is a small list of the compiler output:
>
> minimal_client.cpp
I suggest you compile this as C, not C++.
> x:\msvc\include\apr\apr_errno.h(52) : error C2146: syntax error :
> missing ';' before identifier 'apr_strerror'
> x:\msvc\include\apr\apr_errno.h(55) : error C2061: syntax error :
> identifier 'apr_size_t'
> x:\msvc\include\apr\apr_general.h(179) : error C2146: syntax error :
> missing ';' before identifier 'apr_initialize'
> x:\msvc\include\apr\apr_general.h(179) : error C2733: second C linkage
> of overloaded function 'APR_DECLARE' not allowed
> x:\msvc\include\apr\apr_general.h(179) : see declaration of
> 'APR_DECLARE'
> x:\msvc\include\apr\apr_general.h(193) : error C2146: syntax error :
> missing ';' before identifier 'apr_app_initialize'
> x:\msvc\include\apr\apr_general.h(206) : error C2146: syntax error :
> missing ';' before identifier 'apr_terminate'
> x:\msvc\include\apr\apr_general.h(217) : error C2146: syntax error :
> missing ';' before identifier 'apr_terminate2'
> x:\msvc\include\apr\apr_general.h(217) : error C2733: second C linkage
> of overloaded function 'APR_DECLARE' not allowed
> x:\msvc\include\apr\apr_general.h(217) : see declaration of
> 'APR_DECLARE'
Huh? APR_DECLARE is a macro, not a function.
> and so on.. I belive there's a problem with the APR_DECLARE
> definition. Any suggestions?
There's no problem with APR_DECLARE. You need to find out why the
compiler thinks it's a function. I suspect there's something wrong with
your include paths, but I can't be sure.
-- Brane
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Aug 9 02:29:58 2005