[Bioc-devel] Newbie Question - How to submit patches
Byron Ellis
ellis at stat.harvard.edu
Thu Oct 13 21:32:39 CEST 2005
Local variable declarations are part of the ISO C99 spec (and,
generally speaking, a good idea IMHO). It may be that you just need
to toss in a compiler switch. Also, why do you need to malloc them?
On Oct 13, 2005, at 12:11 PM, Paul Gordon wrote:
> Hi all,
>
> I just subscribed to this list today, so sorry if my question is
> naive.
> I have dowloaded and compiled R with Sun's Workshop Pro compiler to
> optimize my performance (I find it's about 30-40% faster than gcc with
> optimization flags), and hence it tries to compile new packages
> (such as
> those in Bioconductor) with the Sun's cc too. I have found that some
> packages (including established ones like genefilter and gcrma) have C
> files that compile under gcc, but don't strictly adhere to the C spec,
> and hence don't compile for me. More specifically, gcc lets you
> declare
> variable in the middle of a function, but the C spec doesn't (in C+
> + you
> can, but these source files are not flagged as C++). I've created
> patches for the few source files affected (using malloc() to
> dynamically
> create these arrays), but how should I submit these? Am I the first
> person not using gcc under Unix?
>
> Thanks in advance for your input,
>
> Paul Gordon
>
> _______________________________________________
> Bioc-devel at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/bioc-devel
>
---
Byron Ellis (ellis at stat.harvard.edu)
"Oook" -- The Librarian
More information about the Bioc-devel
mailing list