473,387 Members | 1,495 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,387 software developers and data experts.

Clarification of the scope of this group

I was advised in a recent thread that, because one of the compilers that I
use does not support 'namespace', I should not use this group but ask
elsewhere; perhaps comp.lang.c++.but_without_namespace'? What's the general
consensus?

Tim
Jul 22 '05 #1
17 1309
Tim Clacy wrote:
I was advised in a recent thread that, because one of the compilers
that I use does not support 'namespace', I should not use this group
but ask elsewhere; perhaps comp.lang.c++.but_without_namespace'?
What's the general consensus?


We talk about everything that is mentioned in the C++ standard, nothing
more, nothing less. If your compiler does not support namespaces advice
about how to circumvent that falls out of the domain of Standard C++ and
into the domain of compiler-specific issues, which are not topical here.
Instead you should ask in a group where your compiler is topical.

--
Unforgiven

"Most people make generalisations"
Freek de Jonge

Jul 22 '05 #2
Unforgiven wrote:
Tim Clacy wrote:
I was advised in a recent thread that, because one of the compilers
that I use does not support 'namespace', I should not use this group
but ask elsewhere; perhaps comp.lang.c++.but_without_namespace'?
What's the general consensus?
We talk about everything that is mentioned in the C++ standard,


THE C++ standard? My understanding is that even VC 7.0 and gcc aren't
compliant in all respects. Are you suggesting that this group is purely for
abstract, theoretical language issues and not practical issues with actual
language implementations?
nothing more, nothing less. If your compiler does not support
namespaces advice about how to circumvent that falls out of the
domain of Standard C++ and into the domain of compiler-specific
issues, which are not topical here. Instead you should ask in a group
where your compiler is topical.

Jul 22 '05 #3
Unforgivable wrote:
If your compiler does not support namespaces advice about how
to circumvent that falls out of the domain of Standard C++ and
into the domain of compiler-specific issues


I've lost count of the number of times I've read advice to avoid
'namespace', and yet here you are suggesting that to ask a question here
related to a workaround for a compiler that doesn't support namespace is
inappropriate; effectively, you are saying 'don't use namespace', but if you
need to use 'namespace' and you're compiler doesn't support it, then ask
elsewhere :-)
Jul 22 '05 #4
Tim Clacy wrote:
Unforgivable wrote:
If your compiler does not support namespaces advice about how
to circumvent that falls out of the domain of Standard C++ and
into the domain of compiler-specific issues


I've lost count of the number of times I've read advice to avoid
'namespace', and yet here you are suggesting that to ask a question
here related to a workaround for a compiler that doesn't support
namespace is inappropriate; effectively, you are saying 'don't use
namespace', but if you need to use 'namespace' and you're compiler
doesn't support it, then ask elsewhere :-)


I have never said 'don't use namespace'. I'd also say that if you *need* to
use namespace and your compiler doesn't support it, you need a different
compiler. ^_^

--
Unforgiven

"Most people make generalisations"
Freek de Jonge

Jul 22 '05 #5
Tim Clacy wrote:
Unforgiven wrote:
Tim Clacy wrote:
I was advised in a recent thread that, because one of the compilers
that I use does not support 'namespace', I should not use this group
but ask elsewhere; perhaps comp.lang.c++.but_without_namespace'?
What's the general consensus?


We talk about everything that is mentioned in the C++ standard,


THE C++ standard? My understanding is that even VC 7.0 and gcc aren't
compliant in all respects. Are you suggesting that this group is
purely for abstract, theoretical language issues and not practical
issues with actual language implementations?


VC7.1 comes pretty close in terms of standards-compliance (although it has
quite a few non-standard extensions), so does Comeau. But you are basically
right with your statements. We do not discuss any specific implementation,
but C++ 'as it should be'. So if you have issues that are specific to a
certain compiler, and not to C++ as a language, this isn't the place for
them. The only exception of course is when you have a question of the sort
'This doesn't compile in my compiler, should it according to the standard or
am I doing something wrong?'

--
Unforgiven

"Most people make generalisations"
Freek de Jonge

