Ticket #119 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

Authoritative server with --enable-verbose-logging fails to compile.

Reported by: anon Assigned to: somebody
Priority: normal Milestone:
Component: component1 Version:
Severity: normal Keywords:
Cc: augie.schwer@gmail.com

Description

Authoritative server with --enable-verbose-logging fails to compile on both:

gcc (GCC) 4.0.1 (4.0.1-5mdk for Mandriva Linux release 2006.0) and gcc (GCC) 3.4.6 20060404 (Red Hat 3.4.6-3)

Neither like the reinterpret_cast :

../../dnspacket.cc: In member function `void DNSPacket::truncate(int)':
../../dnspacket.cc:1130: error: invalid reinterpret_cast from type `ComboAddress' to type `sockaddr_in*'
make[4]: *** [dnspacket.o] Error 1

Reproducible like so:

svn co svn://svn.powerdns.com/pdns/trunk/pdns pdns ;
cd pdns ;
./bootstrap ;
./configure --enable-verbose-logging && make ;

Attachments

pdns_server-enable-verbose-logging.patch (1.7 kB) - added by anon on 01/02/07 20:32:20.
Patch fixes --enable-verbose-logging compile option.

Change History

01/02/07 20:32:20 changed by anon

  • attachment pdns_server-enable-verbose-logging.patch added.

Patch fixes --enable-verbose-logging compile option.

01/14/07 14:15:59 changed by ahu

  • status changed from new to closed.
  • resolution set to fixed.

Thanks for the patch!