473,320 Members | 2,020 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

pragma for pointer size on windows?

Hey Guys:

I know there is a pragma (compiler directive) for pointer_size for gcc
on unix; does anyone know if there one on Windows (Visual Studio) too?

Thanks!
MickyG

Mar 29 '06 #1
3 1848

Micky G wrote:
Hey Guys:

I know there is a pragma (compiler directive) for pointer_size for gcc
on unix; does anyone know if there one on Windows (Visual Studio) too?


Not in this newsgroup.
http://www.parashift.com/c++-faq-lit...t.html#faq-5.9

A Visual Studio specific newsgroup is more likely to know. Perhaps
microsoft.public.vc.language or a group suggested in that FAQ.

Gavin Deane

Mar 29 '06 #2
Micky G wrote:
Hey Guys:

I know there is a pragma (compiler directive) for pointer_size for gcc
on unix; does anyone know if there one on Windows (Visual Studio) too?


I'm not sure what you are asking, what is a pragma for pointer size?
Can it change the size of the pointer? Does it tell you the size of a
pointer?

Try asking in a newsgroup that deals with Visual Studio, for things that
are Visual Studio Specific.

Ben Pope
--
I'm not just a number. To many, I'm known as a string...
Mar 29 '06 #3
Sorry guys... guess I didnt post my question in the right group.
Thanks to Gavin for pointing this out.

Thanks!
MickyG

Mar 29 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
by: Steven T. Hatton | last post by:
Stroustrup says this: http://www.research.att.com/~bs/bs_faq2.html#macro "So, what's wrong with using macros?" "And yes, I do know that there are things known as macros that doesn't...
23
by: Ken Turkowski | last post by:
The construct (void*)(((long)ptr + 3) & ~3) worked well until now to enforce alignment of the pointer to long boundaries. However, now VC++ warns about it, undoubtedly to help things work on 64...
2
by: risha | last post by:
#pragma CODE_SEG NON_BANKED unsigned char read8bSRAMlinear(unsigned long addr) { static unsigned char storedPage; static unsigned char calcPage; static unsigned int offset; static unsigned...
48
by: yezi | last post by:
Hi, all: I want to record some memory pointer returned from malloc, is possible the code like below? int memo_index; int i,j; char *tmp; for (i=0;i<10;i++){
5
by: Gustavo L. Fabro | last post by:
Greetings! Going directly to the point: myclass.h: //-------------------------------------- #pragma managed //Forward declaration
15
by: muttaa | last post by:
Hello all, I'm a beginner in C...May i like to know the difference between a #pragma and a #define.... Also,yet i'm unclear what a pragma is all about as i can find topics on it only in...
8
by: Steve Richter | last post by:
Is there an ANSI C or GNU C equivalent to the #pragma cancel_handler provided in IBM's ILE C compiler? ...
3
by: Oops-c++ | last post by:
All, I came to know that, we can define #pragma variables to share values between the processes. #pragma data_seg(".shared") var1 variable2 #pragma data_seg()
26
by: Rick | last post by:
I'm told that "#pragma once" has made it into the ISO standard for either C or C++. I can't find any reference to that anywhere. If it's true, do any of you have a reference I can use? ...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.