View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000562 | ascend | general | public | 2012-08-09 10:14 | 2013-02-26 13:42 |
Reporter | ben | ||||
Assigned To | john | ||||
Priority | normal | Severity | feature | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | x86 | OS | unix | OS Version | any |
Product Version | SVN | ||||
Target Version | 0.9.9 | Fixed in Version | |||
Summary | 0000562: color.h portability messed up | ||||
Description | color.h has a windows-only function signature that has no unix alternative provided correctly. Several places in the source, the windows signature is in use regardless of platform. e.g. ascend/utilities/error.c: In function ‘error_reporter_default_callback’: ascend/utilities/error.c:52: warning: assignment makes pointer from integer without a cast ascend/utilities/error.c:54: warning: assignment makes pointer from integer without a cast ascend/utilities/error.c:56: warning: assignment makes pointer from integer without a cast ascend/utilities/error.c:57: warning: assignment makes pointer from integer without a cast ascend/utilities/error.c:58: warning: assignment makes pointer from integer without a cast ascend/utilities/error.c:59: warning: assignment makes pointer from integer without a cast ascend/utilities/error.c:61: warning: assignment makes pointer from integer without a cast ascend/utilities/error.c:64: warning: passing argument 2 of ‘color_on’ makes integer from pointer without a cast ./ascend/general/color.h:71: note: expected ‘int’ but argument is of type ‘char *’ | ||||
Steps To Reproduce | run something that generates an error message from parse, compile, or solve (at least under tcltk). | ||||
Tags | No tags attached. | ||||
|
Ben Take a look at the version in the FPROPS2 branch which I did a little work with no so far back; perhaps this has some fixes that didn't get back to the code/trunk/ascend/general/color.c code? code/branches/fprops2/models/johnpye/fprops/color.c Cheers JP |
|
Ben -- please check to see if the above fix corrects the problem on your system. |
Date Modified | Username | Field | Change |
---|---|---|---|
2012-08-09 10:14 | ben | New Issue | |
2012-08-09 10:14 | ben | Status | new => assigned |
2012-08-09 10:14 | ben | Assigned To | => john |
2012-08-09 10:30 | john | Note Added: 0000893 | |
2012-08-09 10:31 | john | Note Edited: 0000893 | View Revisions |
2012-08-15 11:29 | svn | ||
2012-08-15 11:29 | svn | Status | assigned => resolved |
2012-08-15 11:29 | svn | Resolution | open => fixed |
2012-08-15 11:30 | john | Note Added: 0000902 | |
2013-02-26 13:42 | john | Target Version | => 0.9.9 |