Mantis Bugtracker

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000019 [MyDNS-NG] Global minor always 2009-04-22 15:41 2009-06-28 12:13
Reporter owaldheim View Status public  
Assigned To howardwilkinson
Priority normal Resolution open Platform
Status acknowledged   OS
Projection none   OS Version
ETA none Fixed in Version Product Version 1.2.8
  Target Version Product Build
Summary 0000019: Syntax error in mydnsutil.h
Description In file lib/mydnsutil.h, line 539:

#if !HAVE_INET_NTOP
extern const char extern char *sql_errmsg(MYSQL *);
*inet_ntop(int, const void *, char *, unsigned int);
#endif

results in:

mydnsutil.h:540: error: syntax error before '*' token
mydnsutil.h:540: error: two or more data types in declaration of `sql_errmsg'
mydnsutil.h:540: error: duplicate `extern'
mydnsutil.h:541: error: conflicting types for 'inet_ntop'
Steps To Reproduce
Additional Information I changed it to:

#if !HAVE_INET_NTOP
extern char *sql_errmsg(MYSQL *);
extern const char *inet_ntop(int, const void *, char *, unsigned int);
#endif

and got still error (I´m using postgres):

mydnsutil.h:540: error: syntax error before '*' token

and changed it to:

#if !HAVE_INET_NTOP
extern char *sql_errmsg(PGconn *);
extern const char *inet_ntop(int, const void *, char *, unsigned int);
#endif

but correct should be a #if USE_PGSQL / #else construction.
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0000075)
howardwilkinson (administrator)
2009-06-28 12:13

Will push a fix for this to 1.2.8.28 and 1.2.9.0


- Issue History
Date Modified Username Field Change
2009-04-22 15:41 owaldheim New Issue
2009-05-03 12:08 jorge Status new => assigned
2009-05-03 12:08 jorge Assigned To => howardwilkinson
2009-06-28 12:13 howardwilkinson Note Added: 0000075
2009-06-28 12:13 howardwilkinson Status assigned => acknowledged


Mantis 1.1.6[^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker