C++ Logo

sg15

Advanced search

Re: [Tooling] [D1483] How CMake supports Fortran modules and its applicability to C++

From: Gabriel Dos Reis <gdr_at_[hidden]>
Date: Fri, 8 Feb 2019 16:51:01 +0000
Early feedback regarding section 6.3 and 6.4.

Concern in 6.3:
The description there is notional, not a requirement that needs to be followed by the letter by compilers.
There is an alternative formulation that uses the notion or "semantics abstract graph" (term defined in the Modules TS) that does not rely on synthesized header unit.

Concern in 6.4:
The way to import of "header import" is that of using a precompiled header file. If CMAKE already supports uses of PCHs, then the machinery is already there.
For every import of a header H, there would be a rule for building say H.pch unless there is already a H.pch supplied by the system or other sources.


Early feedback on section 7.
That ask in 7.1 looks immensely reasonable to me; we have been considering similar for a while.
The Visual C++ team would be happy to team up with other tool vendor to provide an open source version.

-- Gaby

| -----Original Message-----
| From: tooling-bounces_at_[hidden] <tooling-bounces_at_[hidden]> On
| Behalf Of Ben Boeckel
| Sent: Friday, February 8, 2019 7:55 AM
| To: WG21 Tooling Study Group SG15 <tooling_at_[hidden]>
| Subject: [Tooling] [D1483] How CMake supports Fortran modules and its
| applicability to C++
|
| Hi,
|
| Here is copy of Kitware's paper to be discussed at Kona. I have a PDF,
| but it was too large to attach to the list. I'll be at Kona, but the
| other authors are not able to make it.
|
| An HTML version is hosted here:
|
|
| https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmath
| stuf.fedorapeople.org%2Ffortran-modules%2Ffortran-
| modules.html&amp;data=02%7C01%7Cgdr%40microsoft.com%7Cd49f0fb63
| aac4ce886ff08d68dddd8b0%7C72f988bf86f141af91ab2d7cd011db47%7C1%7
| C1%7C636852381303060160&amp;sdata=ltkTtPf84tUk76Am5swiz6eNBGqZW
| ydRfDoswsYEmlA%3D&amp;reserved=0
|
| Feedback welcome.
|
| Thanks,
|
| --Ben
| _______________________________________________
| Tooling mailing list
| Tooling_at_[hidden]
| https://nam06.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.
| open-
| std.org%2Fmailman%2Flistinfo%2Ftooling&amp;data=02%7C01%7Cgdr%40m
| icrosoft.com%7Cd49f0fb63aac4ce886ff08d68dddd8b0%7C72f988bf86f141af9
| 1ab2d7cd011db47%7C1%7C1%7C636852381303060160&amp;sdata=YLene6t
| qdjuV7ad%2BAHf5kceett%2F1Whqj7Db0zka470g%3D&amp;reserved=0

Received on 2019-02-08 17:51:06