[pso] Macrouri variadice in Windows DDK.

marius zbihlei mariuszbi at yahoo.com
Wed Aug 20 18:09:00 EEST 2008


Dupa cum afirma http://en.wikipedia.org/wiki/Variadic_macro , ele apar in VS 2005(cred ca e si prima incercare MS de a implementa C99 inclusiv cu int32_t etc). Cat despre ce foloseste DDK-ul cred ca poti sa te uiti in %PATH% sa vezi exact ce cl.exe e folosit.(Doar daca nu ai print bin/x86 un compilator de c).

As a workaround , poti folosi stdarg.h . 

NB Pentru C++ devs, standardul C++ nu zice nimic de variadic_macro si stdarg, cu toate ca suportat de compilatoare, nu merge decat pe POD-uri. 

P.S. Sorry pt top posting... yahoo sucks



----- Original Message ----
From: foxX <alex.mihaiuc at gmail.com>
To: Proiectarea Sistemelor de Operare <pso at cursuri.cs.pub.ro>
Sent: Wednesday, August 20, 2008 12:54:23 PM
Subject: Re: [pso] Macrouri variadice in Windows DDK.

PS.

Presimt ca ca in setupul curent din masina virtuala de 2003 Server
Standard Edition, DDK lucreaza cu visual studio 2003 si nu cu 2005-ul
instalat. Ma insel?


c:\program files\Microsoft Visual Studio 8\VC\bin>cl
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 14.00.50727.42 for 80x86
Copyright (C) Microsoft Corporation.  All rights reserved.

usage: cl [ option... ] filename... [ /link linkoption... ]

c:\WINDDK\3790.1830\bin\x86>cl.exe
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 13.10.4035 for 80x86
Copyright (C) Microsoft Corporation 1984-2002. All rights reserved.

usage: cl [ option... ] filename... [ /link linkoption... ]

-- 
kthxbai
_______________________________________________
pso mailing list
pso at cursuri.cs.pub.ro
http://cursuri.cs.pub.ro/cgi-bin/mailman/listinfo/pso



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://cursuri.cs.pub.ro/pipermail/pso/attachments/20080820/5b8ec2cb/attachment.html 


More information about the pso mailing list