- Subject: [slang-users] incomplete typedefs in slang.h
- From: "Theodoros V. Kalamatianos" <thkala@xxxxxxxxxxxxxxxxxxx>
- Date: Fri, 17 Jun 2005 11:43:08 +0300 (EEST)
I was trying to compile the rgrep utility from the latest jed prerelease
and encountered a series of errors such as:
src/rgrep.c:364: error: invalid use of incomplete typedef `SLRegexp_Type'
src/rgrep.c:377: error: invalid use of incomplete typedef `SLsearch_Type'
A quick look in the slang-2.0.3 tarball showed that, for example, the
definition of SLRegexp_Type is in slang.h:
typedef struct _pSLRegexp_Type SLRegexp_Type;
...but the struct _pSLRegexp_Type is defined in a .c file, therefore
resulting in an incomplete definition. There must be several errors of
this type in slang.h. I believe that the struct definitions should be
moved to slang.h to fix this and achieve maximum compatibility. I'd really
like to have this fixed in the next slang release...
Cheers,
Theodoros
_______________________________________________
To unsubscribe, visit http://jedsoft.org/slang/mailinglists.html
[2005 date index]
[2005 thread index]
[Thread Prev] [Thread Next]
[Date Prev] [Date Next]