Displaying 2 results from an estimated 2 matches for "end_callback".
Did you mean:
find_callback
2013 Apr 20
1
[LLVMdev] Adding custom pragma's for generating particular LLVM IR
...Here is an example:
int a, b;
/* ... */
#pragma mypragma shared(a, b)
{
a = b;
b++;
}
would result in this (pseudo) LLVM IR:
%1 alloca i32
%2 alloca i32
...
call void @start_callback ()
%3 call i32 @check_callback ( i32 %1 )
%4 call i32 @check_callback ( i32 %2 )
...
call void @end_callback ()
...
Note: All *_callback functions are implemented in a third party library.
I guess that is it quite close to what was implemented for the OpenMP
support, but I need something simpler.
Basically, how can I
- Add a pragma that identifies a block (i.e. scope) of code ?
- Add an action that f...
2010 Jun 05
1
rgl installation failure
...‘png_get_progressive_ptr’ was not declared in this
scope
pngpixmap.h:250: error: invalid conversion from ‘int’ to ‘const void*’
pngpixmap.h:250: error: initializing argument 2 of ‘void* memcpy(void*,
const void*, size_t)’
pngpixmap.h: In static member function ‘static void
PNGPixmapFormat::Load::end_callback(int, int)’:
pngpixmap.h:255: error: ‘png_get_progressive_ptr’ was not declared in this
scope
pngpixmap.h: In constructor ‘PNGPixmapFormat::Save::Save(FILE*, Pixmap*)’:
pngpixmap.h:306: error: ‘png_ptr’ was not declared in this scope
pngpixmap.h:307: error: ‘info_ptr’ was not declared in this scope...