ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] gcc emits too many warnings after fatal errors
@ 2006-05-28 13:35 Alexey Tourbin
  2006-05-28 14:17 ` Dmitry V. Levin
  0 siblings, 1 reply; 4+ messages in thread
From: Alexey Tourbin @ 2006-05-28 13:35 UTC (permalink / raw)
  To: devel

[-- Attachment #1: Type: text/plain, Size: 13877 bytes --]

Ниже приведен кусос лога пересборки dia.  После обнаружения фатальных
ошибок gcc считает своим долгом в нагрузку выдать пачку warning'ов
общем объемом более 100 строк.  Это очень усложняет обработку логов.

:r!ssh basalt tail -200 /raid/beehive/error/dia-0.94-alt12cvs20051206
../../lib/dia_xml.h:85: error: initializer expression list treated as compound expression
../../lib/dia_xml.h:86: error: variable or field 'data_add_real' declared void
../../lib/dia_xml.h:86: error: 'AttributeNode' was not declared in this scope
../../lib/dia_xml.h:86: error: expected primary-expression before 'data'
../../lib/dia_xml.h:86: error: initializer expression list treated as compound expression
../../lib/dia_xml.h:87: error: variable or field 'data_add_boolean' declared void
../../lib/dia_xml.h:87: error: 'AttributeNode' was not declared in this scope
../../lib/dia_xml.h:87: error: expected primary-expression before 'int'
../../lib/dia_xml.h:87: error: initializer expression list treated as compound expression
../../lib/dia_xml.h:88: error: variable or field 'data_add_color' declared void
../../lib/dia_xml.h:88: error: 'AttributeNode' was not declared in this scope
../../lib/dia_xml.h:88: error: expected primary-expression before 'const'
../../lib/dia_xml.h:88: error: initializer expression list treated as compound expression
../../lib/dia_xml.h:89: error: variable or field 'data_add_point' declared void
../../lib/dia_xml.h:89: error: 'AttributeNode' was not declared in this scope
../../lib/dia_xml.h:89: error: expected primary-expression before 'const'
../../lib/dia_xml.h:89: error: initializer expression list treated as compound expression
../../lib/dia_xml.h:90: error: variable or field 'data_add_rectangle' declared void
../../lib/dia_xml.h:90: error: 'AttributeNode' was not declared in this scope
../../lib/dia_xml.h:90: error: expected primary-expression before 'const'
../../lib/dia_xml.h:90: error: initializer expression list treated as compound expression
../../lib/dia_xml.h:91: error: variable or field 'data_add_string' declared void
../../lib/dia_xml.h:91: error: 'AttributeNode' was not declared in this scope
../../lib/dia_xml.h:91: error: expected primary-expression before 'const'
../../lib/dia_xml.h:91: error: initializer expression list treated as compound expression
../../lib/dia_xml.h:92: error: variable or field 'data_add_filename' declared void
../../lib/dia_xml.h:92: error: 'AttributeNode' was not declared in this scope
../../lib/dia_xml.h:92: error: expected primary-expression before 'const'
../../lib/dia_xml.h:92: error: initializer expression list treated as compound expression
../../lib/dia_xml.h:93: error: variable or field 'data_add_font' declared void
../../lib/dia_xml.h:93: error: 'AttributeNode' was not declared in this scope
../../lib/dia_xml.h:93: error: expected primary-expression before 'const'
../../lib/dia_xml.h:93: error: initializer expression list treated as compound expression
../../lib/dia_xml.h:94: error: 'DataNode' does not name a type
../../lib/properties.h:110: error: 'AttributeNode' has not been declared
../../lib/properties.h:110: error: 'DataNode' has not been declared
../../lib/properties.h:111: error: 'AttributeNode' has not been declared
../../lib/properties.h:434: error: 'ObjectNode' has not been declared
../../lib/properties.h:435: error: 'ObjectNode' has not been declared
../../lib/text.h:88: error: variable or field 'data_add_text' declared void
../../lib/text.h:88: error: 'AttributeNode' was not declared in this scope
../../lib/text.h:88: error: expected primary-expression before '*' token
../../lib/text.h:88: error: 'text' was not declared in this scope
../../lib/text.h:88: error: initializer expression list treated as compound expression
../../lib/text.h:89: error: 'AttributeNode' was not declared in this scope
../../lib/object.h:93: error: typedef 'LoadFunc' is initialized (use __typeof__ instead)
../../lib/object.h:93: error: 'ObjectNode' was not declared in this scope
../../lib/object.h:93: error: expected primary-expression before 'int'
../../lib/object.h:94: error: expected primary-expression before 'const'
../../lib/object.h:100: error: 'ObjectNode' has not been declared
../../lib/object.h:293: error: 'ObjectNode' has not been declared
../../lib/object.h:294: error: 'ObjectNode' has not been declared
../../lib/object.h:334: error: 'ObjectNode' has not been declared
../../lib/object.h:336: error: 'ObjectNode' has not been declared
wmf.cpp: In function 'void begin_render(DiaRenderer*)':
wmf.cpp:238: warning: left-hand operand of comma has no effect
wmf.cpp: In function 'void end_render(DiaRenderer*)':
wmf.cpp:258: warning: left-hand operand of comma has no effect
wmf.cpp:254: warning: unused variable 'nSize'
wmf.cpp:255: warning: unused variable 'pData'
wmf.cpp:256: warning: unused variable 'f'
wmf.cpp: In function 'void set_linewidth(DiaRenderer*, real)':
wmf.cpp:311: warning: left-hand operand of comma has no effect
wmf.cpp:311: warning: right-hand operand of comma has no effect
wmf.cpp: In function 'void set_linecaps(DiaRenderer*, LineCaps)':
wmf.cpp:321: warning: left-hand operand of comma has no effect
wmf.cpp:321: warning: right-hand operand of comma has no effect
wmf.cpp: In function 'void set_linejoin(DiaRenderer*, LineJoin)':
wmf.cpp:348: warning: left-hand operand of comma has no effect
wmf.cpp:348: warning: right-hand operand of comma has no effect
wmf.cpp: In function 'void set_linestyle(DiaRenderer*, LineStyle)':
wmf.cpp:374: warning: left-hand operand of comma has no effect
wmf.cpp:374: warning: right-hand operand of comma has no effect
wmf.cpp:405: warning: enumeration value 'LINESTYLE_SOLID' not handled in switch
wmf.cpp: In function 'void set_dashlength(DiaRenderer*, real)':
wmf.cpp:420: warning: left-hand operand of comma has no effect
wmf.cpp:420: warning: right-hand operand of comma has no effect
wmf.cpp: In function 'void set_fillstyle(DiaRenderer*, FillStyle)':
wmf.cpp:431: warning: left-hand operand of comma has no effect
wmf.cpp:431: warning: right-hand operand of comma has no effect
wmf.cpp: In function 'void set_font(DiaRenderer*, DiaFont*, real)':
wmf.cpp:451: warning: left-hand operand of comma has no effect
wmf.cpp:452: warning: right-hand operand of comma has no effect
wmf.cpp: In function 'void draw_line(DiaRenderer*, Point*, Point*, Color*)':
wmf.cpp:498: warning: left-hand operand of comma has no effect
wmf.cpp:499: warning: right-hand operand of comma has no effect
wmf.cpp:499: warning: right-hand operand of comma has no effect
wmf.cpp:499: warning: right-hand operand of comma has no effect
wmf.cpp:499: warning: right-hand operand of comma has no effect
wmf.cpp: In function 'void draw_polyline(DiaRenderer*, Point*, int, Color*)':
wmf.cpp:520: warning: left-hand operand of comma has no effect
wmf.cpp:521: warning: right-hand operand of comma has no effect
wmf.cpp:521: warning: right-hand operand of comma has no effect
wmf.cpp:521: warning: right-hand operand of comma has no effect
wmf.cpp: In function 'void draw_polygon(DiaRenderer*, Point*, int, Color*)':
wmf.cpp:550: warning: left-hand operand of comma has no effect
wmf.cpp:551: warning: right-hand operand of comma has no effect
wmf.cpp:551: warning: right-hand operand of comma has no effect
wmf.cpp:551: warning: right-hand operand of comma has no effect
wmf.cpp: In function 'void fill_polygon(DiaRenderer*, Point*, int, Color*)':
wmf.cpp:581: warning: left-hand operand of comma has no effect
wmf.cpp:582: warning: right-hand operand of comma has no effect
wmf.cpp:582: warning: right-hand operand of comma has no effect
wmf.cpp:582: warning: right-hand operand of comma has no effect
wmf.cpp: In function 'void draw_rect(DiaRenderer*, Point*, Point*, Color*)':
wmf.cpp:603: warning: left-hand operand of comma has no effect
wmf.cpp:604: warning: right-hand operand of comma has no effect
wmf.cpp:604: warning: right-hand operand of comma has no effect
wmf.cpp:604: warning: right-hand operand of comma has no effect
wmf.cpp:604: warning: right-hand operand of comma has no effect
wmf.cpp: In function 'void fill_rect(DiaRenderer*, Point*, Point*, Color*)':
wmf.cpp:624: warning: left-hand operand of comma has no effect
wmf.cpp:625: warning: right-hand operand of comma has no effect
wmf.cpp:625: warning: right-hand operand of comma has no effect
wmf.cpp:625: warning: right-hand operand of comma has no effect
wmf.cpp:625: warning: right-hand operand of comma has no effect
wmf.cpp: In function 'void draw_arc(DiaRenderer*, Point*, real, real, real, real, Color*)':
wmf.cpp:648: warning: left-hand operand of comma has no effect
wmf.cpp:649: warning: right-hand operand of comma has no effect
wmf.cpp:649: warning: right-hand operand of comma has no effect
wmf.cpp:649: warning: right-hand operand of comma has no effect
wmf.cpp:649: warning: right-hand operand of comma has no effect
wmf.cpp:649: warning: right-hand operand of comma has no effect
wmf.cpp:649: warning: right-hand operand of comma has no effect
wmf.cpp: In function 'void fill_arc(DiaRenderer*, Point*, real, real, real, real, Color*)':
wmf.cpp:683: warning: left-hand operand of comma has no effect
wmf.cpp:684: warning: right-hand operand of comma has no effect
wmf.cpp:684: warning: right-hand operand of comma has no effect
wmf.cpp:684: warning: right-hand operand of comma has no effect
wmf.cpp:684: warning: right-hand operand of comma has no effect
wmf.cpp:684: warning: right-hand operand of comma has no effect
wmf.cpp:684: warning: right-hand operand of comma has no effect
wmf.cpp: In function 'void draw_ellipse(DiaRenderer*, Point*, real, real, Color*)':
wmf.cpp:718: warning: left-hand operand of comma has no effect
wmf.cpp:719: warning: right-hand operand of comma has no effect
wmf.cpp:719: warning: right-hand operand of comma has no effect
wmf.cpp:719: warning: right-hand operand of comma has no effect
wmf.cpp:719: warning: right-hand operand of comma has no effect
wmf.cpp: In function 'void fill_ellipse(DiaRenderer*, Point*, real, real, Color*)':
wmf.cpp:743: warning: left-hand operand of comma has no effect
wmf.cpp:744: warning: right-hand operand of comma has no effect
wmf.cpp:744: warning: right-hand operand of comma has no effect
wmf.cpp:744: warning: right-hand operand of comma has no effect
wmf.cpp:744: warning: right-hand operand of comma has no effect
wmf.cpp:739: warning: unused variable 'hPen'
wmf.cpp: In function 'void draw_bezier(DiaRenderer*, BezPoint*, int, Color*)':
wmf.cpp:767: warning: left-hand operand of comma has no effect
wmf.cpp:768: warning: right-hand operand of comma has no effect
wmf.cpp:768: warning: right-hand operand of comma has no effect
wmf.cpp:768: warning: right-hand operand of comma has no effect
wmf.cpp: In function 'void draw_string(DiaRenderer*, const char*, Point*, Alignment, Color*)':
wmf.cpp:854: warning: left-hand operand of comma has no effect
wmf.cpp:855: warning: right-hand operand of comma has no effect
wmf.cpp:855: warning: right-hand operand of comma has no effect
wmf.cpp:855: warning: right-hand operand of comma has no effect
wmf.cpp: In function 'void draw_image(DiaRenderer*, Point*, real, real, _DiaImage*)':
wmf.cpp:911: warning: unused variable 'renderer'
wmf.cpp: In function 'void draw_rounded_rect(DiaRenderer*, Point*, Point*, Color*, real)':
wmf.cpp:1020: warning: left-hand operand of comma has no effect
wmf.cpp:1021: warning: right-hand operand of comma has no effect
wmf.cpp:1021: warning: right-hand operand of comma has no effect
wmf.cpp:1021: warning: right-hand operand of comma has no effect
wmf.cpp:1021: warning: right-hand operand of comma has no effect
wmf.cpp:1021: warning: right-hand operand of comma has no effect
wmf.cpp: In function 'void fill_rounded_rect(DiaRenderer*, Point*, Point*, Color*, real)':
wmf.cpp:1042: warning: left-hand operand of comma has no effect
wmf.cpp:1043: warning: right-hand operand of comma has no effect
wmf.cpp:1043: warning: right-hand operand of comma has no effect
wmf.cpp:1043: warning: right-hand operand of comma has no effect
wmf.cpp:1043: warning: right-hand operand of comma has no effect
wmf.cpp: In function 'void wmf_renderer_finalize(GObject*)':
wmf.cpp:1091: warning: unused variable 'wmf_renderer'
wmf.cpp: In function 'void export_data(DiagramData*, const gchar*, const gchar*, void*)':
wmf.cpp:1247: warning: left-hand operand of comma has no effect
wmf.cpp:1248: warning: right-hand operand of comma has no effect
wmf.cpp:1248: warning: right-hand operand of comma has no effect
wmf.cpp:1248: warning: right-hand operand of comma has no effect
wmf.cpp:1248: warning: right-hand operand of comma has no effect
wmf.cpp:1153: warning: unused variable 'len'
wmf.cpp: At global scope:
wmf.cpp:1258: warning: 'wmf_export_filter' defined but not used
wmf.cpp:1267: warning: 'emf_export_filter' defined but not used
make[3]: Leaving directory `/usr/src/RPM/BUILD/dia-0.94/plug-ins/wmf'
make[3]: *** [wmf.lo] Error 1
make[2]: Leaving directory `/usr/src/RPM/BUILD/dia-0.94/plug-ins'
make[1]: Leaving directory `/usr/src/RPM/BUILD/dia-0.94'
make: Leaving directory `/usr/src/RPM/BUILD/dia-0.94'


RPM build errors:
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
error: Bad exit status from /usr/src/tmp/rpm-tmp.46809 (%build)
    Bad exit status from /usr/src/tmp/rpm-tmp.46809 (%build)
182.87user 35.60system 3:43.68elapsed 97%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (282major+8518645minor)pagefaults 0swaps
rebuild: rebuild of `dia-0.94-alt12cvs20051206.src.rpm' failed.
210.61user 45.59system 4:47.78elapsed 89%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (415major+9517488minor)pagefaults 0swaps


