[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference turris::c_plus_plus

Title:C++
Notice:Read 1.* and use keywords (e.g. SHOW KEY/FULL KIT_CXX_VAX_VMS)
Moderator:DECCXX::AMARTIN
Created:Fri Nov 06 1987
Last Modified:Thu Jun 05 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:3604
Total number of notes:18242

3568.0. "Import a .glob value" by TAEC::SCHNEIDER () Tue May 13 1997 10:20

Hi,

In a C++ file, I want to access to a symbol defined in an assembler file
with the '.glob' directive.
If I import the symbol with the 'extern' directive, I don't
know the type of the symbol, so problem occurs...



Perhaps a pragma exists to do this, or any idea...


Thanks, Yves.
T.RTitleUserPersonal
Name
DateLines
3568.1DECCXL::OUELLETTEmudseason into blackfly seasonTue May 13 1997 18:196
What type would you like to access the symbol as?
If you want to fetch, say, a four byte integer, "extern int symbol;"
would be the right thing to do.  Could you post the relavent lines of
the .s file?  Also your proposed access from C++ would be useful to know.

Roland.