Discussion Board

Results 1 to 2 of 2
  1. #1
    Regular Contributor krix's Avatar
    Join Date
    Nov 2006
    Posts
    63
    When compiling project from the command line I call these two commands:
    Code:
    call bldmake bldfiles
    call abld build gcce udeb
    What to do if I want to turn off warnings, b/c the output is not very easy to read?
    Krzysztof Kucharewicz

  2. #2
    Nokia Developer Moderator wizard_hu_'s Avatar
    Join Date
    Feb 2006
    Location
    Mallorca, Holiday
    Posts
    27,683
    Warnings are not generated just for fun, they should better be fixed (for example it is not impossible adding an empty line at the end of header files where Nokia guys have failed doing so).
    Anyway, you certainly know where the compiler is, thus you can visit epoc32\gcc\bin folder, type cpp --help, and it will turn out that -w switch disables warning messages.
    Checking the related makefile (gcce.make in epoc32\build\...) shows where the config file is
    Quote Originally Posted by gcce.make
    #This is tool chain config file
    include \Symbian\9.1\S60_3rd_MR\epoc32\tools\compilation_config\\GCCE.mk
    and there you can find a section controlling the warning/error outputs
    Quote Originally Posted by gcce.mk
    #-----------------------------------------------------------
    # Options controlling generation of Compiler Warnings/Errors
    #-----------------------------------------------------------
    so you can - for example - comment the old CC_WARNINGS_CONTROL_OPTION line, and create a new one containing a simple -w

Similar Threads

  1. Replies: 13
    Last Post: 2008-01-04, 11:15
  2. carbide.vs: Bug in invocation of mwccsym2.exe?
    By timosteuerwald in forum Symbian Tools & SDKs
    Replies: 5
    Last Post: 2006-12-05, 15:14
  3. Latest Carbide.vs and problems with ARMI build
    By mhakkara in forum Symbian Tools & SDKs
    Replies: 5
    Last Post: 2006-04-05, 10:17
  4. Build problem
    By kirangullapalli in forum Symbian C++
    Replies: 1
    Last Post: 2004-10-19, 11:07
  5. armi build not working
    By lemody in forum Symbian C++
    Replies: 0
    Last Post: 2003-06-14, 15:04

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved