Opened 16 years ago

Last modified 14 years ago

#692 reopened Defect

xpm icons cause lots of compiler warnings

Reported by: Nicolas Owned by: romw
Priority: Trivial Milestone: Undetermined
Component: Manager Version:
Keywords: Cc:

Description

The .xpm images used for the GUI cause lots of compiler warnings about "conversion from string literal to char*". They should be modified to use const char* instead.

Change History (4)

comment:1 Changed 16 years ago by Nicolas

Fixing this apparently makes gimp fail to read the .xpm files :/

comment:2 Changed 16 years ago by Nicolas

Update: it doesn't. gimp failed to read them because I had removed the /* XPM */ from the first line. Making the arrays const doesn't cause any problem.

comment:3 Changed 16 years ago by Nicolas

Resolution: fixed
Status: newclosed

Fixed in r18151

comment:4 Changed 14 years ago by Nicolas

Resolution: fixed
Status: closedreopened

Actually, r18151 fixed like half the files. The rest still give warnings.

Note: See TracTickets for help on using tickets.