Hi, These errors are caused by redefinition in WinInet.h. Commenting out the definitions in get_net_conf.h should work with the command line compilation.
I had to make two dozens of changes, some like this, to build wengo-classic with VC++2005Express. But in the end, I didn't have the time to figure out how to have it run with a "manifest." Please let me know if you get lucky. Regards, Wei --- jérémie HUYGHE <[EMAIL PROTECTED]> wrote: > Hi all, > > When I compile phphi with >scons phapi, Compilation > failed, beause of this errors : > > C:\Program Files\Microsoft Visual Studio > 8\VC\PlatformSDK\Include\ws2tcpip.h(593 > ) : error C2632: 'int' followed by 'int' is illegal > C:\Program Files\Microsoft Visual Studio > 8\VC\PlatformSDK\Include\ws2tcpip.h(593 > ) : warning C4091: 'typedef ' : ignored on left of > 'int' when no variable is dec > lared > wifo\netlib\src\netlib.cpp(44) : error C2371: > 'AutoProxyHelperVtbl' : redefiniti > on; different basic types > C:\Program Files\Microsoft Visual Studio > 8\VC\PlatformSDK\Include\winine > t.h(3638) : see declaration of 'AutoProxyHelperVtbl' > wifo\netlib\src\netlib.cpp(48) : error C2371: > 'AutoProxyHelperFunctions' : redef > inition; different basic types > C:\Program Files\Microsoft Visual Studio > 8\VC\PlatformSDK\Include\winine > t.h(3666) : see declaration of > 'AutoProxyHelperFunctions' > wifo\netlib\src\netlib.cpp(54) : error C2371: > 'AUTO_PROXY_SCRIPT_BUFFER' : redef > inition; different basic types > C:\Program Files\Microsoft Visual Studio > 8\VC\PlatformSDK\Include\winine > t.h(3663) : see declaration of > 'AUTO_PROXY_SCRIPT_BUFFER' > c:\openwengo-ng\trunk\wifo\netlib\src\udp_func.h(17) > : > error C2632: 'int' follow > ed by 'int' is illegal > c:\openwengo-ng\trunk\wifo\netlib\src\udp_func.h(17) > : > warning C4091: 'typedef ' > : ignored on left of 'int' when no variable is > declared > scons: *** [debug\wifo\netlib\src\netlib.obj] Error > 2 > scons: building terminated because of errors. > > > I don't understant very well why, because "typedef > int > Socket;" seems to be a good syntax... > > Have you ever had this problem ? what do I do wrong > ? > > Thanks a lot > > regards > > > > > > > ___________________________________________________________________________ > > Nouveau : téléphonez moins cher avec Yahoo! > Messenger ! Découvez les tarifs exceptionnels pour > appeler la France et l'international. > Téléchargez sur http://fr.messenger.yahoo.com > _______________________________________________ > Wengophone-devel mailing list > [email protected] > http://dev.openwengo.com/mailman/listinfo/wengophone-devel > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com _______________________________________________ Wengophone-devel mailing list [email protected] http://dev.openwengo.com/mailman/listinfo/wengophone-devel
