Login | Register
My pages Projects Community openCollabNet

Discussions > dev > environ undeclared in helper

fsvs
Discussion topic

Back to topic list

environ undeclared in helper

Author Alexander Skwar <alexanders dot mailinglists+nospam at gmail dot com>
Full name Alexander Skwar <alexanders dot mailinglists+nospam at gmail dot com>
Date 2007-12-07 04:46:53 PST
Message Hello.

helper.c: In function 'hlp__match_path_envs':
helper.c:1423: error: 'environ' undeclared (first use in this function)
helper.c:1423: error: (Each undeclared identifier is reported only once
helper.c:1423: error: for each function it appears in.)
helper.c: In function 'hlp__format_path':
helper.c:1580: error: 'environ' undeclared (first use in this function)

Patch attached, but doesn't work completely. After applying
the patch, I still cannot compile:

revert.c: In function 'rev__do_changed':
revert.c:597: warning: format '%o' expects type 'unsigned int', but argument 7 has type 'mode_t'
     CC status.c
status.c: In function 'st__print_status':
status.c:194: error: too few arguments to function 'hlp__format_path'
status.c: In function 'st__print_entry_info':
status.c:617: warning: format '%4o' expects type 'unsigned int', but argument 2 has type 'mode_t'
status.c:620: warning: format '%u' expects type 'unsigned int', but argument 2 has type 'uid_t'
status.c:620: warning: format '%u' expects type 'unsigned int', but argument 4 has type 'gid_t'
gmake[1]: *** [status.o] Error 1
gmake: *** [default-target] Error 2

Alexander

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

Messages

Show all messages in topic

environ undeclared in helper Alexander Skwar <alexanders dot mailinglists+nospam at gmail dot com> Alexander Skwar <alexanders dot mailinglists+nospam at gmail dot com> 2007-12-07 04:46:53 PST
     Re: environ undeclared in helper pmarek P.Marek 2007-12-07 04:58:04 PST
         Re: environ undeclared in helper Alexander Skwar <alexanders dot mailinglists+nospam at gmail dot com> Alexander Skwar <alexanders dot mailinglists+nospam at gmail dot com> 2007-12-07 05:02:54 PST
             Re: environ undeclared in helper pmarek P.Marek 2007-12-08 05:38:18 PST
                 Re: environ undeclared in helper Alexander Skwar <alexanders dot mailinglists+nospam at gmail dot com> Alexander Skwar <alexanders dot mailinglists+nospam at gmail dot com> 2007-12-08 12:42:38 PST
Messages per page: