Opened 6 years ago

Last modified 5 years ago

#20 assigned defect

__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 (1)

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

Download all attachments as: .zip

Change History (3)

Changed 6 years ago by jerryyu

patch for this bug

comment:1 Changed 6 years ago by zany

  • Owner changed from somebody to zany
  • Status changed from new to assigned

comment:2 Changed 5 years 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.