Commit graph

3,984 commits

Author SHA1 Message Date
Ian Lance Taylor
4c399718d0 [Go] Add -I $(SRCDIR) to CGO_CPPFLAGS. 2015-03-09 10:06:04 -07:00
Ian Lance Taylor
b1311b0d88 [Go] Use -I ../../.. instead of -I $(pwd) to see if this helps with
Travis.  (Travis is reporting failures that I can not recreate.)
2015-03-08 20:30:47 -07:00
Ian Lance Taylor
a6a9a89524 [Go] Fix overloading on an undefined type. 2015-03-06 17:51:30 -08:00
Ian Lance Taylor
9ad497c08e [Go] Add -cgo option, required for Go version 1.5 and later. 2015-03-02 14:03:33 -08:00
Ian Lance Taylor
40f5b1ecc6 [Go] Fixes so that the go_subdir_import test will work with gccgo. 2015-02-22 11:01:24 -08:00
Misha Seltzer
beed5f3479 Changed to using $() instead of ${} in the makefile for consistancy 2015-02-17 10:27:45 +02:00
Misha Seltzer
9e2c75c2a8 Fix running tests when the test build outputs are generated in a different folder. (Fixes Travis' test runs). 2015-02-17 10:27:45 +02:00
Misha Seltzer
fcf2b68e84 Fixed errors due to last sync. 2015-02-17 10:27:45 +02:00
Misha Seltzer
8da4d20308 Fixed SWIG go for cases when SWIG %import-s another package which is located in a subdirectory. 2015-02-17 10:27:45 +02:00
William S Fulton
f8491f8ab0 Merge branch 'clang-warning-fixes'
* clang-warning-fixes:
  Correct Examples makefile for guile
  Suppress clang warning in testcase
  preproc_constants warning suppression when using clang
  Warning suppression in li_std_vector_extra testcase for clang
  preproc_constants warning suppression when using clang
  Modify preproc testcase to remove clang warning
  Rename test warning suppressions when using clang
  primitive_types testcase improvement
2015-02-11 23:44:20 +00:00
William S Fulton
1ef899a57b Merge branch 'stricter-warnings'
* stricter-warnings:
  Go changes for wrappers to compile as ISO C90
  Scilab typecheck typemaps fix for C90
  No error for one Javascript node warning
  Warning fix in testcase for Javascript node
  nested_extend_c testcase fix when compiled by C++ target languages
  Temporarily remove -Werror for Scilab testing
  C90 fixes for Javascript JSC
  There are a couple of testcases that aren't compliant and supression via pragmas doesn't work for gcc < 4.8
  Warning suppression change
  Scilab typemap fixes for C89
  compiler warning suppression correction in testcase
  Suppress pedantic warnings in C# testcases
  Suppress pedantic warnings in testcases
  Pedantic warning fix in testcase
  pedantic warning fix for D wrappers
  Travis testing to use testflags.py for setting CFLAGS and CXXFLAGS
  Add travis build for error-declaration-after-statement branch
2015-02-11 23:33:26 +00:00
William S Fulton
ec9e347a07 Warning fix in testcase for Javascript node
Fix warning when using node to compile Javascript wrappers:
warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
2015-02-11 23:32:45 +00:00
William S Fulton
ed084f30f2 nested_extend_c testcase fix when compiled by C++ target languages
Javascript v8 and node compiles the wrappers as C++, fix this warning:
anonymous type with no linkage used to declare variable ‘<anonymous struct> THING’ with linkage
2015-02-11 23:32:45 +00:00
William S Fulton
a73a783fcd Warning suppression change
Earlier gcc (4.7) will warn about unknown warning pragmas!
-Wpedantic suppression is only available in 4.8 and later
2015-02-11 23:32:29 +00:00
William S Fulton
9402f14393 compiler warning suppression correction in testcase 2015-02-11 23:24:40 +00:00
William S Fulton
3a10bba9ee Suppress pedantic warnings in C# testcases 2015-02-11 23:24:40 +00:00
William S Fulton
ec1eac5b72 Suppress pedantic warnings in testcases 2015-02-11 23:24:40 +00:00
William S Fulton
a4ba9528b4 Pedantic warning fix in testcase 2015-02-11 23:24:39 +00:00
William S Fulton
c84838fded Correct Examples makefile for guile
C++ testcases were not rebuilding
2015-02-11 19:49:21 +00:00
William S Fulton
74f392ce9a Suppress clang warning in testcase
For Octave compiling preproc C test as C++ code:
Suppress: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand]
2015-02-11 19:29:39 +00:00
William S Fulton
5ba14168f7 preproc_constants warning suppression when using clang 2015-02-11 19:25:22 +00:00
Ian Lance Taylor
96134c65a8 Change Go test case to compile with current compiler.
Recent changes caused this to give an error about an unused variable.
2015-02-03 13:55:41 -08:00
William S Fulton
5c1558917b Warning suppression in li_std_vector_extra testcase for clang 2015-02-03 19:39:32 +00:00
William S Fulton
a831f39096 preproc_constants warning suppression when using clang
Suppresses:
  warning: use of logical '&&' with constant operand [-Wconstant-logical-operand]
