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
_______________________________________________
Help-gengetopt mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gengetopt