C++ Logo

sg15

Advanced search

Re: [isocpp-ext] Can we expect that all C++ source files can have the same suffix?

From: Gabriel Dos Reis <gdr_at_[hidden]>
Date: Mon, 25 Apr 2022 16:22:15 +0000
[Peter]
> All that's also true without modules, but we still make it possible for
>
> c++ hello.cc
>
> to produce a working hello world executable without the user explicitly
> providing a bunch of -I, -L, -l options, or having to build the standard
> library first.

Show me the content of hello.cc and we see if this audience agrees on the requirements.

-- Gaby

-----Original Message-----
From: Peter Dimov <pdimov_at_[hidden]>
Sent: Monday, April 25, 2022 6:06 AM
To: Gabriel Dos Reis <gdr_at_microsoft.com>; sg15_at_lists.isocpp.org; 'Daniel Ruoso' <daniel_at_ruoso.com>
Cc: 'Nathan Sidwell' <nathan_at_[hidden]>; 'Tom Honermann' <tom_at_honermann.net>; ext_at_lists.isocpp.org
Subject: RE: [SG15] [isocpp-ext] Can we expect that all C++ source files can have the same suffix?

Gabriel Dos Reis wrote:
> While it is useful for people to have the instant gratification of sand castle
> building and testing some ideas in the small, building skyscrapers demand
> different set of tools and skills. The tools we use to build sand castles aren't
> the same we deploy for skyscrapers.
> "using modules" must mean something more than just saying '$CC
> $CXX20OPTION SOURCEFILE.cc'. It is for programming in the large, which in
> reality demands using build tools.

All that's also true without modules, but we still make it possible for

  c++ hello.cc

to produce a working hello world executable without the user explicitly
providing a bunch of -I, -L, -l options, or having to build the standard
library first.


Received on 2022-04-25 16:22:19