Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#992 closed defect (fixed)

error: attributes are not allowed on a function-definition

Reported by: fcxSanya Owned by:
Priority: Should Have Milestone: Alpha 8
Component: Core engine Keywords:
Cc: Patch:

Description

I have following error when trying to compile r10384 with gcc 4.5.2:

../../../source/lib/allocators/unique_range.cpp:53:80: error: attributes are not allowed on a function-definition

Change History (3)

comment:2 by Jan Wassenberg, 13 years ago

Resolution: fixed
Status: newclosed

(In [10385]) fix compile error due to GCC restriction. thanks to daniel.santos for reporting and alex for creating the ticket/notifying me. fixes #992

[heh, the amount of comments are proportional to the trouble caused by this code :S ran into VC++ compile errors when declspec came after void* return type *sigh*]

comment:3 by historic_bruno, 13 years ago

Milestone: BacklogAlpha 8
Note: See TracTickets for help on using tickets.