[m-dev.] for review: update c_coding_guidelines.html

Warwick Harvey wharvey at cs.monash.edu.au
Wed Feb 9 18:10:49 AEDT 2000


Fergus wrote:
> --- c_coding_standard.html.old	Wed Feb  9 15:14:25 2000
> +++ c_coding_standard.html	Wed Feb  9 15:19:01 2000
> @@ -112,7 +112,19 @@
>  <li>	#defines 
>  </ul>
>  
> -Note also that every header should be protected against multiple inclusion
> +However, it probably more important to group items

s/it/it is/

> +which are conceptually related than to follow this
> +order strictly.  Also note that #defines which define
> +configuration macros used for conditional compilation
> +or which define constants that are used for array sizes
> +will need to come before the code that uses them.
> +But in general configuration macros should be isolated
> +in separate files (e.g. runtime/mercury_conf.h.in
> +and runtime/mercury_conf_param.h) and fixed-length limits
> +should be avoided, so those cases should not arise much.

s/much/often/  ?

Warwick

--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to:       mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions:          mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------



More information about the developers mailing list