Re: [PATCH] Overriding automatic syntax detection



Hello,

On Wed, 6 Jul 2005, Leonard den Ottolander wrote:

> Today I've been scratching an itch that I had for a while: An option to
> override the auto syntax recognition.

I've decided to give it a try but it doesn't even compile clean. I applied
against HEAD.

Here is the first error I got:

In file included from ../../mc/edit/picksyntax.c:23:
../../mc/edit/../src/dialog.h:196: error: syntax error before '*' token
../../mc/edit/../src/dialog.h:196: warning: data definition has no type or storage class
../../mc/edit/picksyntax.c: In function `set_syntax_dialog':
../../mc/edit/picksyntax.c:45: warning: initialization makes pointer from integer without a cast
../../mc/edit/picksyntax.c:48: warning: initialization makes pointer from integer without a cast
../../mc/edit/picksyntax.c:52: warning: initialization makes pointer from integer without a cast
../../mc/edit/picksyntax.c:59: warning: initialization makes pointer from integer without a cast
../../mc/edit/picksyntax.c:65: warning: initialization makes pointer from integer without a cast
../../mc/edit/picksyntax.c:85: warning: assignment makes pointer from integer without a cast
../../mc/edit/picksyntax.c:89: warning: assignment makes pointer from integer without a cast
make[1]: *** [picksyntax.o] Error 1
make[1]: Leaving directory `/usr/src/mc-cvs/build/edit'
make: *** [install-recursive] Error 1

Also I got undefined reference for N_ which you've used to
internationalize the strings in the menu.

It is not hard to fix these but please do you homework next time.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]