File tree Expand file tree Collapse file tree 2 files changed +13
-14
lines changed Expand file tree Collapse file tree 2 files changed +13
-14
lines changed Original file line number Diff line number Diff line change @@ -8,14 +8,15 @@ NOTE: The 4.0.0 Release of SCons dropped Python 2.7 Support
8
8
NOTE: 4.3.0 now requires Python 3.6.0 and above. Python 3.5.x is no longer supported
9
9
10
10
RELEASE VERSION/DATE TO BE FILLED IN LATER
11
+
11
12
From Ataf Fazledin Ahamed:
12
13
- Use of NotImplemented instead of NotImplementedError for special methods
13
14
of _ListVariable class
14
-
15
+
15
16
From Joseph Brill:
16
- - Add an optional argument list string to configure's CheckFunc method so
17
- that the generated function argument list matches the function's
18
- prototype when including a header file. Fixes GH Issue #4320
17
+ - Fix issue #4320: add an optional argument list string to configure's CheckFunc
18
+ method so that the generated function argument list matches the function's
19
+ prototype when including a header file.
19
20
20
21
From Michał Górny:
21
22
- Remove unecessary dependencies on pypi packages from setup.cfg
@@ -25,7 +26,6 @@ RELEASE VERSION/DATE TO BE FILLED IN LATER
25
26
statement with stop flag enabled
26
27
27
28
28
-
29
29
RELEASE 4.6.0 - Sun, 19 Nov 2023 17:22:20 -0700
30
30
31
31
From Max Bachmann:
Original file line number Diff line number Diff line change @@ -3982,15 +3982,14 @@ char function_name(void);
3982
3982
</programlisting >
3983
3983
3984
3984
<para >
3985
- The optional <parameter >funcargs</parameter > can be defined to specify an argument list for the generated
3986
- function invocation.
3987
- </para >
3988
-
3989
- <para >
3990
- Note: if <parameter >header</parameter > is supplied,
3991
- and the function_name being called takes any parameters, appropriate values for those
3992
- function arguments should be supplied
3993
- by using the <parameter >funcargs</parameter >.
3985
+ If <parameter >header</parameter > is supplied, it should <emphasis >not</emphasis > include
3986
+ the standard header file that declares <parameter >function_name</parameter > and it
3987
+ <emphasis >should</emphasis > include a dummy prototype similar to the default case. If
3988
+ this is not possible, the optional <parameter >funcargs</parameter > argument can be used
3989
+ to specify a string containing an argument list with the same number and type of
3990
+ arguments as the prototype. The arguments can simply be constant values of the correct
3991
+ type. Modern C/C++ compilers reject implicit function declarations and may also reject
3992
+ function calls whose arguments are not type compatible with the prototype.
3994
3993
</para >
3995
3994
3996
3995
<para >
You can’t perform that action at this time.
0 commit comments