Ticket #20 (assigned defect)

Opened 13 months ago

Last modified 7 months ago

__FUNCTION__ isn't a general macro, it isn't defined by Sun C compilor

Reported by: jerryyu Owned by: zany
Priority: major Milestone:
Component: openobex-lib Version:
Keywords: Cc:

Description

After enable debug of openobex, there's a compiling error about the macro "FUNCTION" on Solaris platform, it's because func instead of FUNCTION is defined in Solaris.

Attachments

openobex-04-func.diff (307 bytes) - added by jerryyu 13 months ago.
patch for this bug

Change History

Changed 13 months ago by jerryyu

patch for this bug

Changed 13 months ago by zany

  • owner changed from somebody to zany
  • status changed from new to assigned

Changed 7 months ago by zany

__FUNCTION__ is non standard and only needed for GCC 2.x we should move to using C99's __func__

Note: See TracTickets for help on using tickets.