Login | Register
My pages Projects Community openCollabNet

Discussions > dev > Re: stray '#' in program and environ undeclared

fsvs
Discussion topic

Back to topic list

Re: stray '#' in program and environ undeclared

Author pmarek
Full name P.Marek
Date 2007-12-07 04:31:23 PST
Message On Friday 07 December 2007 Alexander Skwar wrote:
> Philipp Marek schrieb:
> > environ is SUS:
> > environ - array of character pointers to the environment strings
> > http://opengroup.org​/onlinepubs/00790879​9/xsh/environ.html
> >
> >
> > Does that help?
>
> Yes, it did. I'm still getting this, though:
>
> fsvs.c: In function 'Version':
> fsvs.c:539: error: stray '#' in program
> fsvs.c:539: error: called object '"compile options:\012\011 HAVE_LOCALES=1
> AC_CV_C_UINT32_T=uint32_t HAVE_STRUCT_STAT_ST_MTIM=1 O_DIRECTORY==(0)="' is
> not a function fsvs.c:544: error: syntax error before string constant
> gmake[1]: *** [fsvs.o] Error 1
> gmake: *** [default-target] Error 2
Are you using r1255? It has this:

svn diff -r PREV:HEAD fsvs.c
Index: fsvs.c
====================​====================​====================​=======
--- fsvs.c (Revision 1254)
+++ fsvs.c (Revision 1255)
@@ -536,7 +536,7 @@ const char* Version(FILE *output)
                                STRINGIFY(HAVE_O_DIRECTORY)
 #endif
 #ifdef O_DIRECTORY
- STRINGIFY(O_DIRECTOR​Y=)#O_DIRECTORY
+ STRINGIFY(O_DIRECTORY)
 #endif
 #ifdef HAVE_LINUX_KDEV_T_H
                                STRINGIFY(HAVE_LINUX_KDEV_T_H)

--
Versioning your /etc, /home or even your whole installation?
             Try fsvs (fsvs.tigris.org)!

« Previous message in topic | 4 of 5 | Next message in topic »

Messages

Show all messages in topic

stray '#' in program and environ undeclared Alexander Skwar <alexanders dot mailinglists+nospam at gmail dot com> Alexander Skwar <alexanders dot mailinglists+nospam at gmail dot com> 2007-12-07 03:31:11 PST
     Re: stray '#' in program and environ undeclared pmarek P.Marek 2007-12-07 03:58:37 PST
         Re: stray '#' in program and environ undeclared Alexander Skwar <alexanders dot mailinglists+nospam at gmail dot com> Alexander Skwar <alexanders dot mailinglists+nospam at gmail dot com> 2007-12-07 04:08:19 PST
             Re: stray '#' in program and environ undeclared pmarek P.Marek 2007-12-07 04:31:23 PST
                 Re: stray '#' in program and environ undeclared Alexander Skwar <alexanders dot mailinglists+nospam at gmail dot com> Alexander Skwar <alexanders dot mailinglists+nospam at gmail dot com> 2007-12-07 04:39:56 PST
Messages per page: