5

What is the equivalent of `cpp -dD` for clang?

 2 years ago
source link: https://www.codesd.com/item/what-is-the-equivalent-of-cpp-dd-for-clang.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

What is the equivalent of `cpp -dD` for clang?

advertisements

If I want to find out what implicit preprocessor defines gcc gives me, I can type echo "" | cpp -dD. Does anyone know what the equivalent for clang is?


clang -dM -E - < /dev/null

will list all the preprocessor definitions for clang.

Related Articles

What is the equivalent of -webkit-gradient for Opera Browser?

I would like to know what is the equivalent of -webkit-gradient for Opera browser background: -webkit-gradient(linear, left top, left bottom, color-stop(2%,#e5153b), color-stop(8%,#d91438), color-stop(100%,#87001e)); Solution for Opera Presto (my cas

What is the equivalent value of getCheckedItemCount () for the API level & lt; 11?

I am using this method to check how many items on a list a checked and I get this error that this method is not available for any SDK older than 11. What is the equivalent this in API level 8getCheckedItemIds().length seems to do the trick

What is the equivalent Struts 2 tag for the next Struts 1 tag?

I'm migrating from Struts 1 to Struts 2. I don't know what is the equivalent Struts2 tag for the following struts1 tag <logic:equal value="1234" name="custDetail" property="ackMsg"> <% String str = valid %> </l

What is the equivalent of `data [] = $ var` for an object?

I'm looping through a mysql query and storing the values to an object. I want to automatically iterate the object like one would an array as I store the data to it. Here is what I'm doing: $i = 0; foreach( $query->result() as $row ) { $data->$i = $r

What are the equivalent C # data types for SQL Server datetime and datetimeoffset?

What are the most suitable equivalent C# data types for the date datatypes in SQL Server? I'm specifically looking for date time datetimeoffsetHere are the equivalent CLR data types for date, time and datetimeoffset SQL Server data types: date - Date

What is the equivalent of cut / qcut for pandas date fields?

Pandas cut and qcut functions are great for 'bucketing' continuous data for use in pivot tables and so forth, but I can't see an easy way to get datetime axes in the mix. Frustrating since pandas is so great at all the time-related stuff! Here's a si

What is the equivalent of Firebird SQL 'for do' and 'select into' for postgresql

In a Firebird SQL stored procedure I use a 'select into' in a 'for do' loop and I don't find the equivalent for pg function. for select purchase.quantity, purchase.purchasevalue, purchase.purchased, purchase.id from purchase join cellarbook cb on pur

What are the equivalent cross-browser solutions for window.showModalDialog?

Whar are equivalent cross-browser solutions for window.showModalDialog? showModalDialog introduced in IE and FF 3.Natively I think there are none. But there are lots of UI toolkits that provides such functionality, such as jQuery-UI, the dojo toolkit

What is the equivalent of C ++ 17 for boost :: filesystem :: unique_path ()?

std::filesystem on C++17, and std::experimental::filesystem for many pre-C++17 compilers, are based on boost::filesystem and almost all of it is obvious to port to the newer std. But I see no std::filesystem equivalent to boost::filesystem::unique_pa

What is the equivalent of a deposit for writing tasks in doctrine?

As the API of Doctrine says: An EntityRepository serves as a repository for entities with generic as well as business specific methods for retrieving entities. This class is designed for inheritance and users can subclass this class to write their ow

What is the equivalent type in C for REAL (KIND = real_normal) in Fortran?

I have a problem with passing of an array from Fortran to a c function: In the fortran the array is defined as REAL(KIND=real_normal) , DIMENSION(:), ALLOCATABLE :: array call cFunc(array) If define the cFunc as void cFunc(double *data){...} Than the

What is the equivalent of Windows Vista for the Version tab in Properties?

In Windows XP, whenever you right-click to select Properties to a particular DLL, you will be able to access the Version tab. In windows Vista, there is the Details table, which had some, but not all, the usual displayable items in the Version tab. I

What is the equivalent FastLoad (in Teradata) for ParAccel?

I have recently shifted from Teradata to ParAccel and I use my BI DBMS with SAS environment. Teradata has this utility called FastLoad for loading large datasets fast and more efficiently. I often have to make use of this utility to transfer datasets

Css: What is the equivalent of -moz-linear-gradient for chrome

I have css like background: -moz-linear-gradient(center top , #59a1d8, #27247D) repeat scroll 0 0 #0f78c7; for my buttons which is fine for me in mozilla. But in chrome browser it is not working, what is the equivalent of this. Thanks, nehatha backgr

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK