From 5e1f559b6e460fb33d6569b00e676d37db0a17ac Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Mon, 3 Feb 2025 13:27:22 -0700 Subject: [PATCH] Add a changelog entry. --- .../incompatibilities/20250203Bangerth | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 doc/news/changes/incompatibilities/20250203Bangerth diff --git a/doc/news/changes/incompatibilities/20250203Bangerth b/doc/news/changes/incompatibilities/20250203Bangerth new file mode 100644 index 0000000000..feadfc62bd --- /dev/null +++ b/doc/news/changes/incompatibilities/20250203Bangerth @@ -0,0 +1,20 @@ +Changed: Every deal.II header file includes the deal.II header +`deal.II/base/config.h` that contains some basic configuration +information such as what deal.II version is being used, whether +deal.II was configured with Trilinos/PETSc/... support, etc. In turn, +`config.h` included `deal.II/base/types.h` and +`deal.II/base/numbers.h`, making the contents of these latter two +files available throughout deal.II. + +For conceptual reasons, for example to support C++20 modules in the +long run, the `deal.II/base/config.h` file must stand separate from +the rest of the deal.II header files. As a consequence, it can no +longer have includes for other deal.II header files (namely, +`deal.II/base/types.h` and `deal.II/base/numbers.h` as mentioned +above), and no longer does so now. If your code requires knowledge of +the contents of `deal.II/base/types.h` and `deal.II/base/numbers.h`, +you will have to explicitly include these files like you do with any +other deal.II header file already. + +
+(Wolfgang Bangerth, 2024/01/16) -- 2.39.5