Summary: | does not compile using konstruct engine | ||
---|---|---|---|
Product: | [Applications] kstars | Reporter: | Bruce Miller <bugs> |
Component: | general | Assignee: | kstars |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Bruce Miller
2004-04-20 20:54:15 UTC
Bug is now fixed. The CVS log is appended below: CVS commit by harris: Fixing bug #80019 (compile error in indi). Some pointers were declared const, but then their data was modified. This only causes a warning for some versions of gcc, but throws an error on other versions. CCMAIL: kstars-devel@kde.org CCMAIL: xavier114fch@hotmail.com M +3 -3 indidevapi.h 1.4 M +3 -3 indidrivermain.c 1.7 --- kdeedu/kstars/kstars/indi/indidevapi.h #1.3:1.4 @@ -156,7 +156,7 @@ extern ISwitch *IUFindOnSwitch (const IS extern void IUResetSwitches(const ISwitchVectorProperty *svp); -extern int IUUpdateSwitches(const ISwitchVectorProperty *svp, ISState *states, char *names[], int n); +extern int IUUpdateSwitches(ISwitchVectorProperty *svp, ISState *states, char *names[], int n); -extern int IUUpdateNumbers(const INumberVectorProperty *nvp, double values[], char *names[], int n); +extern int IUUpdateNumbers(INumberVectorProperty *nvp, double values[], char *names[], int n); /* function to reliably save new text in a IText */ --- kdeedu/kstars/kstars/indi/indidrivermain.c #1.6:1.7 @@ -547,5 +547,5 @@ IUResetSwitches(const ISwitchVectorPrope /* Update property switches in accord with states and names. */ int -IUUpdateSwitches(const ISwitchVectorProperty *svp, ISState *states, char *names[], int n) +IUUpdateSwitches(ISwitchVectorProperty *svp, ISState *states, char *names[], int n) { int i=0; @@ -572,5 +572,5 @@ IUUpdateSwitches(const ISwitchVectorProp /* Update property numbers in accord with values and names */ -int IUUpdateNumbers(const INumberVectorProperty *nvp, double values[], char *names[], int n) +int IUUpdateNumbers(INumberVectorProperty *nvp, double values[], char *names[], int n) { int i=0; CVS commit by harris: Fixing bug #80019 (compile error in indi). Some pointers were declared const, but then their data was modified. This only causes a warning for some versions of gcc, but throws an error on other versions. CCMAIL: kstars-devel@kde.org CCMAIL: xavier114fch@hotmail.com M +3 -3 indidevapi.h 1.4 M +3 -3 indidrivermain.c 1.7 --- kdeedu/kstars/kstars/indi/indidevapi.h #1.3:1.4 @@ -156,7 +156,7 @@ extern ISwitch *IUFindOnSwitch (const IS extern void IUResetSwitches(const ISwitchVectorProperty *svp); -extern int IUUpdateSwitches(const ISwitchVectorProperty *svp, ISState *states, char *names[], int n); +extern int IUUpdateSwitches(ISwitchVectorProperty *svp, ISState *states, char *names[], int n); -extern int IUUpdateNumbers(const INumberVectorProperty *nvp, double values[], char *names[], int n); +extern int IUUpdateNumbers(INumberVectorProperty *nvp, double values[], char *names[], int n); /* function to reliably save new text in a IText */ --- kdeedu/kstars/kstars/indi/indidrivermain.c #1.6:1.7 @@ -547,5 +547,5 @@ IUResetSwitches(const ISwitchVectorPrope /* Update property switches in accord with states and names. */ int -IUUpdateSwitches(const ISwitchVectorProperty *svp, ISState *states, char *names[], int n) +IUUpdateSwitches(ISwitchVectorProperty *svp, ISState *states, char *names[], int n) { int i=0; @@ -572,5 +572,5 @@ IUUpdateSwitches(const ISwitchVectorProp /* Update property numbers in accord with values and names */ -int IUUpdateNumbers(const INumberVectorProperty *nvp, double values[], char *names[], int n) +int IUUpdateNumbers(INumberVectorProperty *nvp, double values[], char *names[], int n) { int i=0; _______________________________________________ Kstars-devel mailing list Kstars-devel@kde.org https://mail.kde.org/mailman/listinfo/kstars-devel |