Skip to content

nbigaouette/assert

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

assert

Content

Redefine assert() macro to print file name and line number. Define new macro "Assert_isinf_isnan()" to verify if number if inifite or NaN (not-a-number).

Compilation

No need to compile, it's just a header file. Include "Assert.hpp"

To install:

$ make install

By default, it will be installed in ${HOME}/usr. You can install somewhere else using DESTDIR:

$ make gcc shared static install DESTIR=/usr

License

This code is distributed under the terms of the GNU General Public License v3 (GPLv3) and is Copyright 2011 Nicolas Bigaouette.

Releases

No releases published

Packages

No packages published

Languages