Opened 12 years ago
Closed 10 years ago
#656 closed defect (fixed)
IZ2980: error: conflicting types for 'getline'
Reported by: | opoplawski | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | sge | Version: | 6.2u2 |
Severity: | minor | Keywords: | build |
Cc: |
Description
[Imported from gridengine issuezilla http://gridengine.sunsource.net/issues/show_bug.cgi?id=2980]
Issue #: 2980 Platform: All Reporter: opoplawski (opoplawski) Component: gridengine OS: All Subcomponent: build Version: 6.2u2 CC: None defined Status: NEW Priority: P3 Resolution: Issue type: DEFECT Target milestone: --- Assigned to: andreas (andreas) QA Contact: andreas URL: * Summary: error: conflicting types for 'getline' Status whiteboard: Attachments: Date/filename: Description: Submitted by: Mon Apr 6 12:08:00 -0700 2009: gridengine-6.2u2_1-getline.patch Patch to change getline() to sge_getline() (text/plain) opoplawski Issue 2980 blocks: Votes for issue 2980: Opened: Mon Apr 6 12:05:00 -0700 2009 ------------------------ Compiling with latest Fedora Rawhide: gcc -c -O3 -Wall -Wstrict-prototypes -DUSE_POLL -DLINUX -DLINUX86 -DLINUX86_26 -D_GNU_SOURCE -DGETHOSTBYNAME_R6 -DGETHOSTBYADDR_R8 -DLOAD_OPENSSL -I/usr/include/../include -DSGE_ARCH_STRING=lx26-x86 -DTARGET_32BIT -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i586 -mtune=generic -fasynchronous-unwind-tables -DSPOOLING_dynamic -DSECURE -I/usr/include -Wno-strict-aliasing -D_FILE_OFFSET_BITS=64 -DCOMPILE_DC -D__SGE_COMPILE_WITH_GETTEXT__ -D__SGE_NO_USERMAPPING__ -Wno-strict-prototypes -Wno-error -DHAVE_MEMMOVE -DXMT_HAS_STRERROR -I../3rdparty/qmon/Xmt310 -I../3rdparty/qmon/Xbae -I../3rdparty/qmon/iconlist -I../3rdparty/qmon/ltree -I../3rdparty/qmon/outline -I../3rdparty/qmon/rowcol -I../3rdparty/qmon/spinbox -I../clients/qmon -I../3rdparty/qmon/tab -I/usr/X11R6/include -U_GNU_SOURCE -DINCLUDEDIR=\"/usr/include\" -DOBJSUFFIX=\".o\" ../include.c In file included from ../include.c:29: ../def.h:158: error: conflicting types for 'getline' /usr/include/stdio.h:653: note: previous declaration of 'getline' was here Looks line "getline" needs to get renamed to avoid conflicting with the glibc function getline. ------- Additional comments from opoplawski Mon Apr 6 12:08:38 -0700 2009 ------- Created an attachment (id=187) Patch to change getline() to sge_getline()
Attachments (1)
Change History (2)
comment:1 Changed 10 years ago by dlove
- Resolution set to fixed
- Severity set to minor
- Status changed from new to closed
Changed 10 years ago by dlove
Note: See
TracTickets for help on using
tickets.
Fixed by [3543].