Skip to content

Commit

Permalink
Remove misleading SKIP_GCCPP_DEFINITIONS from macros documentation
Browse files Browse the repository at this point in the history
(fix of commit 6e110ee)

PR #643 (bdwgc).

Instead of prohibiting of new and delete operators definition in
gc_cpp.cc, it would be better for the client to link with libgctba.a
(not with libgccpp.a).

* docs/README.macros (SKIP_GCCPP_DEFINITIONS): Remove.
  • Loading branch information
ivmai committed Jul 19, 2024
1 parent 40a05ad commit 865c593
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions docs/README.macros
Original file line number Diff line number Diff line change
Expand Up @@ -268,10 +268,6 @@ REDIRECT_REALLOC=<X> Causes realloc to be redirected to X.
REDIRECT_FREE=<X> Causes free to be redirected to X. The canonical use
is REDIRECT_FREE=GC_debug_free.

SKIP_GCCPP_DEFINITIONS Do not define new and delete operators in gc_cpp.cc.
This might be useful for compiling and linking of client code with
user-supplied allocation definitions.

IGNORE_FREE Turns calls to free into a no-op. Only useful with
REDIRECT_MALLOC.

Expand Down

0 comments on commit 865c593

Please sign in to comment.