You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdemultimedia/mpeglib/lib/splay/sigsev.c

30 lines
469 B

/*
No SegFault:
g++ -o sigsev.exe sigsevTest.cpp
SegFault:
g++ -o sigsev.exe -O6 sigsevTest.cpp
*/
#include <stdio.h>
#undef __NO_MATH_INLINES // <<<< Add this line
#define __NO_MATH_INLINES 1 // <<<< and this.
#include <math.h>
int main() {
printf("hello Martin test->main\n");
//pow(6.0,3.0);
float value;
value=cos(double(0));
printf("Wert: %f\n",value);
pow(6.0,3.0);
printf("hi:\n");
exit(0);
}