Branch: refs/heads/master
  Home:   https://github.com/synfig/synfig
  Commit: 687f788b8019680f0c0a70a8292e6699d20b941c
      
https://github.com/synfig/synfig/commit/687f788b8019680f0c0a70a8292e6699d20b941c
  Author: ice0 <konop...@gmail.com>
  Date:   2021-04-09 (Fri, 09 Apr 2021)

  Changed paths:
    M synfig-core/src/modules/mod_particle/plant.cpp
    M synfig-core/src/synfig/layer.cpp
    M synfig-core/src/synfig/layer.h
    M synfig-core/src/synfig/module.h

  Log Message:
  -----------
  [MSVC] Fixed unresolved external symbol error when building `lyr_std` (#2096)

Fixed: LNK2001 Unresolved external symbol "public: static char const *
 const synfig::Layer_Shape::name__"
- Global static symbols must be properly exported for the MSVC
 compiler to find them (functions are exported/imported automatically).

 Also there is a problem here to declare these symbols as
 imported/exported.
The base `Layer` class should export these fields, but the derived
`Layer_Shape` should import them from the `Base` class and
export them again.
So the simplest solution here is to switch from static symbols
to functions.




_______________________________________________
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl

Reply via email to