RE: Golf Course Superintendents List

2018-09-25 Thread jillian.wyatt
Hi,

 

I wanted to check if you had a chance to go through the email which I sent
across?

 

Please let me know if you are interested or have any questions, so that I
will provide you more information on counts, pricing along with a sample
file for you to review.

 

I look forward to hear from you.

 

Regards,

Jillian Wyatt

 


Subject: Golf Course Superintendents List

 

Hi,

 

I would like to check your interest in acquiring our recently verified
Contact List of Dealers, Retailers, Distributers, and Contractors for your
Business initiatives? 

 

Contact List from Following Industries:

 

* Construction Industries,

* Resource Industries

* Energy & Transportation

* Lawn & Garden Centers

* Golf Course Superintendents

* Industry Media

* Power Sports Retailers

 

Data Fields includes: Contact name, Company name, Designation, Website,
Industry, Email address, Direct mail address, Telephone number, Revenue
Size, Employee Size, etc.

 

Please provide me the below information required and I'll get back to you
with more information.

 

Target Industry: __ (Any)

Target Job Title: _ (ex: CEO, VP, Any Decision Makers)

Target Geography: _ (Worldwide)

 

Regards,

Jillian Wyatt

Data Analyst

 

To opt out, please reply with unsubscribe in the Subject Line.

 



Re: Pretty print of C++11 scoped enums - request help towards a proper fix

2018-09-25 Thread will wray
BTW The bug is still UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87364

It is easy to CONFIRM:

Follow this Compiler Explorer link https://godbolt.org/z/P4ejiy
or paste this code into a file and compile with g++:

template  struct wauto;
enum e { a };
wauto v;// error


Note that GCC reports  error: ... 'wauto v'
 => It should report   error: ... 'wauto v'

This is a bug; the intent of the code is print the enumerator id
(clang prints the enumerator id and so do recent MSVC previews).
There is also test code linked to the bug covering more cases.

I'd appreciate if someone would confirm the bug.

Thanks, Will

On Mon, Sep 24, 2018 at 5:23 PM will wray  wrote:

> Thanks Nathan,
>
>
> In fact, after testing with enums nested in namespaces or structs,
>
> or function local, I realised nested specifiers should be printed
>
> for both scoped and unscoped enums, but for unscoped enums one
>
> level of nested specifier (the enum type) needs to be stripped.
>
> So I inverted the IS_SCOPED test and used get_containing_scope:
>
>
> if (value != NULL_TREE)
> {
>
> if (!ENUM_IS_SCOPED (type))
>
> type = get_containing_scope (type);
>
> pp_cxx_nested_name_specifier (pp, type);
>
> pp->id_expression (TREE_PURPOSE (value));
>
> }
>
>
> I submitted this fix as a patch to the bug report, with tests.
>
> With this fix GCC now has similar output to both Clang and MSVC
> for enumerated values. For non-enumerated values GCC continues
> to print a C-style cast while Clang & MSVC print plain digits.
> Yay! GCC is winning! (gives type info for non-enumerated values).
>
> A downside of nested specifiers is that output gets verbose.
>
> Richard Smith suggests to use less verbose output for known types
> compared to auto deduced types. Discussion starts here
> http://lists.llvm.org/pipermail/cfe-dev/2018-September/059229.html
>
> For enum args, I guess that this would mean distinguishing whether
> the corresponding template parameter was auto or a given enum type
> and only printing a simple id with no nested specs for given type.
> I don't know yet if that info is available at the leaf level here.
>
> Similarly, type info should be added to deduced Integral values.
> I may start to investigate how to do this in GCC pretty print.
> I submitted the related request to MSVC devs:
>
> https://developercommunity.visualstudio.com/content/problem/339663/improve-pretty-print-of-integral-non-type-template.html
>
> > given the code base ...
>
> GCC pretty-print code was committed by GDR mid 2002,
> K&R style C, updated to C90 'prototype' in mid 2003,
> untouched since then, not for C++11 or C++17 enum updates.
>
> I found this corner of the code base fairly easy to hack,
> thanks perhaps to GDRs attempts to follow the grammar.
>
>
> On Mon, Sep 24, 2018 at 3:53 PM Nathan Sidwell  wrote:
>
>> On 9/19/18 7:41 AM, will wray wrote:
>> > Re: "Pretty print of enumerator never prints the id,
>> >   always falls back to C-style cast output"
>> > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87364
>> >
>>
>> > I have a fix which duplicates the code in pp_c_enumeration_constant
>> > to pp_cxx_enumeration_constant in cxx-pretty print, with modification
>> >
>> >if (value != NULL_TREE)
>> >{
>> >  if (ENUM_IS_SCOPED (type))
>> >pp_cxx_nested_name_specifier (pp, type);
>> >  pp->id_expression (TREE_PURPOSE (value));
>> >}
>> >
>> > This works in my testing so far, but
>> >   - It duplicates code from c to cxx (not DRY 'Don't Repeat Yourself)
>> >   - I didn't find a single function to print full nested, scoped id
>> > so had to check if ENUM_IS_SCOPED to output nested specifiers.
>>
>> This seems a fine approach, given the code base.
>>
>> nathan
>>
>> --
>> Nathan Sidwell
>>
>


CXX Status update

2018-09-25 Thread Sheel Patel
Should the page at https://www.gnu.org/software/gcc/projects/cxx-status.html,
specifically the Technical Specifications section be updated to include the
relevant tag for enabling the experimental support for modules, as is done
for concepts / transactional memory?