[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: |
Fri, 28 Mar 2008 12:29:47 +0100 |
Hi,
> I've encountered the following problem with GCC 3.3.5:
sorry, it is even worse for me, we still use 3.0.4 shame on me!
btw, my question is still open.
> 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},
> 2241: (int []){args_info->engine_given, args_info->vdb_given,
> args_info->optional_given, args_info->quarantine_given, args_info->temp_gi
> 2242: (const char *[]){"--engine", "--vdb", "--optional",
> "--quarantine", "--temp", "--scanning", "--heuristics", "--memory",
> "--archive
> }
>
- Re: [help-gengetopt] invalid use of non-lvalue array w/ GCC 3.0.4,
Papp Gyozo (VBuster) <=