Ticket #519 (closed defect: fixed)

Opened 1 year ago

Last modified 1 year ago

file plugin can not compile with suncc with warning flags only for gcc

Reported by: HaltonHuo Assigned to: abauer
Priority: high Milestone:
Component: Plugin: file Version:
Severity: critical Keywords:
Cc:

Description

on trunk code, sun cc can not compile since the flag -Wall -Werror -Wno-

return-type, following are compile error message:

/ws/onnv-tools-prc/SUNWspro/SS11/bin/cc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/opensync-1.0 -I/usr/include/libxml2 -Wall -Werror -g -c file_sync.c -KPIC -DPIC -o .libs/file_sync.o cc: illegal option -Wall make[2]: *** [file_sync.lo] Error 1

Attachments

plugin-file-wall.diff (1.2 kB) - added by HaltonHuo on 07/27/07 09:29:56.
patch for this bug, check whether is gcc, otherwise do not use -Wall

Change History

07/27/07 09:29:56 changed by HaltonHuo

  • attachment plugin-file-wall.diff added.

patch for this bug, check whether is gcc, otherwise do not use -Wall

10/16/07 01:42:11 changed by dgollub

  • status changed from new to closed.
  • resolution set to fixed.

Fixed with r2591