Opened 12 years ago

Closed 12 years ago

#2863 closed Bug (fixed)

Build failure in gtk/add-dialog.c:56:save_recent_destination: 'strcmp' undeclared

Reported by: yukam Owned by: charles
Priority: Normal Milestone: 1.90
Component: GTK+ Client Version: 1.83
Severity: Normal Keywords: backport-1.8x


While building svn/tags/1.83, I got compilation failure

add-dialog.c: In function 'save_recent_destination':
add-dialog.c:56: error: 'strcmp' undeclared (first use in this function)
add-dialog.c:56: error: (Each undeclared identifier is reported only once
add-dialog.c:56: error: for each function it appears in.)
add-dialog.c: In function 'sourceChanged':
add-dialog.c:177: warning: implicit declaration of function 'strcmp'
make[3]: *** [add-dialog.o] Error 1

This bug was introduced in r10031 (that removed #include <string.h> from tr-core.h). Trivial patch attached.

Attachments (1)

add-dialog-fix.patch (299 bytes) - added by yukam 12 years ago.

Download all attachments as: .zip

Change History (3)

Changed 12 years ago by yukam

comment:1 Changed 12 years ago by charles

  • Keywords backport-1.8x added
  • Milestone changed from None Set to 1.90
  • Status changed from new to assigned

fixed in trunk by r10100 for 1.90.

added backport-1.8x tag for inclusion if/when we have another 1.8x release

comment:2 Changed 12 years ago by charles

  • Resolution set to fixed
  • Status changed from assigned to closed
Note: See TracTickets for help on using tickets.