[Bioc-devel] Use of "//" comments in C code

Seth Falcon sfalcon at fhcrc.org
Tue Aug 30 19:21:04 CEST 2005


Hi all,

For those of you who maintain a packge that includes C code, you might
want to consider limiting yourself to standard C comments "/* */".  

The Portland Group compilers don't like the C++ style comments in C
code as a user interested in compiling simpleaffy just found out:
https://stat.ethz.ch/pipermail/r-devel/2005-August/034427.html

Packages that contain .c or .h files with C++ style comments:

    simpleaffy             exprDB    
    makecdfenv             Rgraphviz 
    affyxparser            plier     
    makePlatformDesign     oligo     
    affyPLM                GeneR     
    mmgmos                 xcms      
    oligo                  rama      
    Rredland               affy      
    RSGM                   GLAD      

At this point, there is no requirement to change, but it will make
your code more portable.

Best,

+ seth



More information about the Bioc-devel mailing list