Thread Ambiguous call resolved as CORE::close() (5 answers)
Opened by RalphFFM at 2007-04-11 17:16

rosti
 2019-01-30 10:44
#189664 #189664
User since
2011-03-19
3180 Artikel
BenutzerIn
[Homepage]
user image
Nein, kein Exporter. Und ja, es ist das innere time(), wenn das als CORE::time() notiert wird, ist die Warnung weg.

Wie gesagt, was dahintersteckt ist klar, aber so hatte ich das noch nicht. Für mich und meine Module jedoch der Anlass, die Klassenmethode nicht time() sondern new() zu nennen. Zumal ScaligerTime ohnehin von Scaliger erbt.

Es ist nur so, daß ich dieselbe Library auch in C entwickelt habe. Und da bleibts beim Namen time().

Code: (dl )
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
typedef struct SCA{
int jd; // Julianday
int day; // as created
int month; // wie erstellt
int year; // wie erstellt
int leap; // 1 || 0
char age; // G || J
int wd; // DoW Mo:1,, So:7
int hour;
int minute;
int second;
} SCA;


SCA *scaliger_day(int julianday);
SCA *scaliger_date(char age, int day, int month, int year);
SCA *scaliger_time(int secsince);




MfG

View full thread Ambiguous call resolved as CORE::close()