VirtualBox

source: vbox/trunk/src/VBox/Main/webservice/soap-header-strip-inline.sed@ 84347

Last change on this file since 84347 was 83223, checked in by vboxsync, 5 years ago

webservice: Strip inline functions from soapH.h and put them in separate C++ files to speed up compilation and avoid gcc 9.2+ internal compiler error. This avoid having to compile soapC.cpp in one go with gcc 9.2+ and waste ages waiting for that to complete (yeah, even with -O0 that takes forever).

  • Property svn:eol-style set to LF
  • Property svn:keywords set to Author Date Id Revision
File size: 728 bytes
Line 
1# $Id: soap-header-strip-inline.sed 83223 2020-03-06 14:41:03Z vboxsync $
2## @file
3# WebService - SED script for stripping inlined bodies from soapH.h.
4#
5
6#
7# Copyright (C) 2020 Oracle Corporation
8#
9# This file is part of VirtualBox Open Source Edition (OSE), as
10# available from http://www.virtualbox.org. This file is free software;
11# you can redistribute it and/or modify it under the terms of the GNU
12# General Public License (GPL) as published by the Free Software
13# Foundation, in version 2 as it comes in the "COPYING" file of the
14# VirtualBox OSE distribution. VirtualBox OSE is distributed in the
15# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
16#
17
18/^inline /,/^}/ {
19 /^inline/,/^{/ {
20 s/^inline/\/\*noinline\*\//
21 s/^{.*/;/
22 p
23 }
24 d
25}
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette