Papp Gyozo (VBuster) wrote:
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
}
Hi
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
I don't have that version of the compiler...
thanks
hope to hear from you soon
cheers
Lorenzo
--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
ICQ# lbetto, 16080134 (GNU/Linux User # 158233)
HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com
http://www.myspace.com/supertrouperabba
BLOGS: http://tronprog.blogspot.com http://longlivemusic.blogspot.com
http://www.gnu.org/software/src-highlite
http://www.gnu.org/software/gengetopt
http://www.gnu.org/software/gengen http://doublecpp.sourceforge.net
_______________________________________________
Help-gengetopt mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gengetopt