C++ Logo

sg15

Advanced search

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

From: Peter Dimov <pdimov_at_[hidden]>
Date: Mon, 25 Apr 2022 16:06:03 +0300
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 13:06:08