3 Missing diagnostic on multiple declarations, some banked some not.
6 /*-------------------------------------------------------------------------
7 SDCCgen.c - source files for target code generation common functions
9 Copyright (C) 2019, Paul Chandler (SourceForge user under4mhz)
10 Copyright (C) 2022, Philipp Klaus Krause (SourceForge user spth)
12 This program is free software; you can redistribute it and/or modify it
13 under the terms of the GNU General Public License as published by the
14 Free Software Foundation; either version 2, or (at your option) any
17 This program is distributed in the hope that it will be useful,
18 but WITHOUT ANY WARRANTY; without even the implied warranty of
19 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 GNU General Public License for more details.
22 You should have received a copy of the GNU General Public License
23 along with this program; if not, write to the Free Software
24 Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
25 -------------------------------------------------------------------------*/
28 #if !defined(__SDCC_mcs51) && !defined(__SDCC_z80) && !defined(__SDCC_sm83)
33 typedef struct { char x
; } maths_point_i8
;
35 typedef maths_point_i8 PointType
;
37 typedef struct moongate_data
{
42 void MoongatePositionGet( unsigned char gate
, PointType
*position
) __banked
; /* IGNORE */
44 void MoongatePositionGet( unsigned char, PointType
*position
) __nonbanked
; /* ERROR(SDCC_mcs51|SDCC_z80|SDCC_sm83) */