[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [help-gengetopt] invalid use of non-lvalue array w/ GCC 3.0.4
From: |
Papp Gyozo (VBuster) |
Subject: |
Re: [help-gengetopt] invalid use of non-lvalue array w/ GCC 3.0.4 |
Date: |
Mon, 31 Mar 2008 12:14:02 +0200 |
> >> cmdline.c:2242: invalid use of non-lvalue array
> >> cmdline.c:2242: invalid use of non-lvalue array
> >> gmake: *** [cmdline.c.o] Error 1
> >> gmake: Leaving directory 'vbscan/build'
> >>
> >> the corresponding lines from cmdline.c:
> >>
> >> 2237: if (args_info->daemon_mode_counter &&
> >> args_info->standalone_mode_counter) {
> >> 2238: error += check_modes(
> >> 2239: (int []){args_info->daemon_given, args_info->attach_given,
> -1},
> >> 2240: (const char *[]){"--daemon", "--attach", 0},
> can you try to solve the problem manually, so that I can rewrite the
> generation code accordingly? Probably those arrays should be declared
> explicitly, but you should try until you don't get errors anymore, since
Yes, sure I'll give it a try as soon as I have time to play with it. I was
wondering if there was any barrier to do it other way (explicit decl as you
suggested) and beside this hoping someone pointed me out what this error
message complaining about specifically, because first I couldn't see what
left-value it was speaking about...