Results 1 to 7 of 7

Thread: Project.war (war = warnings)

  1. #1
    Join Date
    Feb 2009
    Posts
    862

    Lightbulb Project.war (war = warnings)

    Hello,

    When you compile with errors you get a project.err at the same location that project.prn.

    I think it would be a great idea have the same tecnique for warnings. In small projects I can copy & paste to the clipboard the content of the output window, but, in large projects, it is so big that it gets truncated.

    I know that the warnings are in project.prn, but the good thing of the output window is the section "compiler warning summary" wich the prn doesn't have.

    Regards.
    We are always in a continuous learning mode, and the more we know, the more we realise that we don't know anything.

  2. #2
    Join Date
    Feb 2009
    Location
    Queens, NY, NY
    Posts
    7,429

    Default Re: Project.war (war = warnings)

    Use the Filter function in notepad++ to filter the .prn to generate your own summary?

    /MM
    Michael Mullan.
    Danes Bridge Enterprises.

    ++++++++++++++++++++++++++++
    There is just today. Tomorrow is a concept
    that is mostly theoretical. -- GM Wylie
    ++++++++++++++++++++++++++++

  3. #3
    Join Date
    Nov 2008
    Location
    Round Rock, TX
    Posts
    8,850

    Default Re: Project.war (war = warnings)

    +1 Michael!

  4. #4
    Join Date
    Feb 2009
    Posts
    862

    Default Re: Project.war (war = warnings)

    Hello Michael,

    Not sure what do you mean with "Filter function".

    Do you mean write a regexp and do a search & replace to delete all lines that doesn't start with "WARNING:"?

    Regards.
    We are always in a continuous learning mode, and the more we know, the more we realise that we don't know anything.

  5. #5
    Join Date
    Feb 2009
    Location
    Queens, NY, NY
    Posts
    7,429

    Default Re: Project.war (war = warnings)

    well you can do in notepad++

    Edit--> Line Operations --> Sort lines lexicographically Ascending

    then scroll down to the very bottom (Ctrl-End, Home) to the warnings,

    WARNING: 4534 Obsolete Global Function Obsolete use of ToOEM, use
    WARNING: 4534 Obsolete Global Function Obsolete use of ToOEM, use
    WARNING: 4534 Obsolete Global Function Obsolete use of ToOEM, use
    WARNING: 4534 Obsolete Global Function Obsolete use of ToOEM, use
    WARNING: 4543 Redefining function return type for GET_COMCATEGORY
    WARNING: 4543 Redefining function return type for GET_COMMAXSIZE
    WARNING: 4543 Redefining function return type for GET_COMSIZE wit
    WARNING: 4543 Redefining function return type for GET_COMTRANSPAR
    WARNING: 4543 Redefining function return type for GET_COMTRANSPAR
    WARNING: 4543 Redefining function return type for GET_COMTRANSPAR
    WARNING: 4543 Redefining function return type for GET_COMTRANSPAR
    WARNING: 4543 Redefining function return type for GET_COMTRANSPAR
    WARNING: 4543 Redefining function return type for GET_COMTRANSPAR
    WARNING: 4543 Redefining function return type for GET_COMTRANSPAR
    WARNING: 4543 Redefining function return type for GET_COMTRANSPAR
    WARNING: 4543 Redefining function return type for GET_COMTRANSPAR
    WARNING: 4543 Redefining function return type for GET_COMTRANSPAR
    WARNING: 4543 Redefining function return type for GET_HITTEST wit
    WARNING: 4544 Function GET_PSITEM with ambiguous return type used


    OR

    Search for WARNING:
    click the FIND ALL button.
    See the Search Results.

    In the second trick, you can still double click on the line and jump to that part of the PRN, in the first trick, you've trashed the PRN.
    Michael Mullan.
    Danes Bridge Enterprises.

    ++++++++++++++++++++++++++++
    There is just today. Tomorrow is a concept
    that is mostly theoretical. -- GM Wylie
    ++++++++++++++++++++++++++++

  6. #6
    Join Date
    Feb 2009
    Posts
    862

    Default Re: Project.war (war = warnings)

    Hello Michael,

    Thanks for the tip, it suites my needs. In my case I have go for the first trick.

    Regards.
    We are always in a continuous learning mode, and the more we know, the more we realise that we don't know anything.

  7. #7
    Join Date
    Feb 2009
    Location
    Somewhere in Vermont, USA - unless I'm not
    Posts
    11,085

    Default Re: Project.war (war = warnings)

    Another option is to throw together a little DF program that loops through the prn & writes out just the warning lines to another file. I use something similar to this to create DEF files that can be compared (date, # of records etc. removed - code is somewhere here on the forum) and that little program will run through 100+ DEF files in a few seconds.
    Garret

    Time for an oldie but goodie:

    "If it ain't broke, you're not trying." - Red Green

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •