Thread: [Ctags-devel] Can't compile current SVN - regex.h syntax error
Brought to you by:
dhiebert
From: David F. <Dav...@ia...> - 2009-07-17 02:54:44
|
Compiling current SVN results in the following errors on Windows: regex.c c:\OpenSrc\ctags_svn\gnu_regex\regex.h(384) : error C2061: syntax error : identifier 'size_t' c:\OpenSrc\ctags_svn\gnu_regex\regex.h(390) : error C2143: syntax error : missing '{' before ':' c:\OpenSrc\ctags_svn\gnu_regex\regex.h(390) : error C2059: syntax error : ':' c:\OpenSrc\ctags_svn\gnu_regex\regex.h(401) : error C2143: syntax error : missing '{' before ':' c:\OpenSrc\ctags_svn\gnu_regex\regex.h(401) : error C2059: syntax error : ':' c:\OpenSrc\ctags_svn\gnu_regex\regex.h(405) : error C2143: syntax error : missin g '{' before ':' Is anyone seeing this? If you are not, and you can compile on *nix, where are you getting your copy of regex.c? Thanks, Dave |
From: Darren H. <dhi...@us...> - 2009-07-17 04:24:50
|
Dave, I compile using "nmake -f mk_mvc.mak" from a command shell. I am using Microsoft Visual C++ Express 2008. How are you compiling? If you are compiling using a project file from within the GUI, check the makefile for appropriate options. Darren On Jul 16, 2009, at 9:54 PM, David Fishburn wrote: > > Compiling current SVN results in the following errors on Windows: > > regex.c > c:\OpenSrc\ctags_svn\gnu_regex\regex.h(384) : error C2061: syntax > error : > identifier 'size_t' > c:\OpenSrc\ctags_svn\gnu_regex\regex.h(390) : error C2143: syntax > error : > missing '{' before ':' > c:\OpenSrc\ctags_svn\gnu_regex\regex.h(390) : error C2059: syntax > error : > ':' > c:\OpenSrc\ctags_svn\gnu_regex\regex.h(401) : error C2143: syntax > error : > missing '{' before ':' > c:\OpenSrc\ctags_svn\gnu_regex\regex.h(401) : error C2059: syntax > error : > ':' > c:\OpenSrc\ctags_svn\gnu_regex\regex.h(405) : error C2143: syntax > error : > missin g '{' before ':' > > Is anyone seeing this? > > If you are not, and you can compile on *nix, where are you getting > your copy > of regex.c? > > Thanks, > Dave -- Darren Hiebert http://darrenhiebert.com |
From: David F. <Dav...@ia...> - 2009-07-17 04:30:34
|
Yes, I make it the same way. For some reason my .cmd file was using the 2003 compiler. I just flipped it to use the 2005 compiler and it compiles clean. So thanks, at least I can build it again now. Dave > -----Original Message----- > From: Darren Hiebert [mailto:dhi...@us...] > Sent: Friday, July 17, 2009 12:25 AM > To: fis...@ia... > Cc: 'Ctags Development' > Subject: Re: [Ctags-devel] Can't compile current SVN - > regex.h syntax error > > Dave, > > I compile using "nmake -f mk_mvc.mak" from a command shell. I > am using Microsoft Visual C++ Express 2008. > > How are you compiling? If you are compiling using a project > file from within the GUI, check the makefile for appropriate options. > > Darren > > On Jul 16, 2009, at 9:54 PM, David Fishburn wrote: > > > > > Compiling current SVN results in the following errors on Windows: > > > > regex.c > > c:\OpenSrc\ctags_svn\gnu_regex\regex.h(384) : error C2061: syntax > > error : > > identifier 'size_t' > > c:\OpenSrc\ctags_svn\gnu_regex\regex.h(390) : error C2143: syntax > > error : > > missing '{' before ':' > > c:\OpenSrc\ctags_svn\gnu_regex\regex.h(390) : error C2059: syntax > > error : > > ':' > > c:\OpenSrc\ctags_svn\gnu_regex\regex.h(401) : error C2143: syntax > > error : > > missing '{' before ':' > > c:\OpenSrc\ctags_svn\gnu_regex\regex.h(401) : error C2059: syntax > > error : > > ':' > > c:\OpenSrc\ctags_svn\gnu_regex\regex.h(405) : error C2143: syntax > > error : > > missin g '{' before ':' > > > > Is anyone seeing this? > > > > If you are not, and you can compile on *nix, where are you getting > > your copy of regex.c? > > > > Thanks, > > Dave > > -- > Darren Hiebert > http://darrenhiebert.com > > > > |