Re: Would I be violating the GPL?

From: Jan Engelhardt
Date: Thu Nov 17 2005 - 16:23:11 EST




Building for VMware Workstation 5.0.0.
Using 2.6.x kernel build system.
make -C /lib/modules/2.6.13-AS20/build/include/.. SUBDIRS=$PWD
SRCROOT=$PWD/. modules
CC [M] /usr/lib/vmware/modules/source/vmmon-only/linux/driver.o
CC [M] /usr/lib/vmware/modules/source/vmmon-only/linux/hostif.o
CC [M] /usr/lib/vmware/modules/source/vmmon-only/common/cpuid.o
CC [M] /usr/lib/vmware/modules/source/vmmon-only/common/hash.o
CC [M] /usr/lib/vmware/modules/source/vmmon-only/common/memtrack.o
CC [M] /usr/lib/vmware/modules/source/vmmon-only/common/phystrack.o
CC [M] /usr/lib/vmware/modules/source/vmmon-only/common/task.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for
Ada/C/ObjC but not for C++
cc1plus: warning: command line option
"-Werror-implicit-function-declaration" is valid for C/ObjC but not for C++
cc1plus: warning: command line option "-Wdeclaration-after-statement" is
valid for C/ObjC but not for C++
cc1plus: warning: command line option "-Wno-pointer-sign" is valid for
C/ObjC but not for C++
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for
Ada/C/ObjC but not for C++
cc1plus: warning: command line option "-ffreestanding" is valid for C/ObjC
but not for C++
include/asm/bitops.h: In function âint find_first_bit(const long unsigned
int*,
unsigned int)â:
include/asm/bitops.h:334: warning: comparison between signed and unsigned
integer expressions
[...]



>> It does, to a limited degree. Just look at the VMware vmmon/vmnet driver
>> sources.
>
>At least version 4.5.2 appears to be entirely c code to me. What looks
>like c++ to you in there?


Jan Engelhardt
--
| Alphagate Systems, http://alphagate.hopto.org/
| jengelh's site, http://jengelh.hopto.org/