• Ansgar Burchardt's avatar
    [!118] move `COMPARE_RECORD` into UGDIM namespace · 57febf21
    Ansgar Burchardt authored
    Merge branch 'cleanup/move-COMPARE_RECORD-into-UGDIM-namespace' into 'master'
    
    ref:staging/dune-uggrid This silences a compiler warning from GCC when
    building programs with LTO where GCC sees two definitions of COMPARE_RECORD
    (for 2d and for 3d):
    
        ../gm/refine.cc:3450:8: warning: type ‘struct compare_record’ violates the C++ One Definition Rule [-Wodr]
        ../gm/refine.cc:3450:8: note: a different type is defined in another translation unit
        ../gm/refine.cc:3453:12: note: the first difference of corresponding definitions is field ‘elem’
        ../gm/refine.cc:3453:12: note: a field of same name but different type is defined in another translation unit
        ../ug/gm.h:1644:24: note: type ‘union ELEMENT’ should match type ‘union ELEMENT’
    
    See merge request [!118]
    
      [!118]: gitlab.dune-project.org/staging/dune-uggrid/merge_requests/118
    57febf21
Name
Last commit
Last update
cmake/modules Loading commit data...
dev Loading commit data...
doc Loading commit data...
dom Loading commit data...
dune Loading commit data...
gm Loading commit data...
lib Loading commit data...
low Loading commit data...
np Loading commit data...
parallel Loading commit data...
ug Loading commit data...
ui Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
CHANGELOG.md Loading commit data...
CMakeLists.txt Loading commit data...
COPYING Loading commit data...
COPYING.LGPL-2.1 Loading commit data...
config.h.cmake Loading commit data...
dune-uggrid.pc.in Loading commit data...
dune.module Loading commit data...
initug.cc Loading commit data...
initug.h Loading commit data...
libug.pc.in Loading commit data...
mainpage.doc Loading commit data...
ug-config-version.cmake.in Loading commit data...
ug-config.cmake.in Loading commit data...
ug.doc Loading commit data...