Jul 22 '05 #6
Tim Clacy writes:
We talk about everything that is mentioned in the C++ standard,
THE C++ standard? My understanding is that even VC 7.0 and gcc aren't
compliant in all respects. Are you suggesting that this group is purely

for abstract, theoretical language issues and not practical issues with actual
language implementations?


As I see it, discussion is limited to the latest best effort of the major
compilers, rather than to the standard. The major out standing issue is
templated code and how object files magically appear. But there may be some
wiggle room specifically included in the standard on that issue. Whether
there is official wiggle room or not, there is a Gentlemen's Agreement that
some things are OK and some are not. After immersion in the culture for a
while, you will kind of absorb, by osmosis or something, what the rules
really are.

I looked at your other post you refer to. The battle you are fighting is
that all old compilers were supposed to have been put in a bonfire and
burned when the standard was approved. You appear to have one that escaped
destruction. Think smallpox.
Jul 22 '05 #7
Unforgiven wrote:
Tim Clacy wrote:
Unforgivable wrote:
If your compiler does not support namespaces advice about how
to circumvent that falls out of the domain of Standard C++ and
into the domain of compiler-specific issues


I've lost count of the number of times I've read advice to avoid
'namespace', and yet here you are suggesting that to ask a question
here related to a workaround for a compiler that doesn't support
namespace is inappropriate; effectively, you are saying 'don't use
namespace', but if you need to use 'namespace' and you're compiler
doesn't support it, then ask elsewhere :-)


I have never said 'don't use namespace'. I'd also say that if you
*need* to use namespace and your compiler doesn't support it, you
need a different compiler. ^_^


I don't know where you're from, but you should come visit Earth some time;
it's an awful place where, sometimes, you have no choice but to work with
tools that are flawed. I very much like the sound of your world though; how
do you get there? Do you do any commercial development there or is it purely
academic?
Jul 22 '05 #8
Unforgiven wrote:
Tim Clacy wrote:
Unforgiven wrote:
Tim Clacy wrote:
I was advised in a recent thread that, because one of the compilers
that I use does not support 'namespace', I should not use this
group but ask elsewhere; perhaps
comp.lang.c++.but_without_namespace'?
What's the general consensus?

We talk about everything that is mentioned in the C++ standard,


THE C++ standard? My understanding is that even VC 7.0 and gcc aren't
compliant in all respects. Are you suggesting that this group is
purely for abstract, theoretical language issues and not practical
issues with actual language implementations?


VC7.1 comes pretty close in terms of standards-compliance (although
it has quite a few non-standard extensions), so does Comeau. But you
are basically right with your statements. We do not discuss any
specific implementation, but C++ 'as it should be'. So if you have
issues that are specific to a certain compiler, and not to C++ as a
language, this isn't the place for them. The only exception of course
is when you have a question of the sort 'This doesn't compile in my
compiler, should it according to the standard or am I doing something
wrong?'


VC7.1 is so new the ink is still wet on the boxes. If you want to limit
discussion here to those using compilers that are 100% bang-up to date with
the latest language hacks, I think you'll be talking to yourself; which,
perhaps, is what you would prefer?
Jul 22 '05 #9
osmium wrote:
Tim Clacy writes:
We talk about everything that is mentioned in the C++ standard,


THE C++ standard? My understanding is that even VC 7.0 and gcc aren't
compliant in all respects. Are you suggesting that this group is
purely for abstract, theoretical language issues and not practical
issues with actual language implementations?


As I see it, discussion is limited to the latest best effort of the
major compilers, rather than to the standard. The major out standing
issue is templated code and how object files magically appear. But
there may be some wiggle room specifically included in the standard
on that issue. Whether there is official wiggle room or not, there
is a Gentlemen's Agreement that some things are OK and some are not.
After immersion in the culture for a while, you will kind of absorb,
by osmosis or something, what the rules really are.

I looked at your other post you refer to. The battle you are
fighting is that all old compilers were supposed to have been put in
a bonfire and burned when the standard was approved. You appear to
have one that escaped destruction. Think smallpox.


osmium,

