Changes

From Genome Analysis Wiki
Jump to navigationJump to search
865 bytes added ,  11:57, 3 March 2011
no edit summary
Line 39: Line 39:     
</pre>
 
</pre>
 +
* 3/3/11 - With older versions of gcc, Line 17 of statgen/lib/general/Makefile checks if the version is > 4.1.0 to determine whether or not to use the compile option -Wno-unused-result.  However, it is known that version 4.1.2 does not support that option either.  If you run into this problem, you can update to 4.2.0 or some higher number if that still does not support it
 +
** Solution: Update stagen/lib/general/Makefile line 17 to the following:
 +
<pre>
 +
WARNINGS+=$(shell if [ X$(CCVERSION) \> X4.2.0 ] ; then echo " -Wno-unused-result" ; fi)
 +
</pre>
 +
* 3/3/11 - With some compilers, GenomeSequence.cpp has a compile error: "GenomeSequence.cpp:552: warning: converting to `int' from `double'"
 +
** Solution: Update statgen/lib/general/GenomeSequence.cpp line 552 to the following:
 +
<pre>
 +
            newPercent = (int) (1.0 * fastaIndex / fastaDataSize) * 100;
 +
</pre>
 +
    
=== Troubleshooting ===
 
=== Troubleshooting ===

Navigation menu