Mercurial > mxe-octave
annotate src/msvc-of-miscellaneous-1.patch @ 6113:24e29dcb2e64
Qt5: Update to version 5.15.3.
* src/qtbase.mk: Update version and checksum.
* src/qtbase-2-gcc11.patch: Remove hunks from patch that have been applied
upstream.
* src/qtimageformats.mk, src/qtsvg.mk, src/qttools.mk, src/qttranslationse.mk:
Update checksum.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Sat, 05 Mar 2022 10:59:53 +0100 |
parents | b799b3f81a1e |
children |
rev | line source |
---|---|
3344
b799b3f81a1e
[MSVC] Patch miscellaneous pkg to remove unsupported C99 syntax.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
1 diff -ur miscellaneous-1.0.11-orig/src/partarray.cc miscellaneous-1.0.11/src/partarray.cc |
b799b3f81a1e
[MSVC] Patch miscellaneous pkg to remove unsupported C99 syntax.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
2 --- miscellaneous-1.0.11-orig/src/partarray.cc 2011-02-25 08:33:33 +0000 |
b799b3f81a1e
[MSVC] Patch miscellaneous pkg to remove unsupported C99 syntax.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
3 +++ miscellaneous-1.0.11/src/partarray.cc 2011-08-28 21:37:56 +0100 |
b799b3f81a1e
[MSVC] Patch miscellaneous pkg to remove unsupported C99 syntax.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
4 @@ -18,6 +18,7 @@ |
b799b3f81a1e
[MSVC] Patch miscellaneous pkg to remove unsupported C99 syntax.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
5 */ |
b799b3f81a1e
[MSVC] Patch miscellaneous pkg to remove unsupported C99 syntax.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
6 |
b799b3f81a1e
[MSVC] Patch miscellaneous pkg to remove unsupported C99 syntax.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
7 #include <octave/oct.h> |
b799b3f81a1e
[MSVC] Patch miscellaneous pkg to remove unsupported C99 syntax.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
8 +#include <octave/oct-locbuf.h> |
b799b3f81a1e
[MSVC] Patch miscellaneous pkg to remove unsupported C99 syntax.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
9 #include <octave/ov-struct.h> |
b799b3f81a1e
[MSVC] Patch miscellaneous pkg to remove unsupported C99 syntax.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
10 |
b799b3f81a1e
[MSVC] Patch miscellaneous pkg to remove unsupported C99 syntax.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
11 template<class NDA> |
b799b3f81a1e
[MSVC] Patch miscellaneous pkg to remove unsupported C99 syntax.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
12 @@ -43,7 +44,8 @@ |
b799b3f81a1e
[MSVC] Patch miscellaneous pkg to remove unsupported C99 syntax.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
13 Array<int> nidx (dim_vector (maxdims, 1)); |
b799b3f81a1e
[MSVC] Patch miscellaneous pkg to remove unsupported C99 syntax.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
14 // Octave-3.2.4 reports "missing symbol" with Array<Array< > >, |
b799b3f81a1e
[MSVC] Patch miscellaneous pkg to remove unsupported C99 syntax.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
15 // though 3.3.54+ does not |
b799b3f81a1e
[MSVC] Patch miscellaneous pkg to remove unsupported C99 syntax.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
16 - Array<octave_idx_type> bidc [maxdims], eidc [maxdims]; |
b799b3f81a1e
[MSVC] Patch miscellaneous pkg to remove unsupported C99 syntax.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
17 + OCTAVE_LOCAL_BUFFER (Array<octave_idx_type>, bidc, maxdims); |
b799b3f81a1e
[MSVC] Patch miscellaneous pkg to remove unsupported C99 syntax.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
18 + OCTAVE_LOCAL_BUFFER (Array<octave_idx_type>, eidc, maxdims); |
b799b3f81a1e
[MSVC] Patch miscellaneous pkg to remove unsupported C99 syntax.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
19 // |
b799b3f81a1e
[MSVC] Patch miscellaneous pkg to remove unsupported C99 syntax.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
20 Array<octave_idx_type> step (dim_vector (maxdims, 1)); |
b799b3f81a1e
[MSVC] Patch miscellaneous pkg to remove unsupported C99 syntax.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
21 step(0) = 1; |