I don't think I'm the only one in the battle; there are millions of us.
Forums like this are our refuge; it bites hard if we're not let in because
the generals don't supply us with regulation shoe-laces :-)
Jul 22 '05 #10
"Tim Clacy" <no*******@nospamphaseone.nospamdk> wrote in message
news:3f*********************@news.dk.uu.net...
osmium wrote:
Tim Clacy writes:
We talk about everything that is mentioned in the C++ standard,

THE C++ standard? My understanding is that even VC 7.0 and gcc aren't
compliant in all respects. Are you suggesting that this group is
purely for abstract, theoretical language issues and not practical
issues with actual language implementations?


As I see it, discussion is limited to the latest best effort of the
major compilers, rather than to the standard. The major out standing
issue is templated code and how object files magically appear. But
there may be some wiggle room specifically included in the standard
on that issue. Whether there is official wiggle room or not, there
is a Gentlemen's Agreement that some things are OK and some are not.
After immersion in the culture for a while, you will kind of absorb,
by osmosis or something, what the rules really are.

I looked at your other post you refer to. The battle you are
fighting is that all old compilers were supposed to have been put in
a bonfire and burned when the standard was approved. You appear to
have one that escaped destruction. Think smallpox.


osmium,

I don't think I'm the only one in the battle; there are millions of us.
Forums like this are our refuge; it bites hard if we're not let in because
the generals don't supply us with regulation shoe-laces :-)


The thing is, if you are looking for ways to deal with the idiosyncracies
of a particular compiler, you are better off asking people who *are*
using that compiler (in a newsgroup devoted to it) than asking people
who *may be* using that compiler (in some other place).

Given the fact that a lot of people new to the language make use of
this group, it is important to constantly draw the line as to where the
language leaves off and the file systems/gui libraries/compiler directives
etc. etc. begin.

Tom
Jul 22 '05 #11
Tim Clacy wrote:
I don't know where you're from, but you should come visit Earth some
time; it's an awful place where, sometimes, you have no choice but to
work with tools that are flawed. I very much like the sound of your
world though; how do you get there? Do you do any commercial
development there or is it purely academic?


Yes I do commercial development, and I am quite aware of limitations that
can be in place due to corporate policy. However, I think you missed my
joke. I said that if you *need* namespaces you'd need a new compiler. If you
can work around the issue with your current compiler, you don't really need
them, hence my statement.

--
Unforgiven

Jul 22 '05 #12

"Tim Clacy" <no*******@nospamphaseone.nospamdk> wrote in message
news:3f*********************@news.dk.uu.net...
I was advised in a recent thread that, because one of the compilers that I
use does not support 'namespace', I should not use this group but ask
elsewhere; perhaps comp.lang.c++.but_without_namespace'? What's the general consensus?


Of course you should ask here. There are some "standards police" who don't
understand that C++ is a language implemented by compilers. Ther is no such
thing as a perfect compiler. Also, that we do not just discuss C++ as it
exists in the standard today, but C++ as it has existed over the years.
Jul 22 '05 #13

"Tim Clacy" <no*******@nospamphaseone.nospamdk> wrote in message
news:3f*********************@news.dk.uu.net...

THE C++ standard? My understanding is that even VC 7.0 and gcc aren't
compliant in all respects. Are you suggesting that this group is purely for abstract, theoretical language issues and not practical issues with actual
language implementations?


Yes, that's what he's suggesting. He's wrong though.
Jul 22 '05 #14

"Thomas Wintschel" <th******@telus.net> wrote in message
news:V%1Db.7993$OJ.4485@edtnps84...

Given the fact that a lot of people new to the language make use of
this group, it is important to constantly draw the line as to where the
language leaves off and the file systems/gui libraries/compiler directives
etc. etc. begin.


As long as the "new people" understand it's not standard, and that the
solution is a C++ solution, there shouldn't be a problem.
Jul 22 '05 #15

"Tim Clacy" <no*******@nospamphaseone.nospamdk> wrote in message
news:3f*********************@news.dk.uu.net...
I very much like the sound of your world though; how
do you get there?
You're here.
Do you do any commercial development there or is it purely academic?


