Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Jun 2001 19:07:22 +0300
From:      Peter Pentchev <roam@orbitel.bg>
To:        hackers@FreeBSD.org
Subject:   free() and const warnings
Message-ID:  <20010607190722.G724@ringworld.oblivion.bg>

next in thread | raw e-mail | index | archive | help
Hi,

Is free((void *) (size_t) ptr) the only way to free a const whatever *ptr
with WARNS=2?  (or more specifically, with -Wcast-qual)

G'luck,
Peter

-- 
I've heard that this sentence is a rumor.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010607190722.G724>