Changes in / [76e9498:a2a77af]
- Location:
- src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Common/Assert.cc
r76e9498 ra2a77af 1 // 1 // 2 2 // Cforall Version 1.0.0 Copyright (C) 2015 University of Waterloo 3 3 // 4 4 // The contents of this file are covered under the licence agreement in the 5 5 // file "LICENCE" distributed with Cforall. 6 // 7 // Assert.cc -- 8 // 6 // 7 // Assert.cc -- 8 // 9 9 // Author : Peter A. Buhr 10 10 // Created On : Thu Aug 18 13:26:59 2016 … … 12 12 // Last Modified On : Fri Aug 19 17:07:08 2016 13 13 // Update Count : 10 14 // 14 // 15 15 16 16 #include <assert.h> … … 35 35 va_start( args, fmt ); 36 36 vfprintf( stderr, fmt, args ); 37 va_end( args );38 fprintf( stderr, "\n" );39 37 abort(); 40 38 } … … 45 43 // compile-command: "make install" // 46 44 // End: // 45 -
src/libcfa/assert.c
r76e9498 ra2a77af 37 37 va_start( args, fmt ); 38 38 vfprintf( stderr, fmt, args ); 39 va_end( args );40 fprintf( stderr, "\n" );41 39 abort(); 42 40 }
Note: See TracChangeset
for help on using the changeset viewer.