add 'availability' infos to both wxMethod and wxClass: in this way ifacecheck does not warn about methods documented to be available only for port X, which are missing from the gcc XML, if the gcc XML was produced for a port different than X; this requires @onlyfor ALIAS to output <onlyfor> tags in the XML output
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52863 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -34,7 +34,7 @@ me=$(basename $0)
|
||||
path=${0%%/$me}
|
||||
current=$(pwd) # current path
|
||||
|
||||
gccxmloutput="$current/$gccxmloutput"
|
||||
#gccxmloutput="$current/$gccxmloutput"
|
||||
|
||||
cd @top_srcdir@/include # go to wx include folder
|
||||
|
||||
@@ -61,13 +61,13 @@ flags=`echo "$flags" | sed -e 's/-pthread//g' | sed -e 's/__WXDEBUG__//g'`
|
||||
flags="-I . -I @top_srcdir@/include $flags -D__WXDEBUG__ -D__WX@TOOLKIT@__ -DWXBUILDING $allheaders"
|
||||
|
||||
# run gccxml with the same flag used for the real compilation of wx sources:
|
||||
echo "Running gccxml on the $allheaders file..."
|
||||
echo "Running gccxml on the $allheaders file... results in $gccxmloutput"
|
||||
if [[ -f "$gccxmloutput" ]]; then rm $gccxmloutput; fi
|
||||
gccxml $flags -fxml=$gccxmloutput
|
||||
|
||||
# now get the list of the #defined values for wx headers, so that the result
|
||||
# can be passed to ifacecheck to aid the comparison
|
||||
echo "Running gccxml's preprocessor on the $allheaders file..."
|
||||
echo "Running gccxml's preprocessor on the $allheaders file... results in $preprocoutput"
|
||||
gccxml -E -dM $flags >$preprocoutput
|
||||
|
||||
# cleanup
|
||||
|
Reference in New Issue
Block a user