2015-02-03 19:28:45 +00:00
William S Fulton
fd80e8d1e0 Modify preproc testcase to remove clang warning
Fix to get rid of:
warning: use of logical '&&' with constant operand [-Wconstant-logical-operand]
2015-02-03 18:41:20 +00:00
William S Fulton
29127cf014 Rename test warning suppressions when using clang
Suppresses:
warning: conversion function converting 'Space::ABC' to itself will never be used
2015-02-03 08:02:35 +00:00
William S Fulton
a5a86d2cc5 primitive_types testcase improvement
clang compiler highlighted that array comparisons are always true
2015-02-03 07:34:00 +00:00
William S Fulton
e44e3d3e39 Sun studio workaround for callback testcase 2015-02-01 00:56:28 +00:00
William S Fulton
f1213809a2 Fix python tests for old versions of Python 2015-01-31 17:39:36 +00:00
William S Fulton
76bcec1d87 Test-suite fixes for python -classic
These are mostly workarounds for static class members not being supported for
old style classes, as documented in Python.html, "C++ classes".
2015-01-31 15:04:35 +00:00
William S Fulton
760d603918 Warning and error fixes for Solaris Sun Studio compiler 2015-01-27 19:30:24 +00:00
William S Fulton
18058a9860 Cosmetic changes in a few test cases 2015-01-27 07:48:48 +00:00
William S Fulton
209ed1db66 Scilab testcase fix 2015-01-27 06:01:20 +00:00
William S Fulton
21b176f07f Fix preproc_line_file test 2015-01-26 22:35:17 +00:00
William S Fulton
ee4aa853b8 Fix 'not defined SWIGSCILAB' in testcases 2015-01-26 21:38:17 +00:00
William S Fulton
1fae569960 Add missing SWIGSCILAB in wrappers and fix unions test for non-scilab languages 2015-01-26 21:03:45 +00:00
Simon Marchetto
0544765abd remove -nobuilder option 2015-01-26 12:29:40 +01:00
Simon Marchetto
62c0dd9651 scilab: fix throw_exception test 2015-01-26 11:07:28 +01:00
Simon Marchetto
adc4b788df Merge remote-tracking branch 'origin/master' into gsoc2012-scilab
Conflicts:
	.gitignore
	.travis.yml
	configure.ac
2015-01-26 10:50:20 +01:00
William S Fulton
d3051c5b04 Merge branch 'ConroyJ-master'
* ConroyJ-master:
  Updated usage string for -cppcast/-nocppcast in octave.cxx
  Attempting fixes for Octave shared_ptr support
2015-01-22 20:06:55 +00:00
William S Fulton
bbca45174a Fix typo 2015-01-19 07:59:23 +00:00
William S Fulton
253c6e1163 Scilab makefile tidyup 2015-01-19 07:52:38 +00:00
William S Fulton
fb94b312e0 Fix incorrect flags being passed to javac on cygwin/mingw 2015-01-17 23:17:57 +00:00
William S Fulton
06fb68af5b Merge branch 'ptomulik-fix/py-object-const'
* ptomulik-fix/py-object-const:
  constant_directive_runme.py and classic classes
  additional fixes to %constant directive
  make %constant directive to work with structs/classes
2015-01-15 20:18:21 +00:00
William S Fulton
4d5333cb88 Merge branch 'leg0-bug_307'
* leg0-bug_307:
  C++11 strongly typed enum fixes for directors
  Fix #307.
2015-01-15 19:48:38 +00:00
William S Fulton
fd8dcf44bf C++11 strongly typed enum fixes for directors
Tests added for previous commit. Further refinements to patch #308 and
fixes #307.
2015-01-15 19:48:07 +00:00
William S Fulton
afba5b755a Fix Python default args when using kwargs
Recent default arg handling fixes didn't fix the case when kwargs is turned on
2015-01-15 07:54:36 +00:00
Olly Betts
ecf3ab5605 Disable director_thread_runme.php
This fails in a ZTS build of PHP.
2015-01-15 09:32:34 +13:00
Olly Betts
be4065531e Add suggestion to check block delimiter
The fix for #217 means that blocks of target code delimited by { } with
'#' comments in now give errors (previously these lines were quietly
discarded).

The fix is generally to use %{ %} delimiters instead, so suggest this
might be the issue in the error message to help users hitting this issue
with wrappers which were apparently working before.
2015-01-14 16:08:08 +13:00
Olly Betts
a2f803bb5a Add explanatory comment to pp_unknowndirective2.i 2015-01-14 16:00:40 +13:00