Ticket #6 (closed Problem: Solved)

Opened 3 years ago

Last modified 19 months ago

Switching between plain ./configure and ./configure --enable-debug requires make clean

Reported by: Christian Owned by: kreibich
Priority: Normal Milestone:
Component: Bro Version:
Keywords: Cc:

Description

We're not using config.h correctly, causing parts of the code to remain blind to changes to the generated config.h. This causes all kinds of build errors. The preferred way to do it is to have this at the beginning of each .cc:

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

Change History

comment:1 Changed 3 years ago by Christian

  • Owner set to Christian
  • Status changed from new to assigned

comment:2 Changed 3 years ago by kreibich

  • Owner changed from Christian to kreibich

comment:3 Changed 3 years ago by kreibich

  • Status changed from assigned to accepted

comment:4 Changed 19 months ago by seth

  • Status changed from accepted to closed
  • Resolution set to Solved

Closing due to move to CMake.

Note: See TracTickets for help on using tickets.