From 09735694b28f9d1807dad5cb52232b4a40b48a77 Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Wed, 11 Jul 2018 14:39:42 +0200 Subject: Fixed MSVC build --- common/nextpnr.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'common/nextpnr.h') 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 getFrameGraphics() const __attribute__ ((deprecated)) { + NPNR_DEPRECATED std::vector getFrameGraphics() const { std::vector ret; DecalXY decalxy = getFrameDecal(); ret = getDecalGraphics(decalxy.decal); @@ -292,7 +292,7 @@ struct Context : Arch return ret; } - std::vector getBelGraphics(BelId bel) const __attribute__ ((deprecated)) { + NPNR_DEPRECATED std::vector getBelGraphics(BelId bel) const { std::vector ret; DecalXY decalxy = getBelDecal(bel); ret = getDecalGraphics(decalxy.decal); @@ -305,7 +305,7 @@ struct Context : Arch return ret; } - std::vector getWireGraphics(WireId wire) const __attribute__ ((deprecated)) { + NPNR_DEPRECATED std::vector getWireGraphics(WireId wire) const { std::vector ret; DecalXY decalxy = getWireDecal(wire); ret = getDecalGraphics(decalxy.decal); @@ -318,7 +318,7 @@ struct Context : Arch return ret; } - std::vector getPipGraphics(PipId pip) const __attribute__ ((deprecated)) { + NPNR_DEPRECATED std::vector getPipGraphics(PipId pip) const { std::vector ret; DecalXY decalxy = getPipDecal(pip); ret = getDecalGraphics(decalxy.decal); -- cgit v1.2.3