diff options
author | Miodrag Milanovic <mmicko@gmail.com> | 2018-07-11 14:39:42 +0200 |
---|---|---|
committer | Miodrag Milanovic <mmicko@gmail.com> | 2018-07-11 14:39:42 +0200 |
commit | 09735694b28f9d1807dad5cb52232b4a40b48a77 (patch) | |
tree | b41569874fa2d87596de65b9364304d2fbe64ff0 /common | |
parent | 35216298d5538c0121ae98399518e8c82b7f7577 (diff) | |
download | nextpnr-09735694b28f9d1807dad5cb52232b4a40b48a77.tar.gz nextpnr-09735694b28f9d1807dad5cb52232b4a40b48a77.tar.bz2 nextpnr-09735694b28f9d1807dad5cb52232b4a40b48a77.zip |
Fixed MSVC build
Diffstat (limited to 'common')
-rw-r--r-- | common/nextpnr.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/common/nextpnr.h b/common/nextpnr.h index 0b41ff81..bf3a5c28 100644 --- a/common/nextpnr.h +++ b/common/nextpnr.h @@ -279,7 +279,7 @@ struct Context : Arch // -------------------------------------------------------------- - std::vector<GraphicElement> getFrameGraphics() const __attribute__ ((deprecated)) { + NPNR_DEPRECATED std::vector<GraphicElement> getFrameGraphics() const { std::vector<GraphicElement> ret; DecalXY decalxy = getFrameDecal(); ret = getDecalGraphics(decalxy.decal); @@ -292,7 +292,7 @@ struct Context : Arch return ret; } - std::vector<GraphicElement> getBelGraphics(BelId bel) const __attribute__ ((deprecated)) { + NPNR_DEPRECATED std::vector<GraphicElement> getBelGraphics(BelId bel) const { std::vector<GraphicElement> ret; DecalXY decalxy = getBelDecal(bel); ret = getDecalGraphics(decalxy.decal); @@ -305,7 +305,7 @@ struct Context : Arch return ret; } - std::vector<GraphicElement> getWireGraphics(WireId wire) const __attribute__ ((deprecated)) { + NPNR_DEPRECATED std::vector<GraphicElement> getWireGraphics(WireId wire) const { std::vector<GraphicElement> ret; DecalXY decalxy = getWireDecal(wire); ret = getDecalGraphics(decalxy.decal); @@ -318,7 +318,7 @@ struct Context : Arch return ret; } - std::vector<GraphicElement> getPipGraphics(PipId pip) const __attribute__ ((deprecated)) { + NPNR_DEPRECATED std::vector<GraphicElement> getPipGraphics(PipId pip) const { std::vector<GraphicElement> ret; DecalXY decalxy = getPipDecal(pip); ret = getDecalGraphics(decalxy.decal); |