Re: problem with fprintf and OpenMP

2014-05-15 Thread Jakub Jelinek
On Thu, May 15, 2014 at 08:01:13AM +0200, Siegmar Gross wrote: > I'm using gcc-4.9.0 and have a problem with the following program. > I have reported the problem allready on gcc-help some days ago, > but didn't get any replies. Perhaps somebody in this list knows, > if the behaviour is intended. Y

Re: problem with fprintf and OpenMP

2014-05-15 Thread Leif Leonhardy
On 15.05.2014 08:01, Siegmar Gross wrote: #include #include #include int main (void) { #pragma omp parallel default (none) fprintf (stderr, "Hello!\n"); return EXIT_SUCCESS; } I get the following error, when I try to compile the program on "Solaris 10 Sparc". tyr OpenMP 116 \gcc -

problem with fprintf and OpenMP

2014-05-14 Thread Siegmar Gross
Hi, I'm using gcc-4.9.0 and have a problem with the following program. I have reported the problem allready on gcc-help some days ago, but didn't get any replies. Perhaps somebody in this list knows, if the behaviour is intended. #include #include #include int main (void) { #pragma omp para