[-- Attachment #2: Type: application/pgp-signature, Size: 191 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [devel] gcc emits too many warnings after fatal errors
  2006-05-28 13:35 [devel] gcc emits too many warnings after fatal errors Alexey Tourbin
@ 2006-05-28 14:17 ` Dmitry V. Levin
  2006-05-28 20:47   ` Vitaly Lipatov
  0 siblings, 1 reply; 4+ messages in thread
From: Dmitry V. Levin @ 2006-05-28 14:17 UTC (permalink / raw)
  To: ALT Devel discussion list

[-- Attachment #1: Type: text/plain, Size: 490 bytes --]

On Sun, May 28, 2006 at 05:35:05PM +0400, Alexey Tourbin wrote:
> Ниже приведен кусос лога пересборки dia.  После обнаружения фатальных
> ошибок gcc считает своим долгом в нагрузку выдать пачку warning'ов
> общем объемом более 100 строк.  Это очень усложняет обработку логов.

Я согласен, это неудобно.  Сказать где у gcc живёт upstream?

[...]
> rebuild: rebuild of `dia-0.94-alt12cvs20051206.src.rpm' failed.

Да он просто старый, видимо мантейнер на него забил.


-- 
ldv

[-- Attachment #2: Type: application/pgp-signature, Size: 191 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [devel] gcc emits too many warnings after fatal errors
  2006-05-28 14:17 ` Dmitry V. Levin
@ 2006-05-28 20:47   ` Vitaly Lipatov
  2006-05-28 20:52     ` Dmitry V. Levin
  0 siblings, 1 reply; 4+ messages in thread
From: Vitaly Lipatov @ 2006-05-28 20:47 UTC (permalink / raw)
  To: ALT Devel discussion list

On Sunday 28 May 2006 18:17, Dmitry V. Levin wrote:
...
> > rebuild: rebuild of `dia-0.94-alt12cvs20051206.src.rpm'
> > failed.
>
> Да он просто старый, видимо мантейнер на него забил.
Это не относится к теме письма.
Если бы в новом проблем не было, давно бы его выложил.
В общем, 
Upload to 'devel:/incoming/Sisyphus/'
dia-0.95-alt0.1cvs20060514.src.rpm

-- 
Lav
Виталий Липатов
Санкт-Петербург
GNU! ALT Linux Team! WINE! LaTeX! LyX! http://freesource.info


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [devel] gcc emits too many warnings after fatal errors
  2006-05-28 20:47   ` Vitaly Lipatov
@ 2006-05-28 20:52     ` Dmitry V. Levin
  0 siblings, 0 replies; 4+ messages in thread
From: Dmitry V. Levin @ 2006-05-28 20:52 UTC (permalink / raw)
  To: ALT Devel discussion list

[-- Attachment #1: Type: text/plain, Size: 621 bytes --]

On Mon, May 29, 2006 at 12:47:00AM +0400, Vitaly Lipatov wrote:
> On Sunday 28 May 2006 18:17, Dmitry V. Levin wrote:
> ...
> > > rebuild: rebuild of `dia-0.94-alt12cvs20051206.src.rpm'
> > > failed.
> >
> > Да он просто старый, видимо мантейнер на него забил.
> Это не относится к теме письма.

Зато относится к содержанию письма.

> Если бы в новом проблем не было, давно бы его выложил.

В старом проблем было заведомо больше.
Хотя я и не представляю себе dia без проблем.

> В общем, 
> Upload to 'devel:/incoming/Sisyphus/'
> dia-0.95-alt0.1cvs20060514.src.rpm

Спасибо и на этом.


-- 
ldv

[-- Attachment #2: Type: application/pgp-signature, Size: 191 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-05-28 20:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-28 13:35 [devel] gcc emits too many warnings after fatal errors Alexey Tourbin
2006-05-28 14:17 ` Dmitry V. Levin
2006-05-28 20:47   ` Vitaly Lipatov
2006-05-28 20:52     ` Dmitry V. Levin

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git