|
From: | Lorenzo Bettini |
Subject: | Re: [help-gengetopt] invalid use of non-lvalue array w/ GCC 3.0.4 |
Date: | Fri, 28 Mar 2008 17:56:23 +0100 |
User-agent: | Thunderbird 2.0.0.12 (X11/20080227) |
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 }
Hican 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
[Prev in Thread] | Current Thread | [Next in Thread] |