Changeset 09a0bd4a in mainline for tools/checkers/vcc.py
- Timestamp:
- 2010-06-24T13:00:16Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 2d03471, 33c4f72
- Parents:
- e821e49
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tools/checkers/vcc.py
re821e49 r09a0bd4a 59 59 args = ['gcc', '-E'] 60 60 args.extend(options.split()) 61 args. append(srcfname)61 args.extend(['-DCONFIG_VERIFY_VCC=1', srcfname]) 62 62 63 63 # Change working directory … … 69 69 70 70 tmpf = file(tmpfname, "w") 71 72 tmpf.write("__specification(const char * const \\declspec_atomic_inline;)\n\n"); 73 74 tmpf.write("#define __spec_attr(key, value) \\\n"); 75 tmpf.write(" __declspec(System.Diagnostics.Contracts.CodeContract.StringVccAttr, \\\n"); 76 tmpf.write(" key, value)\n\n"); 71 77 72 78 for line in preproc.splitlines(): … … 149 155 # Run Vcc 150 156 print " -- %s --" % srcfname 151 retval = subprocess.Popen([vcc_path, cygpath(tmpfqname)]).wait()157 retval = subprocess.Popen([vcc_path, '/pointersize:32', cygpath(tmpfqname)]).wait() 152 158 153 159 if (retval != 0):
Note:
See TracChangeset
for help on using the changeset viewer.