[prev in list] [next in list] [prev in thread] [next in thread] 

List:       vbox-dev
Subject:    Re: [vbox-dev] svn : VirtualBoxImpl.cpp needs stdio.h
From:       "Antonio Augusto (Mancha)" <mkhaos7 () gmail ! com>
Date:       2009-04-30 17:39:14
Message-ID: 4c6e034d0904301039i4cf8e3f9u48768095682f8ee2 () mail ! gmail ! com
[Download RAW message or body]

On Thu, Apr 30, 2009 at 13:25, sean darcy <seandarcy2@gmail.com> wrote:
> 
> Building svn 19272 on Fedora 11, gcc-4.4:
> 
> /home/vbox/rpmbuild/BUILD/vbox/src/VBox/Main/VirtualBoxImpl.cpp:1987: error: \
> 'printf' was not declared in this scope 
> but stdio.h is commented out in line 75. Uncommenting it allows svn to build.
> 
> I assume stdio is not needed for gcc < 4.4 , but is there any reason not to leave \
> it in? 
> sean

Some compilers (or even some compilations of some compilers)
automatically implicitly add "default" stuff to every build you do.
Maybe the version of gcc that you are using is not one of these, but
the version the guys at Sun are using is.
Any way... the line that adds stdio should be uncommented for good
since this is non default behavior (For what I know).

Cheers

_______________________________________________
vbox-dev mailing list
vbox-dev@virtualbox.org
http://vbox.innotek.de/mailman/listinfo/vbox-dev


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic