Hi, On Tuesday 04 August 2015 19:44:58 Larry Finger wrote: > On 08/04/2015 05:18 PM, Alessandro Suardi wrote: > > [...] > > However, back on topic - this testing uncovers a different build issue, > > that is, strreplace in newer kernels breaks Virtualbox build because > > of its third argument naming ("new") in string.h, and this choice isn't > > welcomed by G++ when parsing the kernel includes... > > > > I'm attaching the kernel-side bandaid I used to progress towards the > > brick wall of manual.pdf - but I don't know whether there are better > > preprocessor directives to use Virtualbox-side... this is nothing more > > than a heads-up :) > > Are you sure that is a kernel issue? I have been running 4.2-rxX kernels > since X=1, and I have never seen the problem. To me, that looks as if your > version of gcc++ is treating "new" as a restricted name. What version of > gcc++ are you using? Mine is 4.8.3.
Just try to build the VBox sources against Linux 4.2-rc5. See https://www.virtualbox.org/changeset/57184/vbox for a ``better'' hack :) Frank -- Dr.-Ing. Frank Mehnert | Software Development Director, VirtualBox ORACLE Deutschland B.V. & Co. KG | Werkstr. 24 | 71384 Weinstadt, Germany ORACLE Deutschland B.V. & Co. KG Hauptverwaltung: Riesstraße 25, D-80992 München Registergericht: Amtsgericht München, HRA 95603 Komplementärin: ORACLE Deutschland Verwaltung B.V. Hertogswetering 163/167, 3543 AS Utrecht, Niederlande Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697 Geschäftsführer: Alexander van der Ven, Astrid Kepper, Val Maher _______________________________________________ vbox-dev mailing list vbox-dev@virtualbox.org https://www.virtualbox.org/mailman/listinfo/vbox-dev