Rhetorical question, right?
Jul 22 '05 #16
On Sun, 14 Dec 2003 15:33:16 +0100, "Tim Clacy"
<no*******@nospamphaseone.nospamdk> wrote:
Unforgiven wrote:
Tim Clacy wrote:
I was advised in a recent thread that, because one of the compilers
that I use does not support 'namespace', I should not use this group
but ask elsewhere; perhaps comp.lang.c++.but_without_namespace'?
What's the general consensus?


We talk about everything that is mentioned in the C++ standard,


THE C++ standard? My understanding is that even VC 7.0 and gcc aren't
compliant in all respects. Are you suggesting that this group is purely for
abstract, theoretical language issues and not practical issues with actual
language implementations?


Maybe 90% of the code for most programs can be written to be entirely
standards compliant (and even portable) as long as you have a
reasonably recent compiler (even MSVC6!). For the other 10% of code,
including platform libraries and APIs, compiler workarounds, etc.,
etc., it makes sense to direct your question to an appropriate group
handling that compiler. Some compilers don't have active usenet
groups, but there are usually mailing lists (for, say, gcc) or tech
support people.

If you want a standard compliant workaround to avoid a particular
standard feature that your compiler doesn't support, I'd certainly
have no problem answering such a question here, so long as the
workarounds aren't too labourious. Others may choose to differ (and
even flame such questions), and that's their privilege.

Tom

C++ FAQ: http://www.parashift.com/c++-faq-lite/
C FAQ: http://www.eskimo.com/~scs/C-faq/top.html
Jul 22 '05 #17
In article <3f*********************@news.dk.uu.net>,
no*******@nospamphaseone.nospamdk says...

[ ... ]
VC7.1 is so new the ink is still wet on the boxes.
VC++ 7.1 was officially released in February, and IIRC, MSDN subscribers
could download it around a month before that. IOW, it's a couple of
weeks short of a year old.
If you want to limit
discussion here to those using compilers that are 100% bang-up to date with
the latest language hacks, I think you'll be talking to yourself; which,
perhaps, is what you would prefer?


Comeau C++ has been even closer to conforming since quite a while before
VC++ 7.1 came out. Furthermore, it's dirt cheap and easily available
for nearly every platform around (and I believe he'll do custom ports to
other platforms as well).

To make a long story short, compilers that are at least awfully close to
conforming have been widely available for quite a while now. I'm not
saying every discussion has to use every obscure feature to be
interesting, but I also don't think compiler availability is a very good
reason to limit discussions either.

--
Later,
Jerry.

The universe is a figment of its own imagination.
Jul 22 '05 #18

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

Similar topics

3
by: Anoop | last post by:
Hi guys i have a piece of code main() { switch(...) { case 1: {
6
by: pembed2003 | last post by:
Hi all, I am reading the book "C++ How to Program" and in the chapter where it discuss scope rule, it says there are four scopes for a variable: function scope file scope block scope...
7
by: Kobu | last post by:
The code below isn't compiling for me (error message: conflicting types for 'total' - pointing to the extern declaration). Why wouldn't this work, since the types are different, the extern...
1
by: Maziar Aflatoun | last post by:
Hi everyone, I'm having a problem with reading user groups on Active Directory using C#. It returns all the groups in the Universal scope for a specific user. However, I only need the groups in...
8
by: Sai Kit Tong | last post by:
In the article, the description for "Modiy DLL That Contains Consumers That Use Managed Code and DLL Exports or Managed Entry Points" suggests the creation of the class ManagedWrapper. If I...
3
by: Jon Booth | last post by:
I have just started programming .NET having come from ASP. We used to create a connection and store it in a session.This meant for each user logging into the site there was only one connection ...
2
by: ravir | last post by:
Hi, I am new to this group. I am working in Perl and shellscripts. I have a clarification regarding perl grep and pattern matching. I am writing a perl script to automate the process of code...
3
by: =?Utf-8?B?TWFyaw==?= | last post by:
Hi... At least by the group title, this seems like a question for dotnet.framework.aspnet.caching but that group seems pretty slow. I'm trying to sort things out with a co-worker. We've got...
13
by: mdh | last post by:
FAQ 1.7 shows that, amongst other things, int i = 0; is a definition. Page 128 of K&R say: "A struct declaration defines a type. The right brace that terminates the list of members may...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.