#32088 closed defect (fixed)
libccd: 'always_inline' function could not be inlined in call to 'ccdVec3Dot': function not considered for inlining
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | mamoll (Mark Moll) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.0.3 |
Keywords: | Cc: | ||
Port: | libccd |
Description
libccd does not compile for me on OS X 10.6.8 with Xcode 3.2.6:
cc -Wall -pedantic --std=gnu99 -I. -c -o ccd.o ccd.c ./ccd/vec3.h: In function ‘ccdGJKPenetration’: ./ccd/vec3.h:304: error: ‘always_inline’ function could not be inlined in call to ‘ccdVec3Dot’: function not considered for inlining ./ccd/vec3.h:248: error: called from here make: *** [ccd.o] Error 1
Attachments (1)
Change History (3)
Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
comment:1 Changed 13 years ago by mamoll (Mark Moll)
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Thank you for UsingTheRightCompiler but the part that actually fixed the problem was adding ${configure.cflags}, specifically ${configure.optflags} i.e. -O2
, to the CFLAGS; looks like -O1
, -O2
, and -O3
work but the default -O0
does not.
Note: See
TracTickets for help on using
tickets.
Sorry. Should be fixed in r87300.