Dmitry, thanks for a good advice about :option:. Fixed patch is in the attach.

----- Original Message -----
From: Dmitri Gribenko
Sent: 12/18/12 07:19 PM
To: Alexey Bataev
Subject: Re: [cfe-commits] [PATCH] First OpenMP patch

 On Tue, Dec 18, 2012 at 4:49 PM, Alexey Bataev <[email protected]> wrote: > 
Hello everyone, > Thank you very much for comments. I agree, that we should 
prepare some > design description document. I'll try to prepapre it as soon as 
possible. > I nthe meantime, I've prepared a new patch which emits warning when 
-fopenmp > option is found and changed doc file from html to rst. +Using of 
OpenMP +=============== "Using OpenMP" or "Enabling OpenMP" or "Command line 
flags for OpenMP" might be better + +To start using OpenMP in your program you 
need to add OpenMP directives in +your code and specify compile-time flag 
**-fopenmp**. If an OpenMP program +is compiled witout flag **-fopenmp**, a 
warning will be generated for the first Please use ``a monospaced font`` or a 
special role :option:`-fopenmp` to refer to program options. Dmitri -- 
main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if 
(j){printf("%d\n",i);}}} /*Dmitri Gribenko <[email protected]>*/

Attachment: patch.p
Description: Attachment: patch.p

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to