Skip to content

Header deprecation warnings #2

@mbojan

Description

@mbojan

I suspect these warnings are consequences of recent ergm changes. As they are deprecations, warnings will turn to errors at some point:

gcc -std=gnu2x -I"/opt/R/4.5.2/lib/R/include" -DNDEBUG  -I'/home/mbojan/R/library/4.5/ergm/include' -I/usr/local/include    -fpic  -g -O2  -c changestats.users.c -o changestats.users.o
In file included from changestats.users.h:13,
                 from changestats.users.c:10:
/home/mbojan/R/library/4.5/ergm/include/edgetree.h:11:9: note: ‘#pragma message: warning: The header file "edgetree.h" has been deprecated in favor of "ergm_edgetree.h" and may be removed in the future.’
   11 | #pragma message ("warning: The header file \"edgetree.h\" has been deprecated in favor of \"ergm_edgetree.h\" and may be removed in the future.")
      |         ^~~~~~~
In file included from changestats.users.h:14:
/home/mbojan/R/library/4.5/ergm/include/changestat.h:11:9: note: ‘#pragma message: warning: The header file "changestat.h" has been deprecated in favor of "ergm_changestat.h" and may be removed in the future.’
   11 | #pragma message ("warning: The header file \"changestat.h\" has been deprecated in favor of \"ergm_changestat.h\" and may be removed in the future.")
      |         ^~~~~~~

These two types referring to edgetree.h and changestat.h re-occur a few times.

Using GCC 13.3.0 and against ergm 4.12.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions