Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Revert "Assert that the log categories are unique"
authorMartin Quinson <martin.quinson@ens-rennes.fr>
Mon, 25 Jan 2021 13:58:47 +0000 (14:58 +0100)
committerMartin Quinson <martin.quinson@ens-rennes.fr>
Mon, 25 Jan 2021 14:01:10 +0000 (15:01 +0100)
commit9304dfd37fe98984bb8b1ae13a107438ed44189f
tree7de0bff810b7cea506ebbeae70b00b9087fe69ea
parentbb9f614eb82d70f59bbbaf187cf9fe88571478e4
Revert "Assert that the log categories are unique"

The proposed method is not reliable, because when log categories are
not unique, there is 2 variables of the same name and 2 constructors
of the same name.

Redefinitions should thus be detected by the linker and we cannot fix
it reliably from our side.

I'll use less common category names in the library to reduce the risk
of conflict.

This reverts commit 7ca53b5ebe9b96f24832b6890a34e13599b254c2.
examples/c/io-disk-raw/io-disk-raw.c
examples/s4u/io-disk-raw/s4u-io-disk-raw.cpp
examples/smpi/replay/replay.cpp
examples/smpi/trace_call_location/trace_call_location.tesh
include/xbt/log.h
src/smpi/internals/smpi_global.cpp
src/xbt/log.cpp
teshsuite/smpi/gh-139/gh-139.tesh
teshsuite/smpi/pt2pt-dsend/pt2pt-dsend.tesh