-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CDT Man Pages #121
Comments
From 3/28/23 Stand-up meeting:
|
The list of applications to document:
|
@larryk85 Questions about options of cdt-cpp: As I understand these options are obsolete and not supported or deprecated now:
How is better to describe them to don't confuse the users? Do I understand correctly that the following options do the same as these options in gcc?
Would it be OK to describe them with reference to GCC documentation like https://gcc.gnu.org/onlinedocs/cpp/Invocation.html ? Does
work rather as Do I understand correctly that Do I understand correctly that:
and
do the same and I can describe them as duplicates? What means options with such descriptions:
Does it make sense to describe them as disabled options which will be removed? IMHO it would be nice to describe default values and ranges of possible values for the following options:
I compared man pages of gcc and clang and found that description of the same options for gcc is much more user friendly than for clang. For example:
Does it make sense to follow example of gcc man page and make the descriptions more user friendly? |
We can ignore any 'fquery' stuff as it will be removed in the next version. |
That would be fine. |
I'm not sure what you mean, these all display different options and presentations of options. |
For these you can simply state that they are there for compatibility with CMake and other build tools. |
I would be more inclined to have the more user friendly yes. |
Need to clarify how exactly option -D works. It is described as
I don't understand how to declare a macro and a value from this description. In GCC it is described as:
I tried define a name and print it:
with empty result But GCC with the same command line works well
|
I'd be glad to know what does option |
@larryk85 After my learning about how CDT tools work and a long discussion with @dimas1185 I believe that the plan of man pages writing should be corrected. Here are my thoughts and proposal: At the beginning I had a plan to take excellent documentation from GCC tools, correct it corresponding to CDT specific and use it as a base for the CDT man pages. Most of the options of CDT tools have the same names as options of GCC. I assumed that they have the same behavior. But after I checked how some options of cdt-cpp actually work and consultation with @dimas1185 about internals of CDT tools I understood that behavior of options with the same names in CDT and GCC may be very different, some options don't work, may have bugs and unexpected behavior, some options were developed years ago and the best way to understand how they work is learning of their source code. After I got this information I realized that my task goes far beyond simply adapting GCC documentation to CDT specifics.
|
cdt-cpp.1.md |
Let's get this one merged first. And then make a new follow on issue to "fix" the man pages and to also get devrel input on it. |
CDT is missing a manpage.
Suggestion:
The text was updated successfully, but these errors were encountered: