Ticket #75 (closed defect: fixed)

Opened 5 years ago

Last modified 5 years ago

avahi configure.ac lacks a check for g++

Reported by: lennart Owned by: lathiat
Milestone: Avahi 0.6.17 Component: other
Keywords: Cc:

Description

summary says it all. if you try to compile avahi without c++ compiler, the build will fail although configured succeeded.

Attachments

avahi-cxxcheck.patch (0.6 kB) - added by tedp 5 years ago.
avahi-cxxcheck.2.patch (0.6 kB) - added by tedp 5 years ago.
avahi-ticket75-return0.patch (498 bytes) - added by tedp 5 years ago.
Test better C++ code - fixes configure failure when CXXFLAGS include -Werror

Change History

Changed 5 years ago by lathiat

  • owner changed from lennart to lathiat
  • status changed from new to assigned

Changed 5 years ago by lathiat

  • milestone set to Avahi 0.6.16

Changed 5 years ago by lathiat

  • milestone Avahi 0.6.16 deleted

Deferring

Changed 5 years ago by tedp

Changed 5 years ago by tedp

Changed 5 years ago by tedp

The two attachments are the same. They are my attempt at a patch for this report. It doesn't look nice (do autoconf scripts ever look nice?) but it seems to do the job.

Changed 5 years ago by lennart

  • milestone set to Avahi 0.6.17

Changed 5 years ago by lennart

  • status changed from assigned to closed
  • resolution set to fixed

Closed by r1356.

Thanks, tedp!

Changed 5 years ago by tedp

Test better C++ code - fixes configure failure when CXXFLAGS include -Werror

Changed 5 years ago by tedp

  • status changed from closed to reopened
  • resolution fixed deleted

Reopening until -Werror can be given in CXXFLAGS without configure failing. Patch avahi-ticket75-return0.patch supplied.

Changed 5 years ago by lennart

  • status changed from reopened to closed
  • resolution set to fixed

(In [1362]) Modify C++ testing code to pass when CXXFLAGS contains -Werror. (Closes #75) (BTW, -Werror is a call for trouble anyway due to differring gcc versions)

Note: See TracTickets for help on using tickets.