[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[help-gengetopt] invalid use of non-lvalue array w/ GCC 3.3.5
From: |
Papp Gyozo (VBuster) |
Subject: |
[help-gengetopt] invalid use of non-lvalue array w/ GCC 3.3.5 |
Date: |
Fri, 28 Mar 2008 11:57:50 +0100 |
Hi,
I've encountered the following problem with GCC 3.3.5:
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
}
I'm about to update GCC but there is no other way to solve this?
--
Papp, Gyozo
Virusbuster Kft
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [help-gengetopt] invalid use of non-lvalue array w/ GCC 3.3.5,
Papp Gyozo (VBuster) <=