[pcre-dev] compile errors on PCRE 8.11

Kezdőlap
Üzenet törlése
Szerző: Mahudeswaran
Dátum:  
Címzett: pcre-dev
Tárgy: [pcre-dev] compile errors on PCRE 8.11
Hi,

I am new to PCRE. And please find the below email.

If you need any further information's please let me know.



Regards

Mahudeswaran



From: Mahudeswaran
Sent: Tuesday, December 28, 2010 1:49 PM
To: 'webmaster@???'
Subject: compile errors on PCRE8.11
Importance: High



Hi,



I downloaded the PCRE8.11 from the FTP path and build it for windows 7
environment using CMake setup.



After I configured the source and build destination path in CMAKE GUI
window, in Configure option and selected compile type to 'Visual Studio
8 2005'. And clicked on generate button to process

PCRE.sln was created.

I opened the PCRE.sln on VS2005 IDE and built the solution.



It shows the below compile errors:

Error      2              error C2371: 'pcregrep_exit' : redefinition;
different basic types              c:\pcre\pcre-8.11\pcregrep.c     579





"file content pcregrsp.c"



static void

pcregrep_exit(int rc)

{

if (resource_error)

{

fprintf(stderr, "pcregrep: Error %d or %d means that a resource limit
"

    "was exceeded.\n", PCRE_ERROR_MATCHLIMIT,
PCRE_ERROR_RECURSIONLIMIT);


fprintf(stderr, "pcregrep: Check your regex for nested unlimited
loops.\n");

}



exit(rc);

}



Please guide us to resolve this issue.



Regards

Mahudeswaran