delorie.com/archives/browse.cgi | search |
From: | phepworth AT s-vision DOT com (Paul Hepworth) |
Subject: | assert.h and undefined assert() in ld |
15 Mar 1998 01:10:14 -0800 : | |
Message-ID: | <00D7B108BAFFD011B66D00A0C903629C174037.cygnus.gnu-win32@el-postino.s-vision.com> |
Mime-Version: | 1.0 |
To: | gnu-win32 AT cygnus DOT com |
What's the trick to getting assert to work? Compiles fine, linker bails with undefined reference to assert(). What flag do I need to include the assert. (FWIW, I don't need to do anything special to make assert work under gcc for Solaris) Paul - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |