Ticket #2108 (closed bug: fixed)

Opened 2 years ago

Last modified 23 months ago

[PATCH] Problematic definition of assert macro

Reported by: andreasf Owned by: axeld
Priority: normal Milestone: R1
Component: - General Version: R1/pre-alpha1
Keywords: Cc:
Blocked By: Platform: All
Blocking:

Description

assert.h defines assert(condition) to ; if NDEBUG is defined. This looks like a mistake and breaks Python compilation.

A proposed patch that makes Python happy is attached.

Attachments

assert.diff Download (419 bytes) - added by andreasf 2 years ago.
proposed patch

Change History

Changed 2 years ago by andreasf

proposed patch

Changed 2 years ago by andreasf

  • summary changed from [PATH] Problematic definition of assert macro to [PATCH] Problematic definition of assert macro

Changed 23 months ago by andreasf

This patch has been committed as part of r25433, so this ticket can be closed.

Changed 23 months ago by bonefish

  • status changed from new to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.