POV-Ray

The Persistence of Vision Raytracer (POV-Ray).

This is the legacy Bug Tracking System for the POV-Ray project. Bugs listed here are being migrated to our github issue tracker. Please refer to that for new reports or updates to existing ones on this system.

Attached to Project: POV-Ray
Opened by Mike H - 2010-06-09
Last edited by Thorsten Fröhlich - 2010-06-20

FS#126 - Explicit #RETURN statement inside macros

In POV SDL it can sometimes be ambiguous what exactly a macro returns. An explicit #RETURNS statement would make this unambiguous.

Closed by  Thorsten Fröhlich
Sunday, 20 June 2010, 06:10 GMT
Reason for closing:  Not a bug
Additional comments about closing:  

Reporter misunderstood difference between macros and functions.

Grimbert Jérôme commented on Thursday, 10 June 2010, 12:06 GMT

A macro does not return, it get expanded.

Seems there is a confusion with a function.

Thorsten Fröhlich commented on Sunday, 20 June 2010, 06:09 GMT

Indeed, as Grimbert Jérôme (Le_Forgeron) says, macros are no functions.

Mike H commented on Saturday, 21 August 2010, 22:36 GMT

My mistake, sorry.

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing