Deutsch English Français Italiano |
<vjfe4t$2tb6r$1@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!weretis.net!feeder9.news.weretis.net!news.quux.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: James Kuyper <jameskuyper@alumni.caltech.edu> Newsgroups: comp.lang.c Subject: Re: question about linker Date: Thu, 12 Dec 2024 14:39:09 -0500 Organization: A noiseless patient Spider Lines: 30 Message-ID: <vjfe4t$2tb6r$1@dont-email.me> References: <vi54e9$3ie0o$1@dont-email.me> <vik28b$390eg$1@dont-email.me> <vik8tc$3ang9$1@dont-email.me> <vikjff$3dgvc$1@dont-email.me> <viku00$3gamg$1@dont-email.me> <vil0qc$3fqqa$3@dont-email.me> <vil82t$3ie9o$2@dont-email.me> <vila9j$3j4dg$1@dont-email.me> <vin4su$49a6$1@dont-email.me> <vin95m$5da6$1@dont-email.me> <vinh3h$7ppb$1@dont-email.me> <vinjf8$8jur$1@dont-email.me> <vip5rf$p44n$1@dont-email.me> <viprao$umjj$1@dont-email.me> <viqfk9$13esp$1@dont-email.me> <vjaplo$17cob$1@dont-email.me> <GY56P.6170$YoTc.5109@fx39.iad> <vjdpct$1viqk$1@dont-email.me> <vjdr36$201k4$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Injection-Date: Thu, 12 Dec 2024 20:39:10 +0100 (CET) Injection-Info: dont-email.me; posting-host="de3dbcba55af471c7945b300d57fe3b1"; logging-data="3058907"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+X0XLh3/h+j/q1Jxoy8PQYLaimlUNPQ/Q=" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:LYJ9danwyEKyJ4bkTl/GjJvBv8I= Content-Language: en-US In-Reply-To: <vjdr36$201k4$1@dont-email.me> Bytes: 3045 On 12/12/24 00:07, Janis Papanagnou wrote: > On 12.12.2024 05:38, James Kuyper wrote: >> On 12/10/24 20:32, Scott Lurndal wrote: >>> [...] >> >> You're confusing name spaces and namespaces. > > It became quite obvious that you both were talking at cross purposes. > > Personally I'd colloquially take both those terms as the same thing, > but I'm not a native speaker. They are not. The C standard does not define the term "name space", relying instead upon the general CS definition of the term. However, it has a whole section (6.2.3) devoted to listing and explaining the name spaces that are relevant to the C language. In C++, "namespace" is a both a keyword (listed in 5.11p3) and a piece of terminology (defined in 9.8p1) for the feature enabled by that keyword. It is clear from those descriptions that a C++ namespace is significantly different thing from a C name space. Unlike the C standard, the C++ standard doesn't even bother explaining name spaces. It makes only two uses of that term on it's own behalf, in connection with statement labels and macro names - neither usage has any plausible connection with a namespace. There are several occurrences of "name space" in the section describing the differences between C and C++, which make it clear that both standards are using the same meaning for "name space", but that the two languages have a different number of name spaces, with different contents.