Overview
Comment:Suppresses [221] warnings (undefined symbols) in the code.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: 79413de245be5419c475f6dbd3fcdeb59c00227270c01ff23c28db7263720a2b
User & Date: gawthrop@users.sourceforge.net on 2001-10-29 13:53:09
Other Links: branch diff | manifest | tags
Context
2001-11-03
07:51:39
fflush() buffer before returning - ensures def.r is written to.,
required for either octave-2.1.35 or linux-2.4.12 (not sure which).
check-in: ae2ebf6ae4 user: geraint@users.sourceforge.net tags: origin/master, trunk
2001-10-29
13:53:09
Suppresses [221] warnings (undefined symbols) in the code. check-in: 79413de245 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
2001-10-26
01:01:49
fixcc when rdae_is_dae (-cr). check-in: ea6687ef53 user: geraint@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/bin/trans/mtt_p2c from [bd32d314e8] to [d5850baa69].

12
13
14
15
16
17
18




19
20
21
22
23
24
25
# Copyright (c) P.J.Gawthrop 1998

###############################################################
## Version control history
###############################################################
## $Id$
## $Log$




## Revision 1.11  2001/03/29 19:24:14  gawthrop
## Can now use c representations of crs when using -c option
##
## Revision 1.10  2000/09/15 09:01:41  peterg
## Updated internal comments
##
## Revision 1.9  2000/05/16 18:56:58  peterg







>
>
>
>







12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Copyright (c) P.J.Gawthrop 1998

###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.12  2001/04/11 07:36:10  gawthrop
## Now uses system_cr.h in place of system.h in .c rep -
##   compatible with older code
##
## Revision 1.11  2001/03/29 19:24:14  gawthrop
## Can now use c representations of crs when using -c option
##
## Revision 1.10  2000/09/15 09:01:41  peterg
## Updated internal comments
##
## Revision 1.9  2000/05/16 18:56:58  peterg
60
61
62
63
64
65
66





67
68
69
70
71
72
73
                info=info;
                ;;
	*)
		echo "$1 is an invalid argument - ignoring" ;;
  esac
  shift
done






# Inform user
echo Creating $1_$2.c

# Use p2c to do the translation 
p2c -V  $1_$2.p  | grep Warning # > mtt_p2c.log 2>> mtt_p2c.log
cat $1_$2.log >> mtt_p2c.log







>
>
>
>
>







64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
                info=info;
                ;;
	*)
		echo "$1 is an invalid argument - ignoring" ;;
  esac
  shift
done

## Create p2crc with various configs.
cat > p2crc <<EOF
EatNotes [221]   # No warning messages about symbols
EOF

# Inform user
echo Creating $1_$2.c

# Use p2c to do the translation 
p2c -V  $1_$2.p  | grep Warning # > mtt_p2c.log 2>> mtt_p2c.log
cat $1_$2.log >> mtt_p2c.log


MTT: Model Transformation Tools
GitHub | SourceHut | Sourceforge | Fossil RSS ]